Eric Huss
e9e3bb6ddd
Use consistent sentence case for section headers
...
There was a mix of different capitalization here, so I'm just going to
pick the one we use most often.
2025-08-16 14:59:05 -07:00
Michael Howell
2dc8c5e686
Use embedded SVG instead of fonts for icons
...
The [downsides of icon fonts] are well-documented, and also, why ship all of
the icons when it only uses 14?
[downsides of icon fonts]: https://speakerdeck.com/ninjanails/death-to-icon-fonts
2025-08-14 20:14:55 -07:00
Eric Huss
ff5e85af51
Replace navigation helpers with objects
...
This replaces the `{{#previous}}` and `{{#next}}` handelbars helpers
with simple objects that contain the previous and next values. These
helpers have been a bit fussy to work with and have caused issues in the
past. This drops a large amount of somewhat fragile code with something
that is a bit simpler.
Additionally, this switches the previous/next arrows to use an `{{#if}}`
instead CSS trickery which may help with upcoming changes to
font-awesome.
2025-08-13 17:56:18 -07:00
Michael Howell
879449447f
feat(html): cache bust static files by adding hashes to file names
...
Closes rust-lang#1254
2025-02-13 10:39:22 -07:00
Eric Huss
89878519b4
docs: Switch the guide to use smart punctuation.
2024-05-13 13:43:04 -07:00
Wil Wade
58a23e06a1
Fix incorrect theme documentation
...
The theme documentation for next and previous used name instead of title
2024-02-20 15:29:30 -05:00
Maxime BORGES
6201e577fe
[guide/format/theme/index-hbs] chapter_title and book_title are inverted
...
Looking into the code, we can confirm that the implementation is `{{ chapter_title }} - {{ book_title }}` and not `{{ book_title }} - {{ chapter_title }}` as written in the guide:
4c951d530d/src/renderer/html_handlebars/hbs_renderer.rs (L69)
2020-12-22 22:36:58 +01:00
Camelid
b77942d3c8
Rename book-example to guide ( #1336 )
...
`book-example` is a bit of a strange name given that it's not just an
example.
2020-09-23 03:16:09 +02:00