<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/librustdoc/html/static/css/rustdoc.css, branch 1.79.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.79.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.79.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2024-04-17T14:49:11+00:00</updated>
<entry>
<title>Fix copy-path button</title>
<updated>2024-04-17T14:49:11+00:00</updated>
<author>
<name>Guillaume Gomez</name>
<email>guillaume.gomez@huawei.com</email>
</author>
<published>2024-04-16T21:55:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=ec754cf2012d1aecf7fca8fa66c846d79e7b94a4'/>
<id>urn:sha1:ec754cf2012d1aecf7fca8fa66c846d79e7b94a4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rustdoc: load icons from css instead of inline</title>
<updated>2024-04-10T02:35:23+00:00</updated>
<author>
<name>Michael Howell</name>
<email>michael@notriddle.com</email>
</author>
<published>2024-04-10T00:15:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=13235dce5d0af794e48150e99329fc90faaa1f01'/>
<id>urn:sha1:13235dce5d0af794e48150e99329fc90faaa1f01</id>
<content type='text'>
This cuts the HTML overhead for a page by about 1KiB,
significantly reducing the overall size of the docs bundle.
</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>Rollup merge of #120526 - GuillaumeGomez:mobile-long-crate-name, r=notriddle</title>
<updated>2024-02-18T04:10:16+00:00</updated>
<author>
<name>León Orell Valerian Liehr</name>
<email>me@fmease.dev</email>
</author>
<published>2024-02-18T04:10:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=fb5982f14e5bc943df9f884360562f2aec12ed83'/>
<id>urn:sha1:fb5982f14e5bc943df9f884360562f2aec12ed83</id>
<content type='text'>
rustdoc: Correctly handle long crate names on mobile

Fixes https://github.com/rust-lang/rust/issues/120471.

It now renders like this:

![image](https://github.com/rust-lang/rust/assets/3050060/065b4b8b-ba55-4163-a928-8d7bf735c111)

r? `@notriddle`
</content>
</entry>
<entry>
<title>rustdoc: Correctly handle long crate names on mobile</title>
<updated>2024-01-31T15:40:23+00:00</updated>
<author>
<name>Guillaume Gomez</name>
<email>guillaume.gomez@huawei.com</email>
</author>
<published>2024-01-31T13:34:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d907a6b8ed33f0cc332992ef330e099c9474faba'/>
<id>urn:sha1:d907a6b8ed33f0cc332992ef330e099c9474faba</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Improve display of crate name when hovered</title>
<updated>2024-01-29T19:40:43+00:00</updated>
<author>
<name>Guillaume Gomez</name>
<email>guillaume.gomez@huawei.com</email>
</author>
<published>2024-01-29T19:40:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=96e6cfa34a38cf7ef51aad168afa9b1e628cf26f'/>
<id>urn:sha1:96e6cfa34a38cf7ef51aad168afa9b1e628cf26f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rollup merge of #117662 - GuillaumeGomez:links-in-headings, r=notriddle</title>
<updated>2024-01-19T18:26:59+00:00</updated>
<author>
<name>Matthias Krüger</name>
<email>matthias.krueger@famsik.de</email>
</author>
<published>2024-01-19T18:26:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=cad609d9e3a33cfef1727dcb0682e05f1f036afa'/>
<id>urn:sha1:cad609d9e3a33cfef1727dcb0682e05f1f036afa</id>
<content type='text'>
[rustdoc] Allows links in headings

Reopening of https://github.com/rust-lang/rust/pull/94360.

# Explanations

Rustdoc currently doesn't follow the markdown spec on headings: we don't allow links in them. So instead of having headings linking to themselves, this PR generates an anchor on the left side like this:

![image](https://github.com/rust-lang/rust/assets/3050060/a118a7e9-5ef8-4d07-914f-46defc3245c3)

&lt;details&gt;
&lt;summary&gt;previous version&lt;/summary&gt;

![image](https://github.com/rust-lang/rust/assets/3050060/c34fa844-9cd4-47dc-bb51-b37f5f66afee)

&lt;/details&gt;

Having the anchor always displayed allows for mobile devices users to be able to have a link to the anchor. The different color used for the anchor itself is the same as links so people notice when looking at it that they can click on it.

You can test it [here](https://rustdoc.crud.net/imperio/links-in-headings/std/index.html).

cc `@camelid`
r? `@notriddle`
</content>
</entry>
<entry>
<title>use css variable for z-index of the sidebar</title>
<updated>2024-01-01T14:42:32+00:00</updated>
<author>
<name>Lukas Markeffsky</name>
<email>@</email>
</author>
<published>2023-12-31T21:25:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b1853eb3bd579d9126fa392ced94b05d45efc67e'/>
<id>urn:sha1:b1853eb3bd579d9126fa392ced94b05d45efc67e</id>
<content type='text'>
and calculate the z-indices of things that go over the sidebar
</content>
</entry>
<entry>
<title>rustdoc ui: adjust tooltip z-index to be above sidebar</title>
<updated>2023-12-31T19:31:56+00:00</updated>
<author>
<name>Lukas Markeffsky</name>
<email>@</email>
</author>
<published>2023-12-31T19:31:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d796ad4209b2c45d66a8e8b2fa8beac462c80671'/>
<id>urn:sha1:d796ad4209b2c45d66a8e8b2fa8beac462c80671</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Auto merge of #119066 - notriddle:notriddle/sidebar-source-redesign, r=GuillaumeGomez</title>
<updated>2023-12-31T15:32:15+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2023-12-31T15:32:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=67b6975051b83ef2bd28f06e8467470d570aceb3'/>
<id>urn:sha1:67b6975051b83ef2bd28f06e8467470d570aceb3</id>
<content type='text'>
rustdoc: clean up source sidebar hide button

This is a redesign of the feature, with parts pulled from https://github.com/rust-lang/rust/pull/119049 but with a button that looks more like a button and matches the one used on other sidebar pages.

Preview:

* http://notriddle.com/rustdoc-html-demo-8/source-sidebar-resize/src/std/lib.rs.html
* http://notriddle.com/rustdoc-html-demo-8/source-sidebar-resize/std/index.html

| | Before | After |
|--|--|--|
| Closed | ![image](https://github.com/rust-lang/rust/assets/1593513/092bed75-79c3-412f-8e7b-557f30dfb1e3) | ![image](https://github.com/rust-lang/rust/assets/1593513/b68e1ee9-9aef-484d-a5b1-2fd29c9d72ea)
| Open | ![image](https://github.com/rust-lang/rust/assets/1593513/95cf9545-25b1-48ec-820b-02e1aec99839) | ![image](https://github.com/rust-lang/rust/assets/1593513/923532f6-59e0-4d7c-9976-21699c30d42e)
| Mobile Closed | ![image](https://github.com/rust-lang/rust/assets/1593513/9bc00cc5-937c-4120-94be-94c7cb6d5297) | ![image](https://github.com/rust-lang/rust/assets/1593513/76a744d8-aac2-46fe-abb9-3b34e2d3ccaa)
| Mobile Open | ![image](https://github.com/rust-lang/rust/assets/1593513/d19a94fe-47b1-462d-a280-44fc215b9b72) | ![image](https://github.com/rust-lang/rust/assets/1593513/2b2e3dec-b610-4b12-8a72-35b86359ba45)
</content>
</entry>
</feed>
