<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/librustdoc/html/static/css/noscript.css, branch 1.88.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.88.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.88.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2024-09-11T00:56:05+00:00</updated>
<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>
<entry>
<title>rustdoc: allow resizing the sidebar</title>
<updated>2023-10-11T17:26:36+00:00</updated>
<author>
<name>Michael Howell</name>
<email>michael@notriddle.com</email>
</author>
<published>2023-09-08T01:45:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=0983438faa0431eb392be1d8ea9761fe4b1e90e2'/>
<id>urn:sha1:0983438faa0431eb392be1d8ea9761fe4b1e90e2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rustdoc: merge theme css into rustdoc.css</title>
<updated>2023-09-15T14:40:17+00:00</updated>
<author>
<name>Michael Howell</name>
<email>michael@notriddle.com</email>
</author>
<published>2023-09-13T22:08:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=7e86fd61e83717fc23b6141d2ba728aefbe5e168'/>
<id>urn:sha1:7e86fd61e83717fc23b6141d2ba728aefbe5e168</id>
<content type='text'>
Based on
https://github.com/rust-lang/rust/pull/115812#issuecomment-1717960119

Having them in separate files used to make more sense, before the
migration to CSS variables made the theme files as small as they are
nowadays. This is already how docs.rs and mdBook do it.
</content>
</entry>
<entry>
<title>rustdoc: use `src` consistently over `source` in code</title>
<updated>2023-07-14T23:38:01+00:00</updated>
<author>
<name>Michael Howell</name>
<email>michael@notriddle.com</email>
</author>
<published>2023-07-14T23:38:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=34bc8fbea3b72ce1f9254dbed85fddb2d7985f75'/>
<id>urn:sha1:34bc8fbea3b72ce1f9254dbed85fddb2d7985f75</id>
<content type='text'>
The CSS uses an inconsistent mix of both. This commit switches
it to always use `src`.
</content>
</entry>
</feed>
