Commit Graph

27 Commits

Author SHA1 Message Date
Muhammad Hamza 1d889347a6
Fix website search (#3522) 2023-11-08 22:46:50 +09: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
Muhammad Hamza 38e2478d9a
Use SVG for logo on website (#3065) 2022-12-30 17:37:10 +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
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 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
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
Julius Lungys c38c984c15
Remove issue hunt link in footer (#2368) 2022-01-12 18:43:30 +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
Matt 75864e8ae5
Use themed SVG for Agent lifecycle (#2287)
* remove backticks on wasm-bindgen

* make themed svg for agent life cycle

* wording

* Revert "make themed svg for agent life cycle"

This reverts commit 3b3a892bd3.

* Revert "Revert "make themed svg for agent life cycle""

This reverts commit 5ac75821a1.

* wording

* jetbrains tips update
2021-12-21 20:12:15 +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
Muhammad Hamza 92ebc68006
use local search instead of algolia (#2253)
Algolia search is broken so we switch. Algolia is a better search engine and has better integration but there is a problem with Yew index. Until that problem is fixed, we have no choice but to switch.
2021-12-10 08:54:44 +01: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
Julius Lungys 399a5e8790
Update docosaurus to v2 beta 9 (#2215)
* Update docosaurus to v2 beta 9
- Also fix tabs
- Add toml language highlighting

* move around introduction files

* fix link
2021-11-29 14:19:29 +05:00
mc1098 e1b85b2b80
Move tutorial to next docs (#2032)
Tutorial should be in the docs so that it can be matched to the version
yew that a user is trying to be informed on.

The tutorial now comes under the scope of website testing so had to
tweak the tutorial to pass the tests.
2021-09-04 17:38:17 +02:00
Muhammad Hamza 2791fe7f99
Add tutorial (#1968)
* add tutorial

* Apply suggestions from code review

Co-authored-by: Luke Chu <37006668+lukechu10@users.noreply.github.com>

* changes from review

Co-authored-by: Luke Chu <37006668+lukechu10@users.noreply.github.com>
2021-08-08 00:02:02 +02:00
Adrian Wannenmacher f9aeb632e7
Fix favicon path (#1921) 2021-06-15 22:47:34 +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
Luke Chu 5d199b4c56
Enable Rust syntax highlighting on docs website (#1882) 2021-05-27 23:14:23 +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 af7f3a9a1d
Enable Google Analytics (#1878) 2021-05-27 09:45:05 +02:00
Muhammad Hamza 10b67ea18c
Docusaurus v2 (#1872)
* Docusaurus v2

* i18n

* Fix firebase hosting config
2021-05-26 22:32:07 +02:00