DioxusLabs / DioxusLabs/docsite
Some links are broken on the live website, but not in the local `dx serve` preview.
- Dominant language
- Rust
- Stars
- 206
- Forks
- 208
- Avg merge
- 1h 11m
- Merged PRs (30d)
- 3
Description
For example, on the Creating UI with RSX page of the tutorial, there is a link at the [very bottom](https://dioxuslabs.com/learn/0.6/guide/rsx/#adding-ui-to-our):
> Unfortunately, it's not very beautiful yet. Let's move on to [styling our app](https://dioxuslabs.com/learn/0.6/guide/rsx/assets).
The link from the live website points to https://dioxuslabs.com/learn/0.6/guide/rsx/assets, which is an url that doesn't exist, so it shows the landing page. It should point to https://dioxuslabs.com/learn/0.6/guide/assets.
I wanted to fix this link (and a few others), but found that when previewing locally with `dx serve`, the link actually points to the intended http://127.0.0.1:8080/learn/0.6/guide/assets. So when previewing with `dx serve`, everything seems to work as intended.
Contributor guide
No contributing guide indexed for this repository
Research direction
The affected page is the Creating UI with RSX tutorial; start by locating its source and reproducing the URL with `dx serve`, then compare that output with the live site. Trace why the `/learn/0.6/guide/rsx/assets` link is emitted instead of `/learn/0.6/guide/assets`; done when the example and other affected links resolve correctly in production while the local preview remains correct.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- documentation
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100