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

rustdoc -- sidebar doesn't work in function documentation #48733

Closed
onur opened this issue Mar 4, 2018 · 3 comments
Closed

rustdoc -- sidebar doesn't work in function documentation #48733

onur opened this issue Mar 4, 2018 · 3 comments
Assignees
Labels
C-bug Category: This is a bug. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.

Comments

@onur
Copy link
Member

onur commented Mar 4, 2018

Sidebar is entirely empty and getting an error in console:

TypeError: sidebar is undefined main.js:1497:13

ss

@steveklabnik
Copy link
Member

What browser are you using and at what version?

this is also specifically on the rand crate, or does it appear with other crates as well?

@onur
Copy link
Member Author

onur commented Mar 4, 2018

@steveklabnik

Firefox 58, rustc 1.26.0-nightly (322d7f7 2018-02-25) and rustc 1.26.0-nightly (3b8bd53 2018-03-03) and my docs.rs build rustc 1.26.0-dev (5c1d29a 2018-03-03)

This issue affects function documentation of any crate.

@GuillaumeGomez
Copy link
Member

I think it comes from <script defer="" src="sidebar-items.js"></script>. Seems weird to have a path like this. I'll check what's wrong.

@GuillaumeGomez GuillaumeGomez self-assigned this Mar 5, 2018
@GuillaumeGomez GuillaumeGomez added the T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. label Mar 5, 2018
@TimNN TimNN added the C-bug Category: This is a bug. label Mar 6, 2018
Mark-Simulacrum added a commit to Mark-Simulacrum/rust that referenced this issue Mar 9, 2018
bors added a commit that referenced this issue Mar 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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

4 participants