<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/librustdoc/html/static/css/noscript.css, branch automation/bors/try</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=automation/bors/try</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=automation/bors/try'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2025-08-28T13:56:29+00:00</updated>
<entry>
<title>Add new `doc(attribute = "...")` attribute</title>
<updated>2025-08-28T13:56:29+00:00</updated>
<author>
<name>Guillaume Gomez</name>
<email>guillaume1.gomez@gmail.com</email>
</author>
<published>2025-06-13T19:01:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=ab0ee84eac9732e4e81e559c688846b4c1bd400a'/>
<id>urn:sha1:ab0ee84eac9732e4e81e559c688846b4c1bd400a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rustdoc: use a different style of grip track</title>
<updated>2025-05-09T19:56:38+00:00</updated>
<author>
<name>Michael Howell</name>
<email>michael@notriddle.com</email>
</author>
<published>2025-04-11T04:44:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e6e52063dfb23a16a0217689613e83888b18ccf9'/>
<id>urn:sha1:e6e52063dfb23a16a0217689613e83888b18ccf9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rustdoc: add a handle that makes sidebar resizing more obvious</title>
<updated>2025-05-09T19:38:00+00:00</updated>
<author>
<name>Michael Howell</name>
<email>michael@notriddle.com</email>
</author>
<published>2025-04-08T18:18:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=3fa98a1507b3ec7586b1c1fbdb51b5b55c71e0ed'/>
<id>urn:sha1:3fa98a1507b3ec7586b1c1fbdb51b5b55c71e0ed</id>
<content type='text'>
This change is based on some discussion on [lolbinarycat's idea],
but with a more "traditional" design. Specifically, this is the
closest thing I could find to a consensus across many systems I
looked at for inspiration:

- In Jira, resizable sidebars have a stack of four dots.
- In The GIMP, resizable sidebars have a stack of three dots.
- In [old Windows], "panes" are defined to have the same border
  style as a window, which has a raised appearance.
- In [NeXT], a drag point usually had an innie, whether the line in a
  slider or the circle in a scroller; I can also hide and show the
  favorites bar in Workspace by dragging on a circular "grip spot"
- In [old Mac], drag handles for things usually had a "grip track"
  of parallel lines.
- [OSX] kept that, but the "Source List" part of the Finder still had
  the circle grip for a time the same way Workspace did

[lolbinarycat's idea]: https://github.com/rust-lang/rust/pull/139420
[old Windows]: https://archive.org/details/windowsinterface00micr/page/n9/mode/2up
[old Mac]: https://archive.org/details/apple-hig/1996_Human_Interface_Guidelines_for_Mac_OS_8_%28WWDC_Release%29/page/16/mode/2up
[NeXT]: https://archive.org/details/apple-hig/1993%20NeXTSTEP%20User%20Interface%20Guidelines%20-%20Release%203/page/145/mode/2up
[OSX]: https://dn721903.ca.archive.org/0/items/apple-hig/MacOSX_HIG_2005_09_08.pdf#page=267
</content>
</entry>
<entry>
<title>rustdoc: redesign toolbar and disclosure widgets</title>
<updated>2024-09-11T00:56:05+00:00</updated>
<author>
<name>Michael Howell</name>
<email>michael@notriddle.com</email>
</author>
<published>2024-08-25T06:11:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d05323c7b4ebeaeaffe3ea8e0d02a8b01db67ddd'/>
<id>urn:sha1:d05323c7b4ebeaeaffe3ea8e0d02a8b01db67ddd</id>
<content type='text'>
This adds labels to the icons and moves them away from the search box.

These changes are made together, because they work together, but are based on
several complaints:

* The [+/-] thing are a Reddit-ism. They don't look like buttons, but look
  like syntax
  &lt;https://rust-lang.zulipchat.com/#narrow/stream/266220-t-rustdoc/topic/More.20visual.20difference.20for.20the.20.2B.2F-.20.20Icons&gt;,
  &lt;https://github.com/rust-lang/rust/issues/59851&gt;
  (some of these are laundry lists with more suggestions, but they all
  mention [+/-] looking wrong)

* The settings, help, and summary buttons are also too hard to recognize
  &lt;https://lwn.net/Articles/987070/&gt;,
  &lt;https://github.com/rust-lang/rust/issues/90310&gt;,
  &lt;https://github.com/rust-lang/rust/issues/14475#issuecomment-274241997&gt;,
  &lt;https://internals.rust-lang.org/t/improve-rustdoc-design/12758&gt;
  ("Not all functionality is self-explanatory, for example the [+] button in
  the top right corner, the theme picker or the settings button.")

The toggle-all and toggle-individual buttons both need done at once, since we
want them to look like they go together. This changes them from both being
[+/-] to both being arrows.

Settings and Help are also migrated, so that the whole group can benefit from
being described using actual words.

Additionally, the Help button is only shown on SERPs, not all the time.
This is done for two major reasons:

* Most of what's in there is search-related. The things that aren't are
  keyboard commands, and the search box tells you about that anyway.
  Pressing &lt;kbd&gt;?&lt;/kbd&gt; will temporarily show the button and its popover.
* I'm trading it off by showing the help button, even on mobile.
  It's useful since you can use the search engine suggestions there.
* The three buttons were causing line wrapping on too many desktop layouts.
</content>
</entry>
<entry>
<title>Unify scraped examples with other code examples</title>
<updated>2024-08-30T22:12:16+00:00</updated>
<author>
<name>Guillaume Gomez</name>
<email>guillaume.gomez@huawei.com</email>
</author>
<published>2024-08-30T16:27:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=0d156f223a3fb389f813d8fdb0b588f95b3868aa'/>
<id>urn:sha1:0d156f223a3fb389f813d8fdb0b588f95b3868aa</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Unify run button display with "copy code" button and with mdbook buttons</title>
<updated>2024-08-05T09:04:50+00:00</updated>
<author>
<name>Guillaume Gomez</name>
<email>guillaume.gomez@huawei.com</email>
</author>
<published>2024-07-30T13:23:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=a282e520b253403b9b4dd6107f29cfc4bcd1b956'/>
<id>urn:sha1:a282e520b253403b9b4dd6107f29cfc4bcd1b956</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix bad color for setting cog in ayu theme</title>
<updated>2024-05-05T18:07:12+00:00</updated>
<author>
<name>Guillaume Gomez</name>
<email>guillaume.gomez@huawei.com</email>
</author>
<published>2024-05-05T17:27:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=0cbebd07ee23cacccf0fa5522d658a3ebfc4c19f'/>
<id>urn:sha1:0cbebd07ee23cacccf0fa5522d658a3ebfc4c19f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Default to light theme is JS is enabled but not working</title>
<updated>2024-04-03T12:27:19+00:00</updated>
<author>
<name>Guillaume Gomez</name>
<email>guillaume.gomez@huawei.com</email>
</author>
<published>2024-04-03T12:11:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=2edc54c830bb3925967c77486fef32707b4321ce'/>
<id>urn:sha1:2edc54c830bb3925967c77486fef32707b4321ce</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Stop using the trigram of heaven as a hamburger button</title>
<updated>2023-12-18T20:56:55+00:00</updated>
<author>
<name>Michael Howell</name>
<email>michael@notriddle.com</email>
</author>
<published>2023-12-18T20:30:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c3e29ea5e9054c0e3fc0c6b80d7ab32e106c3294'/>
<id>urn:sha1:c3e29ea5e9054c0e3fc0c6b80d7ab32e106c3294</id>
<content type='text'>
It doesn't look quite right, because the lines are too far apart,
and it's not going to be announced by screenreaders as a menu button,
since that's not what the symbol means.

This adds a real tooltip and uses a better drawing of the icon.
</content>
</entry>
<entry>
<title>Add back the column</title>
<updated>2023-12-18T19:42:24+00:00</updated>
<author>
<name>Michael Howell</name>
<email>michael@notriddle.com</email>
</author>
<published>2023-12-18T19:11:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=bd14fb68dabf972d062cfb89ce4b02c61b854189'/>
<id>urn:sha1:bd14fb68dabf972d062cfb89ce4b02c61b854189</id>
<content type='text'>
</content>
</entry>
</feed>
