Skip to content

rustdoc: toggle collapse/expand all docs using the same link #24694

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
Apr 23, 2015

Conversation

liigo
Copy link
Contributor

@liigo liigo commented Apr 22, 2015

Combine the two links, [-] and [+], at top-right corner of the page, to use a single and the same one, so that:

  • one less link to be created/displayed
  • be consistent with other [-]/[+] links in the same page
  • people can easily toggle docs without moving their mouse pointer

I also added tooltips/titles to these links.

@rust-highfive
Copy link
Contributor

r? @nikomatsakis

(rust_highfive has picked a reviewer for you, use r? to override)

@liigo liigo force-pushed the toggle-all-docs-using-one-link branch from a2f45d1 to 7a53081 Compare April 22, 2015 17:37
@alexcrichton
Copy link
Member

@bors: r+ 7a53081 rollup

Thanks!

@bors
Copy link
Collaborator

bors commented Apr 23, 2015

⌛ Testing commit 7a53081 with merge 65f8899...

bors added a commit that referenced this pull request Apr 23, 2015
…ichton

Combine the two links, [-] and [+], at top-right corner of the page, to use a single and the same one, so that:

- one less link to be created/displayed
- be consistent with other [-]/[+] links in the same page
- people can easily toggle docs without moving their mouse pointer

I also added tooltips/titles to these links.
@bors
Copy link
Collaborator

bors commented Apr 23, 2015

@bors bors merged commit 7a53081 into rust-lang:master Apr 23, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants