Nika
1afb054e8e
website: update link to unmaintained documentation ( #3909 )
...
rustwasm.github.io/docs/wasm-bindgen -> https://wasm-bindgen.github.io/wasm-bindgen
2025-08-26 22:03:06 +09:00
Siyuan Yan
5f919bd185
bump MSRV to 1.84.0 and use resolver 3 ( #3900 )
2025-08-20 20:25:08 +09:00
Siyuan Yan
b4d083ef8f
concise diagnostics for missing props ( #3873 )
2025-07-09 22:29:57 +09:00
Nashwan Azhari
572f595621
docs: update tutorial placeholder image generator. ( #3830 )
...
Signed-off-by: Nashwan Azhari <aznashwan@icloud.com>
2025-03-25 13:25:23 +09:00
Siyuan Yan
e822833f40
Fix i18n failures ( #3810 )
...
* synced 0.18 i18n docs
2025-02-24 06:38:47 +09:00
dependabot[bot]
7ea787285e
Bump the website-deps group across 1 directory with 15 updates ( #3798 )
...
* Bump the website-deps group across 1 directory with 15 updates
Bumps the website-deps group with 14 updates in the /website directory:
| Package | From | To |
| --- | --- | --- |
| [@docusaurus/core](https://github.com/facebook/docusaurus/tree/HEAD/packages/docusaurus ) | `3.5.2` | `3.7.0` |
| [@docusaurus/plugin-client-redirects](https://github.com/facebook/docusaurus/tree/HEAD/packages/docusaurus-plugin-client-redirects ) | `3.5.2` | `3.7.0` |
| [@docusaurus/preset-classic](https://github.com/facebook/docusaurus/tree/HEAD/packages/docusaurus-preset-classic ) | `3.5.2` | `3.7.0` |
| [@mdx-js/react](https://github.com/mdx-js/mdx/tree/HEAD/packages/react ) | `3.0.1` | `3.1.0` |
| [docusaurus-plugin-sass](https://github.com/rlamana/docusaurus-plugin-sass ) | `0.2.5` | `0.2.6` |
| [react](https://github.com/facebook/react/tree/HEAD/packages/react ) | `18.3.1` | `19.0.0` |
| [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react ) | `18.3.10` | `19.0.8` |
| [react-dom](https://github.com/facebook/react/tree/HEAD/packages/react-dom ) | `18.3.1` | `19.0.0` |
| [sass](https://github.com/sass/dart-sass ) | `1.79.4` | `1.83.4` |
| [@docusaurus/tsconfig](https://github.com/facebook/docusaurus/tree/HEAD/packages/docusaurus-tsconfig ) | `3.5.2` | `3.7.0` |
| [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin ) | `8.8.0` | `8.22.0` |
| [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser ) | `8.8.0` | `8.22.0` |
| [prettier](https://github.com/prettier/prettier ) | `3.3.3` | `3.4.2` |
| [typescript](https://github.com/microsoft/TypeScript ) | `5.6.2` | `5.7.3` |
Updates `@docusaurus/core` from 3.5.2 to 3.7.0
- [Release notes](https://github.com/facebook/docusaurus/releases )
- [Changelog](https://github.com/facebook/docusaurus/blob/main/CHANGELOG.md )
- [Commits](https://github.com/facebook/docusaurus/commits/v3.7.0/packages/docusaurus )
Updates `@docusaurus/plugin-client-redirects` from 3.5.2 to 3.7.0
- [Release notes](https://github.com/facebook/docusaurus/releases )
- [Changelog](https://github.com/facebook/docusaurus/blob/main/CHANGELOG.md )
- [Commits](https://github.com/facebook/docusaurus/commits/v3.7.0/packages/docusaurus-plugin-client-redirects )
Updates `@docusaurus/preset-classic` from 3.5.2 to 3.7.0
- [Release notes](https://github.com/facebook/docusaurus/releases )
- [Changelog](https://github.com/facebook/docusaurus/blob/main/CHANGELOG.md )
- [Commits](https://github.com/facebook/docusaurus/commits/v3.7.0/packages/docusaurus-preset-classic )
Updates `@mdx-js/react` from 3.0.1 to 3.1.0
- [Release notes](https://github.com/mdx-js/mdx/releases )
- [Changelog](https://github.com/mdx-js/mdx/blob/main/changelog.md )
- [Commits](https://github.com/mdx-js/mdx/commits/3.1.0/packages/react )
Updates `docusaurus-plugin-sass` from 0.2.5 to 0.2.6
- [Release notes](https://github.com/rlamana/docusaurus-plugin-sass/releases )
- [Commits](https://github.com/rlamana/docusaurus-plugin-sass/compare/v0.2.5...v0.2.6 )
Updates `react` from 18.3.1 to 19.0.0
- [Release notes](https://github.com/facebook/react/releases )
- [Changelog](https://github.com/facebook/react/blob/main/CHANGELOG.md )
- [Commits](https://github.com/facebook/react/commits/v19.0.0/packages/react )
Updates `@types/react` from 18.3.10 to 19.0.8
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react )
Updates `react-dom` from 18.3.1 to 19.0.0
- [Release notes](https://github.com/facebook/react/releases )
- [Changelog](https://github.com/facebook/react/blob/main/CHANGELOG.md )
- [Commits](https://github.com/facebook/react/commits/v19.0.0/packages/react-dom )
Updates `sass` from 1.79.4 to 1.83.4
- [Release notes](https://github.com/sass/dart-sass/releases )
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md )
- [Commits](https://github.com/sass/dart-sass/compare/1.79.4...1.83.4 )
Updates `@docusaurus/module-type-aliases` from 3.5.2 to 3.7.0
- [Release notes](https://github.com/facebook/docusaurus/releases )
- [Changelog](https://github.com/facebook/docusaurus/blob/main/CHANGELOG.md )
- [Commits](https://github.com/facebook/docusaurus/commits/v3.7.0/packages/docusaurus-module-type-aliases )
Updates `@docusaurus/tsconfig` from 3.5.2 to 3.7.0
- [Release notes](https://github.com/facebook/docusaurus/releases )
- [Changelog](https://github.com/facebook/docusaurus/blob/main/CHANGELOG.md )
- [Commits](https://github.com/facebook/docusaurus/commits/v3.7.0/packages/docusaurus-tsconfig )
Updates `@types/react` from 18.3.10 to 19.0.8
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react )
Updates `@typescript-eslint/eslint-plugin` from 8.8.0 to 8.22.0
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.22.0/packages/eslint-plugin )
Updates `@typescript-eslint/parser` from 8.8.0 to 8.22.0
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.22.0/packages/parser )
Updates `prettier` from 3.3.3 to 3.4.2
- [Release notes](https://github.com/prettier/prettier/releases )
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prettier/prettier/compare/3.3.3...3.4.2 )
Updates `typescript` from 5.6.2 to 5.7.3
- [Release notes](https://github.com/microsoft/TypeScript/releases )
- [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release.yml )
- [Commits](https://github.com/microsoft/TypeScript/compare/v5.6.2...v5.7.3 )
---
updated-dependencies:
- dependency-name: "@docusaurus/core"
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: website-deps
- dependency-name: "@docusaurus/plugin-client-redirects"
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: website-deps
- dependency-name: "@docusaurus/preset-classic"
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: website-deps
- dependency-name: "@mdx-js/react"
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: website-deps
- dependency-name: docusaurus-plugin-sass
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: website-deps
- dependency-name: react
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: website-deps
- dependency-name: "@types/react"
dependency-type: direct:development
update-type: version-update:semver-major
dependency-group: website-deps
- dependency-name: react-dom
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: website-deps
- dependency-name: sass
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: website-deps
- dependency-name: "@docusaurus/module-type-aliases"
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: website-deps
- dependency-name: "@docusaurus/tsconfig"
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: website-deps
- dependency-name: "@types/react"
dependency-type: direct:development
update-type: version-update:semver-major
dependency-group: website-deps
- dependency-name: "@typescript-eslint/eslint-plugin"
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: website-deps
- dependency-name: "@typescript-eslint/parser"
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: website-deps
- dependency-name: prettier
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: website-deps
- dependency-name: typescript
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: website-deps
...
Signed-off-by: dependabot[bot] <support@github.com>
* chore: fix formatting
* chore: bump prettier (can't reproduce element.mdx warning locally?)
* workflow: show formatting diff for locally unproduceable errors
* chore: format elements.mdx
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Matt Yan <syan4@ualberta.ca>
Co-authored-by: Siyuan Yan <44753941+Madoshakalaka@users.noreply.github.com>
2025-02-21 07:33:40 +09:00
伊欧
d77cf0196b
Prepare for 0.22 release ( #3750 )
...
* Update CHANGELOG
https://github.com/yewstack/yew/actions/runs/11314974928/job/31465588862
* Add items.
* Write blog.
* Archive the documents.
* Add author.
* Update SSR document.
* Fix typo.
* Add simplified Chinese translation.
* Update package.json
* Sync documents
* Add traditional Chinese translation.
* Sync documents
* Add Japanese translation.
* Sync documents
* Fix typo by `fmt:write`.
* Fix typo by `write-translations`.
* Apply suggestions from code review
* Fix typo.
* #3769 in changelog
---------
Co-authored-by: Elina <imelina@elina.website>
2024-12-17 16:27:02 +08:00
Muhammad Hamza
00a6183bd2
Update to Docusaurus v3 ( #3518 )
...
* prep
* update deps
* builds??
* fix deps
* switch back to Algolia search
#2253 switched to local search but that doesn't work with Docusaurus v3. Switch back to Algolia search
* fix mdx build issues
* fmt:write
* write translations
* use docusaurus preset
* contextualSearch & fmt
* npm run write-translations
2023-11-05 17:27:39 +05:00
Muhammad Hamza
5e823e729d
Prepare for 0.21 release ( #3412 )
...
* Update CHANGELOG
Changelog run: https://github.com/yewstack/yew/actions/runs/6283917852/job/17064800916
* docusaurus docs:version 0.21
* migration guide
* blog post
* prettier
* make website warnings go away
* make GA work
* Apply suggestions from code review
* Apply suggestion from review
Co-authored-by: Kaede Hoshikawa <futursolo@users.noreply.github.com>
* prettier
---------
Co-authored-by: Kaede Hoshikawa <futursolo@users.noreply.github.com>
2023-09-29 19:10:07 +09:00
Sahra
d469d4dcbe
Typo fix ( #3389 )
2023-09-02 18:34:31 +09:00
Muhammad Hamza
f0209c786f
Prepare for Yew 0.20 ( #2973 )
...
* 0.20 Changelog
* Improve changelog generator
* Add blog post
* Add blog post
* Apply suggestions from code review
Co-authored-by: WorldSEnder <WorldSEnder@users.noreply.github.com>
Co-authored-by: Julius Lungys <32368314+voidpumpkin@users.noreply.github.com>
* update Changelog
* update Cargo.toml
* changelog gen compiles
* website version 0.20
* add migration guides
* prettier
* i18n
Co-authored-by: WorldSEnder <WorldSEnder@users.noreply.github.com>
Co-authored-by: Julius Lungys <32368314+voidpumpkin@users.noreply.github.com>
2022-11-25 15:19:07 +05:00
WorldSEnder
e60c07f746
Remove mentions of wee_alloc ( #2857 )
2022-09-03 19:10:48 +05:00
WorldSEnder
74c1a709a8
Update a bunch of outdated links ( #2723 )
...
* update a bunch of outdated links
* run prettier
* bump deps
* update translations
* change missed translation links
2022-06-13 14:18:08 +02:00
WorldSEnder
cd5b8a520c
Improve grammar and paragraph structure in documentation ( #2620 )
...
* Read through the docs and correct spelling and grammar
* Run prettier
* Apply review suggestions
Co-authored-by: Muhammad Hamza <muhammadhamza1311@gmail.com>
* adjust translation messages
Co-authored-by: Muhammad Hamza <muhammadhamza1311@gmail.com>
2022-04-20 16:41:42 +05:00
WorldSEnder
dc60d6099e
Fix links and add CI checks in documentation ( #2595 )
...
* Docs overhaul part2
* fix links and require them for CI
* remove translations for 0.17
* remove a bunch of unused documentation
* run prettier
* fixup links and locations of some translations
2022-04-10 21:01:18 +00:00
Muhammad Hamza
3ad4dbe837
Format website with prettier ( #2536 )
...
* add prettier
* ci
* run prettier
* run prettier in CI
* run prettier --write
* ignore README.md
* specify googleAnalytics
* fmt
* npm run write-translations
* fmt
* ignore i18n json files
they're autogenerated and don't like being formatted
* post merge fixes & some updates
* post merge fixes
2022-04-06 22:52:15 +05:00
gitlocalize-app[bot]
6fc9ef489c
Gitlocalize: move translated files ( #2441 )
...
Co-authored-by: gitlocalize-app[bot] <55277160+gitlocalize-app[bot]@users.noreply.github.com>
2022-02-26 12:39:58 +01:00
Julius Lungys
636692507e
Convert components concept docs from SC to FC ( #2434 )
...
* Convert components concept docs from SC to FC
- moved struct components to advanced topics
- added docs about HOC for Suspense and Context
- added a ease-in topic before components that introduces
HTML/CSS/JS in yew
- edit components concept to use function components
* translations
* fix todo links
* fix tests
* spelling bee
2022-02-07 11:03:12 +02:00
Julius Lungys
1d1c2bf163
run npm run write-translations ( #2426 )
2022-01-31 20:20:00 +01:00
Muhammad Hamza
a8f7113d4a
Documentation Improvements ( #2391 )
...
* the app crashes
* update the button
* API button
* Tutorial button
* Tutorial sidebar on next
* blog
* write-translations
2022-01-20 18:53:33 +05:00
Matt
b165037381
Incorporate in-code translation in the workflow ( #2349 )
...
* implements #2276
* add localization and website contributing guides
* fix typo
* Update build-website.yml
* add note for write-translations
* attempt 2 at making CI build the stubs
* experiment: delete part of the stubs...
expecting ci to rebuild it
* write-translations for dev and check- for ci
* catch promise errors
* commit the missing mdx instruction
* fix English grammar in check report
2022-01-12 18:23:30 +05:00
Matt
90b4e55ebc
Docusaurus Overhaul ( #2275 )
...
* change suffixes from md to mdx
fix broken links for English locale
tree shake and update docusaurus
add docusaurus ideal image plugin
use svg and themed image
delete unused static asset
* move localized landing page
* change GitLocalize project page
* nit pick
* remove ignore to have the block checked
2021-12-20 12:10:45 +02:00
gitlocalize-app[bot]
6aa092a7dd
Gitlocalize: move translated files ( #2216 )
...
Co-authored-by: gitlocalize-app[bot] <55277160+gitlocalize-app[bot]@users.noreply.github.com>
2021-12-02 03:37:29 +00:00
gitlocalize-app[bot]
db485aac94
Gitlocalize: move translated files ( #2217 )
...
Co-authored-by: gitlocalize-app[bot] <55277160+gitlocalize-app[bot]@users.noreply.github.com>
2021-12-02 03:36:56 +00:00
gitlocalize-app[bot]
30b07cbc12
Gitlocalize: move translated files ( #2218 )
...
Co-authored-by: gitlocalize-app[bot] <55277160+gitlocalize-app[bot]@users.noreply.github.com>
2021-12-02 03:36:32 +00:00
Xavientois
eeddcb95be
Add "struct update" syntax to pass props to component (..props instead of with props) ( #2024 )
...
* Reword to use double-dot syntax instead of "with"
* Implement double-dot syntax for props in components
* Update documentation with new syntax
* Update forgotten doc
* Add descriptive comments
* Check props and base expression
* Make compatible with 1.49.0 by removing then
* Fix website tests
* Update error output
* Implicitly convert string literals to String if they are listed as props
* Remove unused keyword
* Rename function for checking if string literal
* Fix weird formatting
* Update code based on review
* Update website/docs/concepts/html/components.md
Co-authored-by: mc1098 <m.cripps1@uni.brighton.ac.uk>
* Base expression span includes dot2 now
* Improve specificity of error message
* Chain together error messages
* Add an example failure case to illustrate combined error message
* Update based on review comments
* Fix missing clones
Co-authored-by: mc1098 <m.cripps1@uni.brighton.ac.uk>
2021-09-06 06:41:51 +01:00
Daniel Parks
bd8ecf5d5e
Fix ConsoleService::new().log() in doc examples ( #2017 ) ( #2018 )
...
A few examples in the web site docs use `ConsoleService::new().log()` or
similar calls, but the correct call is `ConsoleService::log()`. This
change fixes all such instances.
This also fixes uses of `format!()` as a parameter to `ConsoleService`
logging. `log()` and friends require a ref, so the following is correct:
```rust
ConsoleService::info(format!("Update: {:?}", msg).as_ref());
```
I fixed examples for current even though I cannot find `ConsoleService`
in the master branch. I figure my change is no less correct than what
was already there.
2021-08-28 13:14:49 +02:00
Xavientois
c1226a2813
Add shorthand syntax for props ( #1970 )
...
* Allow shortened prop syntax
* Use new syntax where appropriate
* Apply suggestions from code review
Co-authored-by: mc1098 <m.cripps1@uni.brighton.ac.uk>
* Add tests to hit newly added error messages
* Fix clippy lints
* Re-trigger CI
* Revert error text
Co-authored-by: mc1098 <m.cripps1@uni.brighton.ac.uk>
2021-07-31 23:01:02 +02:00
Xavientois
4a14d0f0a4
Add requirement for braces around most props ( #1939 )
...
* Limit the properties to literals and brace-enclosed expressions
* Update examples with new syntax
* Update packages/yew-macro/src/props/prop.rs
Co-authored-by: Teymour Aldridge <42674621+teymour-aldridge@users.noreply.github.com>
* Fix lints and strip braces around single expressions
* Update docs with new prop syntax
* Add some test cases for new syntax
* Ensure all tests are passing
* Clean up missed code
* Update tests
* Update reverted docs
* Revert versioned docs
* Fix optional attributes paragraph
* Remove accidentally added files
* Remove accidentally added french docs
* Update packages/yew-macro/src/props/prop.rs
Co-authored-by: mc1098 <m.cripps1@uni.brighton.ac.uk>
* Fix forgotten braces and test cases
* Revert i18n old docs
* Revert translated docs
* Remove suggested fix in favour of more succinct error message
* Update errors after rebase
* Remove files accidentally added while rebasing
* Fix merge conflicts
Co-authored-by: Teymour Aldridge <42674621+teymour-aldridge@users.noreply.github.com>
Co-authored-by: mc1098 <m.cripps1@uni.brighton.ac.uk>
2021-07-18 18:54:21 +02:00
Muhammad Hamza
2412a68bee
Refactor and cleanup codebase ( #1842 )
...
* remove yew-dsl
* remove yew-components
* remove yew-services
* remove yew::format
* fix CI
* move yew::agent to yew-agent crate
* move yew-functional to yew
plus a couple of misc fixes
* move futures and neqassign out of yewtil
* move yewtil::store to yew_agent, remove yewtil
* formatting
* fix tests
* update docs
* use `rustwasm` gloo repo instead of mine
* add docs
* use rustwasm/gloo repo
* remove unused file
* fix Makefile.toml
* Fix issues after rebase
* Apply suggestions from code review (part 1)
Co-authored-by: mc1098 <m.cripps1@uni.brighton.ac.uk>
* Apply suggestions from code review (part 2)
* move `#[function_component(_)]` tests
missed those before
* Apply suggestions from code review
Co-authored-by: mc1098 <m.cripps1@uni.brighton.ac.uk>
Co-authored-by: mc1098 <m.cripps1@uni.brighton.ac.uk>
2021-07-18 15:57:09 +02:00
Muhammad Hamza
ec1ebe6756
Fix broken home link ( #1918 )
...
* Serve docs at `/` instead of `/docs`, no `/intro`
* fix links
* update workflow
2021-06-13 20:25:48 +02:00
TadahiroYamamura
f71ce826d9
fix syntax mistake ( #1919 )
2021-06-13 19:33:18 +02:00
Muhammad Hamza
f024874026
Fix broken link/redirects ( #1881 )
...
* Fix broken link/redirects
* Remove index page, update `commentURLPath`
2021-05-27 17:11:49 +02:00
Muhammad Hamza
10b67ea18c
Docusaurus v2 ( #1872 )
...
* Docusaurus v2
* i18n
* Fix firebase hosting config
2021-05-26 22:32:07 +02:00