Nika
b246e0d5ed
Update broken links ( #3911 )
...
* tree-wide: update links to https://rustwasm.github.io/wasm-bindgen
https://rustwasm.github.io/wasm-bindgen -> https://wasm-bindgen.github.io/wasm-bindgen
https://rustwasm.github.io/docs/wasm-pack -> https://drager.github.io/wasm-pack/book/
https://rustwasm.github.io/wasm-pack -> https://github.com/drager/wasm-pack
2025-09-01 14:15:44 +00:00
Cecile Tonglet
b00721954a
Better ImplicitClone ergnomics ( #3508 )
...
* Use cheap-to-clone types more
* Use IArray in NodeSeq & add IntoPropValue for &AttrValue
* Add function get_mut() on VChild to make things easier
* Use AttrValue in timer_functional example
* fix VList PartialEq
* extract implicit-clone as workspace dep and bump to 0.5.1
* docs: advocate using IArray and IMap instead of Vec and HashMap
* docs: AI translation for lifecycles.mdx in Japanese and simplified Chinese
---------
Co-authored-by: Mattuwu <syan4@ualberta.ca>
2025-08-27 15:21:50 +09:00
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
06845fff9f
website: upgrade Docusaurus to 3.8.1 with system color mode support ( #3897 )
2025-08-16 15:56:32 +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
ROBOT
d74731c508
translate ( #3737 )
2025-03-01 19:11:44 +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
dependabot[bot]
e9d80ae47a
Bump the website-deps group across 1 directory with 17 updates ( #3723 )
...
* Bump micromatch from 4.0.5 to 4.0.8 in /website
Bumps [micromatch](https://github.com/micromatch/micromatch ) from 4.0.5 to 4.0.8.
- [Release notes](https://github.com/micromatch/micromatch/releases )
- [Changelog](https://github.com/micromatch/micromatch/blob/master/CHANGELOG.md )
- [Commits](https://github.com/micromatch/micromatch/compare/4.0.5...4.0.8 )
---
updated-dependencies:
- dependency-name: micromatch
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
* Bump webpack from 5.89.0 to 5.94.0 in /website
Bumps [webpack](https://github.com/webpack/webpack ) from 5.89.0 to 5.94.0.
- [Release notes](https://github.com/webpack/webpack/releases )
- [Commits](https://github.com/webpack/webpack/compare/v5.89.0...v5.94.0 )
---
updated-dependencies:
- dependency-name: webpack
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
* Bump the website-deps group across 1 directory with 17 updates
Bumps the website-deps group with 16 updates in the /website directory:
| Package | From | To |
| --- | --- | --- |
| [@docusaurus/core](https://github.com/facebook/docusaurus/tree/HEAD/packages/docusaurus ) | `3.0.0` | `3.5.2` |
| [@docusaurus/plugin-client-redirects](https://github.com/facebook/docusaurus/tree/HEAD/packages/docusaurus-plugin-client-redirects ) | `3.0.0` | `3.5.2` |
| [@docusaurus/preset-classic](https://github.com/facebook/docusaurus/tree/HEAD/packages/docusaurus-preset-classic ) | `3.0.0` | `3.5.2` |
| [@mdx-js/react](https://github.com/mdx-js/mdx/tree/HEAD/packages/react ) | `3.0.0` | `3.0.1` |
| [clsx](https://github.com/lukeed/clsx ) | `2.0.0` | `2.1.1` |
| [react](https://github.com/facebook/react/tree/HEAD/packages/react ) | `18.2.0` | `18.3.1` |
| [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react ) | `18.2.34` | `18.3.5` |
| [react-dom](https://github.com/facebook/react/tree/HEAD/packages/react-dom ) | `18.2.0` | `18.3.1` |
| [sass](https://github.com/sass/dart-sass ) | `1.69.5` | `1.77.8` |
| [@docusaurus/tsconfig](https://github.com/facebook/docusaurus/tree/HEAD/packages/docusaurus-tsconfig ) | `3.0.0` | `3.5.2` |
| [@types/react-helmet](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-helmet ) | `6.1.8` | `6.1.11` |
| [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin ) | `6.9.1` | `8.3.0` |
| [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser ) | `6.9.1` | `8.3.0` |
| [dir-compare](https://github.com/gliviu/dir-compare ) | `4.2.0` | `5.0.0` |
| [prettier](https://github.com/prettier/prettier ) | `3.0.3` | `3.3.3` |
| [typescript](https://github.com/Microsoft/TypeScript ) | `5.2.2` | `5.5.4` |
Updates `@docusaurus/core` from 3.0.0 to 3.5.2
- [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.5.2/packages/docusaurus )
Updates `@docusaurus/plugin-client-redirects` from 3.0.0 to 3.5.2
- [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.5.2/packages/docusaurus-plugin-client-redirects )
Updates `@docusaurus/preset-classic` from 3.0.0 to 3.5.2
- [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.5.2/packages/docusaurus-preset-classic )
Updates `@mdx-js/react` from 3.0.0 to 3.0.1
- [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.0.1/packages/react )
Updates `clsx` from 2.0.0 to 2.1.1
- [Release notes](https://github.com/lukeed/clsx/releases )
- [Commits](https://github.com/lukeed/clsx/compare/v2.0.0...v2.1.1 )
Updates `react` from 18.2.0 to 18.3.1
- [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/v18.3.1/packages/react )
Updates `@types/react` from 18.2.34 to 18.3.5
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react )
Updates `react-dom` from 18.2.0 to 18.3.1
- [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/v18.3.1/packages/react-dom )
Updates `sass` from 1.69.5 to 1.77.8
- [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.69.5...1.77.8 )
Updates `@docusaurus/module-type-aliases` from 3.0.0 to 3.5.2
- [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.5.2/packages/docusaurus-module-type-aliases )
Updates `@docusaurus/tsconfig` from 3.0.0 to 3.5.2
- [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.5.2/packages/docusaurus-tsconfig )
Updates `@types/react` from 18.2.34 to 18.3.5
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react )
Updates `@types/react-helmet` from 6.1.8 to 6.1.11
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-helmet )
Updates `@typescript-eslint/eslint-plugin` from 6.9.1 to 8.3.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.3.0/packages/eslint-plugin )
Updates `@typescript-eslint/parser` from 6.9.1 to 8.3.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.3.0/packages/parser )
Updates `dir-compare` from 4.2.0 to 5.0.0
- [Release notes](https://github.com/gliviu/dir-compare/releases )
- [Commits](https://github.com/gliviu/dir-compare/compare/v4.2.0...v5.0.0 )
Updates `prettier` from 3.0.3 to 3.3.3
- [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.0.3...3.3.3 )
Updates `typescript` from 5.2.2 to 5.5.4
- [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.2.2...v5.5.4 )
---
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-patch
dependency-group: website-deps
- dependency-name: clsx
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: website-deps
- dependency-name: react
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: website-deps
- dependency-name: "@types/react"
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: website-deps
- dependency-name: react-dom
dependency-type: direct:production
update-type: version-update:semver-minor
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-minor
dependency-group: website-deps
- dependency-name: "@types/react-helmet"
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: website-deps
- dependency-name: "@typescript-eslint/eslint-plugin"
dependency-type: direct:development
update-type: version-update:semver-major
dependency-group: website-deps
- dependency-name: "@typescript-eslint/parser"
dependency-type: direct:development
update-type: version-update:semver-major
dependency-group: website-deps
- dependency-name: dir-compare
dependency-type: direct:development
update-type: version-update:semver-major
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>
* fix non-truncated blog post warning
* always build with package lock
* fix prettier warning
* fix scss deprecation warning
* really only install with ci
* adjust docusaurus language codes
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Martin Molzer <WorldSEnder@users.noreply.github.com>
2024-09-02 14:03:00 +00: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
Kaede Hoshikawa
36aaecc430
Update Dependencies with Breaking Changes ( #3204 )
...
* Update axum.
* Update base64.
* Update NPM Dependencies.
* Update Translations.
* Make sure all docusaurus dependencies are with the same version.
2023-04-03 00:16:33 +09:00
Kaede Hoshikawa
ffc2db0b5a
Fix website workflow ( #3110 )
...
* Fix fmt.
* Update dependencies.
* Add translation.
* Update dependencies.
2023-03-04 22:32:30 +05: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
Muhammad Hamza
374e5f107e
Imrpove home page and slogan ( #2940 )
...
* Redo home page
* formatting
* write translations
* responsive layout
* Update features & tagline
* fmt
* no safe
2022-11-04 21:09:56 +05:00
WorldSEnder
e60c07f746
Remove mentions of wee_alloc ( #2857 )
2022-09-03 19:10:48 +05:00
Muhammad Hamza
11fde638ed
Bump website dependencies ( #2830 )
2022-08-14 21:52:36 +02:00
Muhammad Hamza
9c65031258
Add playground to docs ( #2751 )
...
* Add #![doc(html_playground_url)]
* Add playground link in website navbar
* Option about playground issue
* translations
* Update packages/yew/src/lib.rs
2022-06-24 23:26:29 +05:00
乐平
467267d799
docs: i18n correction ( #2745 )
...
* docs: i18n correction
* remove unneeded node_modules
Co-authored-by: Muhammad Hamza <muhammadhamza1311@gmail.com>
2022-06-24 23:00:38 +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
Julius Lungys
81bca6e52c
bump website dependecies ( #2500 )
...
* bump website dependecies
* fix translations
2022-03-06 13:49:31 +01: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
Muhammad Hamza
d1f050e892
Add community page using docs multi-instance ( #2390 )
...
* use docs multi-instance
* Add awesome yew
This content is taken from https://github.com/jetli/awesome-yew/blob/master/README.md
* remove "Official" - We are official
2022-01-20 14:14:08 +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
SHI Yuhua
0afc6952cf
fix: md table format ( #2001 )
...
Co-authored-by: yshi <yshi@yahoo-corp.jp>
2021-08-13 15:47:13 +02:00
sansx
20ba37fd72
fix docs err ( #1998 )
...
* fix docs err
* del extra dom tag
* fix
2021-08-11 16:47:27 +02:00
gitlocalize-app[bot]
5465b22cc3
finish gettting-started part translation ( #1997 )
...
* Translate build-a-sample-app.md via GitLocalize
* Translate choose-web-library.md via GitLocalize
* Translate examples.md via GitLocalize
* Translate starter-templates.md via GitLocalize
Co-authored-by: sansx <646924078@qq.com>
2021-08-11 12:49:55 +02:00
Campbell He
316dad2f6b
docs: fix admonitions in zh-CN translations ( #1996 )
2021-08-10 12:47:43 +02:00
gitlocalize-app[bot]
e474533daf
update translation docs ( #1993 )
...
* Translate how-it-works.md via GitLocalize
* Translate router.md via GitLocalize
* Translate project-setup.md via GitLocalize
* Translate roadmap.md via GitLocalize
Co-authored-by: sansx <646924078@qq.com>
2021-08-09 14:24:00 +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
Grimmer
f94487364f
Update choose-web-library.md ( #1971 )
2021-07-26 15:22:38 +02:00
Xavientois
70157b0ff7
Move/Remove files from translated_docs into the i18n folder ( #1964 )
2021-07-20 11:11:05 +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