Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generated Docs Have Bad Links on Fedora 38 on 86_64 #113561

Open
3DSki opened this issue Jul 11, 2023 · 2 comments
Open

Generated Docs Have Bad Links on Fedora 38 on 86_64 #113561

3DSki opened this issue Jul 11, 2023 · 2 comments
Labels
A-docs Area: documentation for any part of the project, including the compiler, standard library, and tools C-bug Category: This is a bug. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.

Comments

@3DSki
Copy link

3DSki commented Jul 11, 2023

rustup 1.26.0 (5af9b9484 2023-04-05)
cargo 1.70.0 (ec8a8a0ca 2023-04-25)
rustc 1.70.0 (90c5418 2023-05-31)

I installed rust using rust-init, rather than the packaged version, so that I'd have access to rustup, with its "docs --book" feature to access the book locally. Using this command results in an unformatted TOC that contains broken links.

In a similar fashion, using cargo doc --open results in the same behavior for a project's documentation; an unformatted TOC that contains broken links.

Both documents are expecting files to be present in a directory structure under /run/user/1000. Though the root location and file exists for an index.html exists, expected subdirectories and files under that are missing.

I didn't capture the details version details, but I did check the behavior of at rustup docs --book on my Win 10 machine and that created formatted documentation, as if I were viewing it from the site itself, so no problems there.

Though the problems seem to be related, I more concerned about the inablity to use cargo doc for project documentation.

@3DSki 3DSki added the C-bug Category: This is a bug. label Jul 11, 2023
@rustbot rustbot added the needs-triage This issue may need triage. Remove it if it has been sufficiently triaged. label Jul 11, 2023
@Noratrieb Noratrieb added T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. A-docs Area: documentation for any part of the project, including the compiler, standard library, and tools and removed needs-triage This issue may need triage. Remove it if it has been sufficiently triaged. labels Jul 29, 2023
@Dylan-DPC
Copy link
Member

@3DSki are you still facing this issue (either on 38 or any later version), or do you have any updates on this? thanks

@jieyouxu
Copy link
Member

Specifically, could you check if this still reproduces for you on newer tool versions, and if possible, could you provide us with a reproducer that we could try to run in say, a Fedora VM?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-docs Area: documentation for any part of the project, including the compiler, standard library, and tools C-bug Category: This is a bug. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.
Projects
None yet
Development

No branches or pull requests

5 participants