yewstack / yew

Rust / Wasm framework for creating reliable and efficient web applications
https://yew.rs
Apache License 2.0
30.77k stars 1.43k forks source link

[Tracking issue] Website/documentation overhaul #2312

Open ranile opened 2 years ago

ranile commented 2 years ago

Our documentation has many areas which need improvement. In no particular order, following is a list of (some of) them/their solutions:

voidpumpkin commented 2 years ago

Woah new react docs really look awesome!

voidpumpkin commented 2 years ago

@hamza1311 I think we need a checkbox for making variations for 2 different flavors of creating components everywhere Preferably function components flavor shown on render

ranile commented 2 years ago

@hamza1311 I think we need a checkbox for making variations for 2 different flavors of creating components everywhere Preferably function components flavor shown on render

@voidpumpkin, shouldn't we be removing struct components from docs as per #2282?

voidpumpkin commented 2 years ago

@hamza1311 Oh i misunderstood that discussion completely then. Yes I'm up with removing struct components from docs (maybe just leaving a small section to cover their specifics).

voidpumpkin commented 2 years ago

Those new react docs look so good i almost want to just copy paste everything :D But i think I'm not allowed, license is very vague :( https://github.com/reactjs/reactjs.org/blob/main/LICENSE-DOCS.md

allan2 commented 2 years ago

I saw that a blog was added with a placeholder post.

Could the project keep incomplete pages off of the official site until they're ready for publication? Perhaps there can be a staging site or a test directory for posts to be worked on.

siku2 commented 2 years ago

I saw that a blog was added with a placeholder post.

Could the project keep incomplete pages off of the official site until they're ready for publication? Perhaps there can be a staging site or a test directory for posts to be worked on.

I don't think that was considered a placeholder post. We already have separate environments for PRs so I'm not sure whether we really need a persistent staging site.

voidpumpkin commented 2 years ago

We need a task to investigate/make run docs tests in wasm target as currently we cant have wasm_bindgen stuff inside code snippets.

Created issue: #2503

r3k2 commented 1 year ago

I been 3 days looking for example nginx configs specially to doublecheck mine and see if I need to change anything since I do not want to run yew with its own webserver when nginx is capable of this for a frontend app, only the backend should be listening to a different port like :8000 https://github.com/yewstack/yew/issues/2376#issuecomment-1650603566 btw if someone could point me to one I will be gratefull since my nginx config works but websocket is not working, I need a entry on nginx for that I think.