Eric Huss
ed407b091c
Update to 0.4.43
2024-11-25 09:14:43 -08:00
Eric Huss
6c8020a3b9
Merge pull request #2495 from ehuss/stabilize-2024
...
Stabilize 2024 flag
2024-11-25 16:05:27 +00:00
Eric Huss
42f18d1e51
Stabilize 2024 flag
...
The 2024 edition is now stable on nightly, so the `-Z` flag is no longer necessary.
2024-11-23 15:25:29 -08:00
Eric Huss
d1078434af
Merge pull request #2486 from eureka-cpu/eureka-cpu/2485
...
fix `init --title` option failure when git user is not configured
2024-11-18 19:25:00 +00:00
eureka-cpu
8f024dabc3
fix init --title option failure when git user is not configured
2024-11-18 11:10:11 -08:00
Eric Huss
0c580c32c4
Add regression test for mdbook init title with no git config
...
Regression test for https://github.com/rust-lang/mdBook/issues/2485
2024-11-18 11:08:26 -08:00
Eric Huss
90960126e8
Merge pull request #2478 from rust-lang/ehuss-patch-1
...
Add note about updating `index.hbs`
2024-11-09 13:47:04 +00:00
Eric Huss
aa37f24fc1
Add note about updating index.hbs
2024-11-09 05:40:12 -08:00
Eric Huss
3f4f287e6e
Merge pull request #2474 from ehuss/bump-version
...
Update to 0.4.42
2024-11-07 14:49:21 +00:00
Eric Huss
55fe75c716
Update to 0.4.42
2024-11-07 06:42:05 -08:00
Eric Huss
c6236ead67
Merge pull request #2473 from notriddle/notriddle/folding
...
Fix inadvertently broken folding behavior
2024-11-07 14:39:31 +00:00
Michael Howell
68e3572278
Fix inadvertently broken folding behavior
2024-11-06 15:47:12 -07:00
Eric Huss
27ab7eb2f0
Merge pull request #2470 from ehuss/update-deps
...
Update dependencies
2024-11-06 17:42:16 +00:00
Eric Huss
6d183be0ec
Merge pull request #2471 from ehuss/bump-version
...
Update to 0.4.41
2024-11-06 17:41:56 +00:00
Eric Huss
c83a34b473
Update to 0.4.41
2024-11-06 09:36:21 -08:00
Eric Huss
d3e0e597d2
Update dependencies
2024-11-06 09:34:07 -08:00
Eric Huss
271bbba7dd
Merge pull request #2414 from notriddle/on2
...
Load the sidebar toc from a shared JS file or iframe
2024-11-02 23:56:19 +00:00
Eric Huss
86ff2e1e6b
Merge pull request #2465 from ehuss/footnote-line-height
...
Set line-height of superscripts to 0
2024-11-02 23:19:27 +00:00
Eric Huss
6ef7cc0ccb
Set line-height of superscripts to 0
...
This changes it so that superscript (and in particular footnote tags)
do not bump the line spacing of previous lines.
2024-11-02 16:12:07 -07:00
Eric Huss
f4cf32e768
Merge pull request #2464 from ehuss/remove-emphasis
...
Add a real example of remove-emphasis
2024-11-02 22:49:49 +00:00
Eric Huss
47384c1f18
Merge pull request #2463 from Pistonight/bug/theme_popup
...
fix: themes broken when localStorage has invalid theme id stored
2024-11-02 22:48:17 +00:00
Eric Huss
9e3d533acc
Add a real example of remove-emphasis
2024-11-02 15:41:55 -07:00
Eric Huss
5ec4f65ac3
Merge pull request #2454 from GuillaumeGomez/theme-noscript
...
Improve theme support when JS is disabled
2024-11-02 21:33:57 +00:00
Pistonight
4a330ae36f
fix: themes broken when localStorage has invalid theme id stored
2024-10-31 19:02:35 -07:00
Guillaume Gomez
d93fbc0f6b
Improve theme support when JS is disabled
2024-10-29 16:20:41 +01:00
Eric Huss
684bb78897
Merge pull request #2448 from jackieh/enhance-syntax-highlighting
...
Enhance syntax highlighting
2024-10-22 15:49:01 +00:00
Jackie Harris
d0dd16c527
Enhance syntax highlighting
...
Add syntax highlighting for `hljs-attr` and `hljs-section` CSS classes,
consistent with the Ayu theme.
2024-10-17 12:25:15 -05:00
Eric Huss
f4805343f8
Merge pull request #2442 from hamirmahal/style/simplify-string-formatting-for-readability
...
style: simplify string formatting for readability
2024-09-25 20:49:56 +00:00
Hamir Mahal
f9add3e936
fix: formatting in src/
and tests/
directories
2024-09-21 15:56:13 -07:00
Hamir Mahal
1fd9656291
style: simplify string formatting for readability
2024-09-21 15:53:59 -07:00
Eric Huss
6f281a6401
Merge pull request #2416 from campeis/update_handlebars_to_v6
...
chore: update handlebars to v6
2024-09-07 16:11:07 +00:00
Eric Huss
5194d2b3cd
Merge pull request #2421 from GuillaumeGomez/copy-code
...
Unify copy to clipboard icon with docs.rs, rustdoc and crates.io
2024-08-14 15:10:39 +00:00
Guillaume Gomez
b3c23c5f88
Add credits for clipboard image
2024-08-11 16:18:19 +02:00
Eric Huss
a15134cc2f
Merge pull request #2423 from radeksvarz/patch-1
...
added update how to
2024-08-11 12:51:44 +00:00
Eric Huss
b51bb101f2
Tweak heading wording
2024-08-11 05:46:48 -07:00
Eric Huss
59d26dbbe7
Move "upgrade mdbook" description to the build-from-source section
2024-08-11 05:45:26 -07:00
Radek
94baf19e6a
added update how to
...
Updating workflow is not clear for non rust users.
2024-08-07 12:01:19 +02:00
Guillaume Gomez
f1a446fb02
Unify copy to clipboard icon with docs.rs, rustdoc and crates.io
2024-08-02 11:55:17 +02:00
Alessandro Campeis
01d1242753
chore: update handlebars to v6
2024-07-23 10:32:47 +02:00
Michael Howell
203685e91c
Make the sidebar work without JS
...
Uses an iframe instead. The downside of iframes comes from them
not necessarily being same-origin as the main page (particularly
with `file:///` URLs), which can cause themes to fall out of sync,
but that's not a problem here since themes don't work without JS
anyway.
2024-07-16 12:38:00 -07:00
Michael Howell
2cb5b85ab2
Load the sidebar toc from a shared JS file
...
Before this change, the Rust `unstable-book` is 88MiB.
With this change, it becomes 15MiB. Other pages might not be
as extreme, but it's expected to help any book like this.
This change is so drastic because, if every chapter has a link to
every other chapter, the result is *O*(n<sup>2</sup>) text output.
2024-07-15 18:51:32 -07:00
Eric Huss
ec996d3509
Merge pull request #2406 from ehuss/fix-smart-link
...
Fix broken link to "Smart Punctuation"
2024-06-24 21:40:46 +00:00
Eric Huss
5ed3223185
Fix broken link to "Smart Punctuation"
2024-06-24 14:32:55 -07:00
Eric Huss
3bdcc0a5a6
Merge pull request #2398 from ehuss/edition2024
...
Add support for Rust Edition 2024
2024-06-12 22:59:25 +00:00
Eric Huss
1e4d4887e1
Add support for Rust Edition 2024
2024-06-12 15:53:56 -07:00
Eric Huss
94b922d27a
Merge pull request #2389 from ehuss/bump-version
...
Update to 0.4.40
2024-05-17 01:35:51 +00:00
Eric Huss
0a8f9a3f6b
Update to 0.4.40
2024-05-16 18:29:30 -07:00
Eric Huss
a5d4d1e0ad
Merge pull request #2386 from ehuss/revert-pulldown-cmark
...
Revert update to pulldown-cmark 0.11
2024-05-17 01:19:17 +00:00
Eric Huss
2bdb5866a7
Add comment not to update pulldown-cmark.
2024-05-16 18:10:56 -07:00
Eric Huss
65932289f7
Revert "Merge pull request #2381 from ehuss/update-pulldown-cmark"
...
This reverts commit 8884008b4d
,
(https://github.com/rust-lang/mdBook/pull/2381 ) reversing
changes made to 3d6caa504f
.
The `pulldown_cmark` types are a public API, which I did not realize.
2024-05-16 18:08:09 -07:00