Guillaume Gomez
fc7ef59dee
Allow to run only some specific GUI tests
2025-03-10 13:31:40 +01:00
Gabor Szabo
5fa9f12427
try to fix expected error on windows
2025-03-09 19:13:53 +02:00
Eric Huss
07b25cdb64
Merge pull request #2587 from ehuss/bump-version
...
Update to 0.4.47
2025-03-09 16:28:26 +00:00
Eric Huss
105d836fbc
Merge pull request #2586 from ehuss/fix-search-subchapter
...
Fix search not showing in sub-directories
2025-03-09 16:18:36 +00:00
Eric Huss
74fcaf5273
Update to 0.4.47
2025-03-09 09:14:57 -07:00
Eric Huss
74200f7395
Fix search not showing in sub-directories
...
This fixes a problem where the search was not displaying in
sub-directories. The problem was that `searcher.js` only exists in one
place, and was loading `searchindex.json` with a relative path. However,
when loading from a subdirectory, it needs the appropriate `..` to reach
the root of the book.
2025-03-09 09:10:50 -07:00
Gabor Szabo
a7ca2e169f
[test] error Couldn't open SUMMARY.md in load_book
2025-03-09 14:40:00 +02:00
Eric Huss
1a5286b25c
Merge pull request #2578 from ehuss/bump-version
...
Update to 0.4.46
2025-03-08 22:06:23 +00:00
Eric Huss
c493d3b5e3
Update to 0.4.46
2025-03-08 14:00:42 -08:00
Eric Huss
a68091a84c
Merge pull request #2571 from szabgab/missing_backends_are_fatal
...
Check content of the error message.
2025-03-08 20:46:53 +00:00
Gabor Szabo
32daca669a
Accomodate for different status message on Windows
...
Alternatively we could change the error message to
only include take the status code from the os by
using
output.status.code().unwrap() in preprocess/cmd.rs
where this error message is generated.
In that case we could have the exact same error
message on all the OS-es.
2025-03-06 07:25:51 +02:00
Gabor Szabo
cf5a78c0e1
Check content of the error message
...
in ask_the_preprocessor_to_blow_up
2025-03-05 23:24:18 +02:00
Eric Huss
b0cf568ba4
Merge pull request #2569 from szabgab/suffix_items_cannot_be_followed_by_a_list
...
check content of the error message
2025-03-05 17:56:16 +00:00
Gabor Szabo
bf544be282
Check content of the error message.
...
In missing_backends_are_fatal
2025-03-05 17:38:23 +02:00
Gabor Szabo
4f0dba8fdb
check content of the error message
...
in suffix_items_cannot_be_followed_by_a_list
2025-03-05 17:27:15 +02:00
Eric Huss
5390e44dec
Merge pull request #2566 from szabgab/remove-dots-from-docs
...
remove unnecessary dots from docs
2025-03-04 17:34:42 +00:00
Gabor Szabo
0fb814c6d6
eliminate needless_late_init
...
https://rust-lang.github.io/rust-clippy/master/index.html#needless_late_init
2025-03-04 17:34:08 +02:00
Gabor Szabo
e7e3317ff0
remove unnecessary dots from docs
2025-03-04 17:06:21 +02:00
Eric Huss
d68a596455
Merge pull request #2561 from szabgab/test-failure-in-summary
...
Test failure in SUMMARY.md when item is not a link
2025-03-03 18:43:36 +00:00
Eric Huss
ace2abff34
Merge pull request #2563 from jofas/patch-1
...
Enhanced wording for editable code blocks docs
2025-03-03 18:41:44 +00:00
Jonas Fassbender
0c6439faad
Enhanced wording for editable code blocks docs
2025-03-03 17:21:34 +01:00
Gabor Szabo
e7418f21f9
Test failure in SUMMARY.md when item is not a link
2025-03-03 10:33:27 +02:00
Eric Huss
19146c403e
Merge pull request #2557 from ehuss/fix-playground-edition
...
Fix playground edition detection
2025-02-26 14:02:34 +00:00
Eric Huss
66ded2302f
Fix playground edition detection
2025-02-26 05:50:25 -08:00
Eric Huss
98abb22be1
Merge pull request #1368 from notriddle/hash-files
...
feat(html): cache bust static files by adding hashes to file names
2025-02-20 18:32:17 +00:00
Eric Huss
ab304e7d38
More code simplification
2025-02-20 10:25:14 -08:00
Eric Huss
fbc21592af
Some clippy cleanup
2025-02-20 10:23:47 -08:00
Eric Huss
e7b69114ed
Remove some code duplication
2025-02-20 10:19:04 -08:00
Michael Howell
8a9ecd212d
Fix, and test, the no-js toc sidebar with hashed resources
...
To make this work, I need to break the circular dependency and
stop hashing toc.html itself.
2025-02-20 10:27:18 -07:00
Eric Huss
ec157cd1cd
Use full patch description for hex
2025-02-20 08:54:01 -08:00
Eric Huss
d3bcb359fa
Update sha2 to latest
2025-02-20 08:52:58 -08:00
Eric Huss
2a4e5583ab
Rewrite test to use tempfile
...
We don't want to be writing to arbitrary directories, and this
seems to make the test a little simpler.
2025-02-20 08:48:16 -08:00
Eric Huss
3978612611
Update some comments and formatting
2025-02-20 08:47:03 -08:00
Eric Huss
4941acdb87
Merge pull request #2551 from ehuss/bump-version
...
Update to 0.4.45
2025-02-17 18:26:17 +00:00
Eric Huss
7e3d2f96ab
Update to 0.4.45
2025-02-17 10:18:04 -08:00
Eric Huss
ddba36b24c
Merge pull request #2524 from WaffleLapkin/first-last-of-type-footnote
...
nicer style rules for margin around footnote defs
2025-02-17 18:12:15 +00:00
Eric Huss
35cf96a064
Merge pull request #2550 from ehuss/fix-expected-source-path
...
Fix issue with None source_path
2025-02-17 17:52:50 +00:00
Eric Huss
5777a0edc4
Fix issue with None source_path
...
This fixes an issue where mdbook would panic if a non-draft chapter has
a None source_path when generating the search index. The code was
assuming that only draft chapters would have that behavior. However, API
users can inject synthetic chapters that have no path on disk.
This updates it to fall back to the path, or skip if neither is set.
2025-02-17 09:41:52 -08:00
Eric Huss
53c3a92285
Add test for a chapter with no source path
2025-02-17 08:20:16 -08:00
Michael Howell
82db7f5b93
Add a bit more to the configuration docs
2025-02-13 14:22:54 -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
132ca0dca3
Merge pull request #2548 from tamird/patch-1
...
README.md: update workflow status badge
2025-02-13 16:25:11 +00:00
Tamir Duberstein
56c2b9ba3a
README.md: update workflow status badge
...
The previous badge was broken.
Link: https://docs.github.com/en/actions/monitoring-and-troubleshooting-workflows/monitoring-workflows/adding-a-workflow-status-badge
2025-02-13 11:01:08 -05:00
Eric Huss
542b6feed1
Merge pull request #2545 from ehuss/rustdoc-missing-error
...
Add context when `rustdoc` command is not found
2025-02-03 19:10:48 +00:00
Eric Huss
2af44a396f
Add context when rustdoc command is not found
2025-02-03 11:02:53 -08:00
Eric Huss
40d91fff29
Merge pull request #2540 from ehuss/bump-version
...
Update to 0.4.44
2025-01-28 17:58:16 +00:00
Eric Huss
59eab7cfc2
Update to 0.4.44
2025-01-28 09:50:04 -08:00
Eric Huss
1b524ff356
Merge pull request #2539 from ehuss/update-notify
...
Update notify to 8.0.0
2025-01-28 17:41:05 +00:00
Eric Huss
9b873e9d97
Bump rust-version to 1.77
2025-01-28 09:35:11 -08:00
Eric Huss
b6d6cb2711
Update notify to 8.0.0
2025-01-28 09:32:17 -08:00