* 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
* 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>
* 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
* 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
* 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
* 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
* 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
* 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>
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.