DioxusLabs / DioxusLabs/docsite

The guide is displaying src/hackernews_post.rs instead of src/main.rs

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

Description

In the ["Your First Component" section of the guide](https://dioxuslabs.com/learn/0.5/guide/your_first_component), it states:

> You can clear the src/main.rs file. We will be adding new code in the next sections.

However, all the examples (including those on the following pages of the guide) indicate in the header of the code block that the user should edit `src/hackernews_post.rs`.

Should this not be displayed instead as `src/main.rs`?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the "Your First Component" section of the 0.5 guide and compare its instruction with the code-block headers on that page and the following pages. Update the displayed path so it consistently matches the file the guide tells users to edit, then verify the rendered examples show the corrected path.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
documentation
Issue type
Documentation
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.