Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rustdoc: incorporate stability index throughout
This commit hooks rustdoc into the stability index infrastructure in two ways: 1. It looks up stability levels via the index, rather than by manual attributes. 2. It adds stability level information throughout rustdoc output, rather than just at the top header. In particular, a stability color (with mouseover text) appears next to essentially every item that appears in rustdoc's HTML output. Along the way, the stability index code has been lightly refactored.
- Loading branch information
Showing
12 changed files
with
282 additions
and
172 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
256df5e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
saw approval from alexcrichton
at aturon@256df5e
256df5e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
merging aturon/rust/rustdoc-stability-index = 256df5e into auto
256df5e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
aturon/rust/rustdoc-stability-index = 256df5e merged ok, testing candidate = 721b4cb
256df5e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
all tests pass:
success: http://buildbot.rust-lang.org/builders/auto-mac-32-opt/builds/122
success: http://buildbot.rust-lang.org/builders/auto-mac-64-opt/builds/123
success: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-c/builds/123
success: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-t/builds/123
success: http://buildbot.rust-lang.org/builders/auto-linux-32-opt/builds/126
success: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-c/builds/127
success: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-t/builds/126
success: http://buildbot.rust-lang.org/builders/auto-linux-64-opt/builds/132
success: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-c/builds/127
success: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-t/builds/126
success: http://buildbot.rust-lang.org/builders/auto-linux-64-x-android-t/builds/129
success: http://buildbot.rust-lang.org/builders/auto-win-32-opt/builds/127
success: http://buildbot.rust-lang.org/builders/auto-win-32-nopt-t/builds/126
256df5e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fast-forwarding master to auto = 721b4cb