DioxusLabs / DioxusLabs/docsite

Confusing paths in code blocks of the Routes tutorial

Open
#465 1 comment 0 reactions 0 assignees View on GitHub
documentation
Dominant language
Rust
Stars
206
Forks
208
Avg merge
1h 11m
Merged PRs (30d)
3

Description

Hi there, first of all thank you so much for this awesome framework!

I'm starting to learn it, and while it is fairly easy to understand, I got confused when the tutorial starts to organize the code into multiple files.

https://dioxuslabs.com/learn/0.6/guide/routing#

The "Organizing your project" explains the project structure and files to create with the boilerplate code; but then, when it's time to put actual code in the various files, the code blocks all have the `src/guide_router.rs` path, and not always there's a mention in the explanation on where to actually put the code.

it would be really helpful showing the intended path of each code block.

Contributor guide

No contributing guide indexed for this repository

Research direction

Open the Routes tutorial at the linked routing page and review the “Organizing your project” section alongside the later code blocks. Add the intended file path to each block, especially where it differs from src/guide_router.rs, and verify that every example’s location is unambiguous.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
documentation
Issue type
Documentation
Difficulty
1/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.