Skip to content

Tags: robyoung/rust

Tags

homu-tmp

Auto merge of rust-lang#24973 - roryokane:fix-minus-doc-buttons, r=al…

…excrichton

My change in rust-lang#24797 had a bug, described in that issue’s comments, and first discovered in issue rust-lang#24918. This fixes it.

I tested this new `main.js` by changing the `main.js` content of [a rendered docs page](https://doc.rust-lang.org/std/option/) to this new content. The ‘[−]’ button worked again.

I am also including another related fix, because it would require manual merging if I made a separate pull request for it. The page-global ‘[−]’ button currently adds `#` to the end of the URL whenever it is clicked. I am changing its `href` from `#` to `javascript:void(0)` (the same as the `href` for section-specific ‘[−]’ links) to fix that.

1.0.0-alpha.2

1.0.0-alpha.2 release

1.0.0-alpha

1.0.0-alpha release

0.12.0

0.12.0 release

0.11.0

0.11.0 release

0.10

0.10 release

0.9

0.9 release

0.8

0.8 release

0.7

0.7 release