<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/librustdoc/html/layout.rs, branch 1.71.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.71.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.71.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2023-01-30T19:20:06+00:00</updated>
<entry>
<title>rustdoc: remove meta keywords from HTML</title>
<updated>2023-01-30T19:20:06+00:00</updated>
<author>
<name>Michael Howell</name>
<email>michael@notriddle.com</email>
</author>
<published>2023-01-30T19:20:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f5bac0c4c8b00eceaba627b4bf074a38f1971330'/>
<id>urn:sha1:f5bac0c4c8b00eceaba627b4bf074a38f1971330</id>
<content type='text'>
Discussed in
&lt;https://rust-lang.zulipchat.com/#narrow/stream/266220-rustdoc/topic/.60.3Cmeta.20name.3D.22keywords.22.3E.60&gt;
</content>
</entry>
<entry>
<title>Fix `rustdoc --version` when used with download-rustc</title>
<updated>2022-11-09T08:54:51+00:00</updated>
<author>
<name>Joshua Nelson</name>
<email>jnelson@cloudflare.com</email>
</author>
<published>2022-11-09T08:52:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=a68ec2205335e2c3de8ba56fb6a31b99f10c95a6'/>
<id>urn:sha1:a68ec2205335e2c3de8ba56fb6a31b99f10c95a6</id>
<content type='text'>
Previously, rustdoc would unconditionally report the version that *rustc* was compiled with.
That showed things like `nightly-2022-10-30`, which wasn't right, since this was a `dev` build compiled from source.

Fix it by changing `rustc_driver::version` to a macro expanded at invocation time.
</content>
</entry>
<entry>
<title>Move string literal into format string</title>
<updated>2022-10-29T21:49:00+00:00</updated>
<author>
<name>Jacob Hoffman-Andrews</name>
<email>github@hoffman-andrews.com</email>
</author>
<published>2022-10-29T21:49:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c9dbfe31e2e7001571e4d21e46f93d96489df791'/>
<id>urn:sha1:c9dbfe31e2e7001571e4d21e46f93d96489df791</id>
<content type='text'>
Co-authored-by: Michael Howell &lt;michael@notriddle.com&gt;</content>
</entry>
<entry>
<title>Make --static-root-path point to static.files</title>
<updated>2022-10-29T19:47:51+00:00</updated>
<author>
<name>Jacob Hoffman-Andrews</name>
<email>github@hoffman-andrews.com</email>
</author>
<published>2022-09-29T06:52:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=bf2533406670078a9110122f8c90e53285f994b6'/>
<id>urn:sha1:bf2533406670078a9110122f8c90e53285f994b6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rustdoc: add hash to filename of toolchain files</title>
<updated>2022-10-29T19:47:48+00:00</updated>
<author>
<name>Jacob Hoffman-Andrews</name>
<email>github@hoffman-andrews.com</email>
</author>
<published>2022-10-24T08:28:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f9e1f6ffdf03ec33cb29e20c88fc7bcc938c7f42'/>
<id>urn:sha1:f9e1f6ffdf03ec33cb29e20c88fc7bcc938c7f42</id>
<content type='text'>
All static files used by rustdoc are now stored in static.files/ and
include a hash of their contents. They no longer include the contents of
the --resource-suffix flag. This clarifies caching semantics. Anything
in static.files can use Cache-Control: immutable because any updates
will show up as a new URL.

Invocation-specific files like crates-NN.js, search-index-NN.js,
and sidebar-items-NN.js still get the resource suffix.

The --disable-minification flag is removed because it would vary the
output of static files based on invocation flags. Instead, for
rustdoc development purposes it's preferable to symlink static files
to a non-minified copy for quick iteration.
</content>
</entry>
<entry>
<title>Improve loading of crates.js and sidebar-items.js</title>
<updated>2022-06-20T18:12:55+00:00</updated>
<author>
<name>Jacob Hoffman-Andrews</name>
<email>github@hoffman-andrews.com</email>
</author>
<published>2022-06-15T06:25:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=27dcebeb3e88b97420a6d8f9279102892e27c775'/>
<id>urn:sha1:27dcebeb3e88b97420a6d8f9279102892e27c775</id>
<content type='text'>
Now that the "All Crates" dropdown is only rendered on the search results page,
there is no need to load crates.js on most pages. Load it only on crate pages.
Also, add the `defer` attribute so it does not block page rendering.

For sidebar-items.js, move the script tag to `&lt;head&gt;`. Since it already has the
defer attribute it won't block loading. The defer attribute does preserve
ordering between scripts, so instead of the callback on load, it can set a
global variable on load, which is slightly simpler. Also, since it is required
to finish rendering the page, beginning its load earlier is better.

Remove generation and handling of sidebar-vars. Everything there can be computed
with information available in JS via other means.

Remove the "other" wrapper in the sidebar. It was unnecessary.

Remove excess script fields
</content>
</entry>
<entry>
<title>Remove `crate` visibility modifier in libs, tests</title>
<updated>2022-05-21T04:32:47+00:00</updated>
<author>
<name>Jacob Pratt</name>
<email>jacob@jhpratt.dev</email>
</author>
<published>2022-05-21T01:06:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=69702468865d582f512df31a52ac2608afe5df0d'/>
<id>urn:sha1:69702468865d582f512df31a52ac2608afe5df0d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove configuration which became unused in 8abb4bb698c9d74507adb9cd7b54a032f3c1b595</title>
<updated>2022-01-10T17:40:57+00:00</updated>
<author>
<name>Dirkjan Ochtman</name>
<email>dirkjan@ochtman.nl</email>
</author>
<published>2022-01-09T20:33:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=ef96d573bff12330080d22f12cad96b818ea5da7'/>
<id>urn:sha1:ef96d573bff12330080d22f12cad96b818ea5da7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Address feedback</title>
<updated>2022-01-10T17:40:57+00:00</updated>
<author>
<name>Dirkjan Ochtman</name>
<email>dirkjan@ochtman.nl</email>
</author>
<published>2022-01-03T20:16:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b00d6668b7665fbf040e4768030571bb5aa8c6de'/>
<id>urn:sha1:b00d6668b7665fbf040e4768030571bb5aa8c6de</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Migrate rustdoc from Tera to Askama</title>
<updated>2022-01-10T17:40:54+00:00</updated>
<author>
<name>Dirkjan Ochtman</name>
<email>dirkjan@ochtman.nl</email>
</author>
<published>2022-01-03T17:18:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=93a16cb7e2ee415f9b1a46165b297aa16b2a4fa0'/>
<id>urn:sha1:93a16cb7e2ee415f9b1a46165b297aa16b2a4fa0</id>
<content type='text'>
See #84419.
</content>
</entry>
</feed>
