13 Commits

Author SHA1 Message Date
Muhammad Hamza
7fa512d24b
Set CORS headers for tutorial/data.json (#3162)
Fixes #3138
2023-03-14 22:21:49 +09:00
Muhammad Hamza
b82a5ba56b
fix what i forgorr in 6b51465c782c0a34df44358ffca6fadcd5988ce0 (#2677) 2022-05-12 22:49:59 +02:00
Muhammad Hamza
62e3194d5f
Improve hosted API docs (#2373)
* build up redirects for API docs hosting

* build with all features and documenting config

* fix warnings

* can rustdoc please provide a way to modify the base url?

I want to host the docs at /next/:crate_name, not at /:crate_name ffs

* Don't clean URLs... what is rustdoc doing?

* now it wants to work???

* build a next index page

* unreleased docs banner

* show coverage

* remove ./ ???

* try 2?

* api-docs/ not api-docs-public/

* please
2022-01-15 19:57:35 +01:00
Muhammad Hamza
44e3880c83
Setup hosting for API docs (#2371)
* setup hosting for API docs

* maybe this is the name of the component??

* dependencies make the final bundle too big

* please clippy
2022-01-15 13:21:24 +01:00
Muhammad Hamza
b3ed684f0b
redirect to docs examples page on examples.yew.rs (#1967) 2021-07-21 17:18:07 +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
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
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
Simon
41af85e6c5
Host examples on Firebase (#1582)
* remove getrandom from game_of_life

I know the wasm-bindgen feature is deprecated but this is more convenient for now
and all the other examples use it this way as well.
We can update all of them in one go when rand 0.8 rolls around

* update todomvc README

* clean up yew-macro makefile

See: https://github.com/yewstack/yew/pull/1541#discussion_r488747622

* Use Firebase Hosting
2020-09-22 18:04:32 +02:00
Justin Starry
e6406190c7
Setup doc redirects for old routes (#1501) 2020-08-18 10:46:46 +08: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
Justin Starry
20a37fdd35
Deploy to firebase (#1481) 2020-08-15 23:49:39 +08:00