<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/librustdoc/html/static/css/rustdoc.css, branch 1.56.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.56.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.56.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2021-08-19T17:30:09+00:00</updated>
<entry>
<title>Rollup merge of #88093 - Kobzol:rustdoc-wrap-code-in-code-tag, r=GuillaumeGomez</title>
<updated>2021-08-19T17:30:09+00:00</updated>
<author>
<name>Guillaume Gomez</name>
<email>guillaume1.gomez@gmail.com</email>
</author>
<published>2021-08-19T17:30:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=10165f8af915ac4d57281694ea6a90041c76b5bd'/>
<id>urn:sha1:10165f8af915ac4d57281694ea6a90041c76b5bd</id>
<content type='text'>
[rustdoc] Wrap code blocks in &lt;code&gt; tag

This PR modifies Rustdoc output so that fenced code snippets, items and whole file source codes are wrapped in `&lt;pre&gt;&lt;code&gt;` instead of just `&lt;pre&gt;`. This should improve the semantic meaning of the generated content.

I'm not sure what to do about `render_attributes_in_pre` and `render_attributes_in_code`. These functions were clearly expected to be used for things inside `&lt;pre&gt;` or `&lt;code&gt;`, and since I added `&lt;code&gt;` in this PR, some of them will be used in a different context than before. However, it seems to me that even before they were not consistent. For example, `item_constant` used `render_attributes_in_code` for its attributes, however there was no `&lt;code&gt;` used for constants before this PR...

Should I create some `rustdoc-gui` tests? For example to check that all `&lt;pre&gt;` tags have a `&lt;code&gt;` child?

Fixes: https://github.com/rust-lang/rust/issues/88020
</content>
</entry>
<entry>
<title>[rustdoc] Wrap code blocks in &lt;code&gt; tag</title>
<updated>2021-08-19T08:30:08+00:00</updated>
<author>
<name>Jakub Beránek</name>
<email>berykubik@gmail.com</email>
</author>
<published>2021-08-16T21:19:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=ccd550ee565436b4c9b7f987c19bd3a9111714f1'/>
<id>urn:sha1:ccd550ee565436b4c9b7f987c19bd3a9111714f1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix anchors display in rustdoc</title>
<updated>2021-08-18T11:27:45+00:00</updated>
<author>
<name>Guillaume Gomez</name>
<email>guillaume.gomez@huawei.com</email>
</author>
<published>2021-08-06T14:47:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=dc24f02bc44f4a598e84e76a9269f2a972d6176d'/>
<id>urn:sha1:dc24f02bc44f4a598e84e76a9269f2a972d6176d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Underline source code links on hover</title>
<updated>2021-08-05T21:08:28+00:00</updated>
<author>
<name>Guillaume Gomez</name>
<email>guillaume1.gomez@gmail.com</email>
</author>
<published>2021-04-14T11:26:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b5c27b49d02d5b6538e40e19e0dd1365cd7632d5'/>
<id>urn:sha1:b5c27b49d02d5b6538e40e19e0dd1365cd7632d5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Simplify usage of CSS background-image</title>
<updated>2021-08-03T18:03:07+00:00</updated>
<author>
<name>Guillaume Gomez</name>
<email>guillaume.gomez@huawei.com</email>
</author>
<published>2021-07-31T14:23:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=6fe09722ea0762405558b6ea5eb5f765a24af9df'/>
<id>urn:sha1:6fe09722ea0762405558b6ea5eb5f765a24af9df</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use empty string instead of single space</title>
<updated>2021-08-03T12:35:38+00:00</updated>
<author>
<name>Michael Howell</name>
<email>michael@notriddle.com</email>
</author>
<published>2021-07-17T18:28:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=64c99036600735ef2d92fcbd7e9911617b064624'/>
<id>urn:sha1:64c99036600735ef2d92fcbd7e9911617b064624</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Pull the "Expand" / "Collapse" text to the end of the line, instead of start</title>
<updated>2021-08-03T12:35:38+00:00</updated>
<author>
<name>Michael Howell</name>
<email>michael@notriddle.com</email>
</author>
<published>2021-07-17T17:55:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=59460a655643b32fe2e1ac39279333bf5a574a82'/>
<id>urn:sha1:59460a655643b32fe2e1ac39279333bf5a574a82</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rustdoc accessibility: use an icon for the [-]/[+] controls</title>
<updated>2021-08-03T12:35:38+00:00</updated>
<author>
<name>Michael Howell</name>
<email>michael@notriddle.com</email>
</author>
<published>2021-07-17T00:24:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c58246efe47bea09d4f3e70f536e4c9bb7770749'/>
<id>urn:sha1:c58246efe47bea09d4f3e70f536e4c9bb7770749</id>
<content type='text'>
This way, we can show the plus and minus buttons on screens, while voice
control will read off actual words "Collapse" and "Expand" instead of reading
"open brace minus close brace" and "open brace plus close brace".

Part of #87059
</content>
</entry>
<entry>
<title>Auto merge of #87390 - notriddle:notriddle/rustdoc-headers-patch, r=GuillaumeGomez</title>
<updated>2021-07-25T21:41:57+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2021-07-25T21:41:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=5782f01a5136b1f7539b23f67e832f0b994c215d'/>
<id>urn:sha1:5782f01a5136b1f7539b23f67e832f0b994c215d</id>
<content type='text'>
Rustdoc accessibility: use real headers for doc items

Part of #87059

Partially reverts #84703

Preview at: https://notriddle.com/notriddle-rustdoc-test/real-headers/std/index.html
</content>
</entry>
<entry>
<title>Rustdoc accessibility: use real headers for doc items</title>
<updated>2021-07-25T21:41:57+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2021-07-25T21:41:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=76a3b609d0b93c5d8da5e4e3db37bd03e5cb1c30'/>
<id>urn:sha1:76a3b609d0b93c5d8da5e4e3db37bd03e5cb1c30</id>
<content type='text'>
Part of #87059

Partially reverts #84703

Preview at: https://notriddle.com/notriddle-rustdoc-test/real-headers/std/index.html
</content>
</entry>
</feed>
