Skip to content

doc: forward-port the conditions tutorial + fixup libstd example #10986

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

Merged
merged 1 commit into from
Dec 20, 2013
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions doc/rust.css
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,10 @@ dd {
list-style-type: none;
padding-left: 0px;
}
/* Only display one level of hierarchy in the TOC */
#TOC ul ul {
display: none;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is this hiding? Could you show a before/after?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I removed this accidentally in my last PR since I wanted to switch to native pandoc (actually, pandoc is too old on the bots to support it), it's meant to give a toc-depth of 1 for all tutorial files (overriden for the manual).
Here: http://static.rust-lang.org/doc/master/tutorial.html
It's supposed to only show titles with one number (as it was before).

}

sub,
sup {
Expand Down
Loading