17 Commits

Author SHA1 Message Date
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
Jesper Olsen
d2f35e45b2
remove "Next loop" - introduction repeating in yew.rs/docs (#3040) 2022-12-22 21:49:50 +01: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
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
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
f6f0e34d0f
Overhaul Documentation (#2321)
* Reorganize docs

* delete wasm-build-tools.mdx

* more small updates

* i hate versioned docs

* seems like I've got the traits of the certain owl who guards over the civilization when it comes to `;`

* just work please

* Update website/docs/concepts/components/lifecycle.mdx

Co-authored-by: Julius Lungys <32368314+voidpumpkin@users.noreply.github.com>

* little things

* post merge fixes

* npm update

Co-authored-by: Julius Lungys <32368314+voidpumpkin@users.noreply.github.com>
2022-01-05 17:49:26 +02:00
Muhammad Hamza
996bf5b41a
Final documentation touch ups & tag 0.19.0 (#2220)
* some documentation fixes

* more fixes

* why it didn't work before is beyond me

* next redirect

* change 0.18 docs folder structure to make it inline with next

* move docs to /docs

now that home is its own page, docs should be under `/docs/`

* tag 0.19.0 version on website
2021-11-30 00:06:51 +05:00
mc1098
9c8692262b
Add wasm-bindgen docs for versioned yew.rs (#2098) 2021-10-05 15:17:29 +02:00
mc1098
e65688e20c
Add events page to v0.18 (#2043) 2021-09-10 07:42:37 +01:00
mc1098
a9833ad331
Remove function components from versioned docs (#2016)
function components are not part of `0.18.0` and even with the warning on
the introduction page many users still ask how they can access function
components or hooks.

The information and code blocks have fallen out of sync with the changes
on `master` so this is not even useful for users. One of the examples on
"Custom Hooks" page causes an exception in the rust markup so this issue
is resolved too and doesn't apply to the `next` version as the code
example is different.

If a user wants to learn about function components or hooks then they
can review the `next`/`master` version on yew.rs.
2021-08-27 00:19:07 +02:00
mc1098
b872dabf1f
Add external libraries page to sidebar (#1960) 2021-07-19 13:30:40 +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
Muhammad Hamza
3ec9a60612
Add 0.18 versioned docs (#1871) 2021-05-26 18:27:52 +02:00
Simon
cbf6a13ac2
Correct documentation redirects (and fix the workflow) (#1621)
* checkout before artifact

* config for fork

* pass pull request number (again)

* worthless change to trigger build

* use comment url path

* let's play around with redirects

* trigger change

* redirects

* update config

* remove firebase.json from pull request

* remove redirects

* use an index page instead of redirects

* intro -> index

* revert unnecessary changes

* correct format
2020-10-15 22:11:30 +02:00
Justin Starry
0220506b74
Versioned docs (#1499)
* Setup versioned docs

* Create docs version 0.17.3

* Add translated versioned docs
2020-08-17 19:44:01 +08:00