Eric Huss
06e8f6f849
Fix wrong quotes for eslint
2025-04-17 09:24:45 -07:00
Eric Huss
36e5525ea5
Merge pull request #2668 from ehuss/dont-mark-svg
...
Ignore SVG text elements in search highlighting
2025-04-17 14:53:16 +00:00
Eric Huss
e5d5f5d02b
Ignore SVG text elements in search highlighting
2025-04-17 07:39:22 -07:00
Eric Huss
98088c91dd
Merge pull request #2659 from szabgab/fix-typo-in-template
...
fix typo in template
2025-04-16 20:46:35 +00:00
Eric Huss
a4f7d11e92
Merge pull request #2658 from szabgab/fix-typo
...
fix typo
2025-04-16 20:46:18 +00:00
Gabor Szabo
4c7e85ba82
fix typo
2025-04-10 08:48:51 +03:00
Gabor Szabo
9693c4af05
fix typo
2025-04-10 08:28:13 +03:00
Eric Huss
3052fe3827
Merge pull request #2644 from kg4zow/fonts-binary
...
Mark more font files as binary
2025-04-08 15:42:52 +00:00
Eric Huss
c85c3eb292
Merge pull request #2646 from szabgab/remove-multilingual
...
Remove the book.multilingual field
2025-04-08 15:41:55 +00:00
Eric Huss
0d734bbb03
Merge pull request #2650 from rust-lang/dependabot/cargo/tokio-1.43.1
...
Bump tokio from 1.43.0 to 1.43.1
2025-04-08 03:45:47 +00:00
dependabot[bot]
b9b34f97d9
Bump tokio from 1.43.0 to 1.43.1
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.43.0 to 1.43.1.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.43.0...tokio-1.43.1 )
---
updated-dependencies:
- dependency-name: tokio
dependency-version: 1.43.1
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-04-08 02:14:28 +00:00
Gabor Szabo
ee59e22603
Remove the book.multilingual field
...
As it is seems it has never been in real use.
See #2636
2025-04-06 13:27:13 +03:00
John Simpson
22a6dca69b
Mark more font files as binary
...
Not having these files marked as binary causes problems for older
versions of git (like 1.8.3.1 on CentOS/RHEL 7).
2025-04-05 20:41:36 -04:00
Eric Huss
4f698f813c
Merge pull request #2622 from szabgab/warn-on-invalid-configuration-field
...
warn on invalid fields in the root of book.toml
2025-04-03 18:23:26 +00:00
Eric Huss
97f1948681
Make the unexpected case explicit that it is an internal error
...
The current code has the `else` clause as unreachable, and the text it
has isn't clear that is the case.
2025-04-03 11:17:25 -07:00
Eric Huss
b7a27d2759
Merge pull request #2629 from ehuss/bump-version
...
Update to 0.4.48
2025-03-31 20:17:02 +00:00
Eric Huss
d67dbc74fd
Update to 0.4.48
2025-03-31 12:55:28 -07:00
Eric Huss
d9d27f38c3
Merge pull request #2625 from GuillaumeGomez/simplify-resources-location
...
Simplify resources location
2025-03-31 19:47:15 +00:00
Guillaume Gomez
4886c92fa4
Finish moving resources around
2025-03-31 21:18:22 +02:00
Guillaume Gomez
195d97a514
Move JS files into front-end/js
2025-03-31 21:18:22 +02:00
Guillaume Gomez
e954e872f0
Move css and font files into front-end
2025-03-31 21:18:22 +02:00
Guillaume Gomez
e74b4b0507
Move template files into front-end/templates folder
2025-03-31 21:18:22 +02:00
Eric Huss
4946c78e8c
Merge pull request #2576 from tmandry/default-auto-switch
...
Add "Auto" theme selection which switches between default light and dark theme automatically
2025-03-31 18:56:39 +00:00
Eric Huss
54d8d37b77
Fix eslint errors
...
This updates the ecmaVersion due to the ?? nullish coalescing operator.
2025-03-31 11:50:13 -07:00
Tyler Mandry
20eea0b41e
Add "Auto" option to theme menu
...
This switches between light and dark based on the OS, and provides a way
to remove a saved preference.
2025-03-31 11:37:06 -07:00
Tyler Mandry
8835bdc47e
Switch theme when preferred color scheme changes
2025-03-31 11:34:40 -07:00
Eric Huss
7a1977a78c
Merge pull request #2613 from szabgab/avoid-duplicate-entries
...
Avoid using the same file twice in SUMMARY.md
2025-03-31 18:15:16 +00:00
Eric Huss
629c09df4d
Merge pull request #2627 from szabgab/test/empty-cli
...
test the command line without any parameters #1568
2025-03-31 18:06:55 +00:00
Gabor Szabo
7247e5f9a1
test the command line without any parameters #1568
2025-03-31 11:39:38 +03:00
Eric Huss
a3c0ecdb45
Merge pull request #2626 from ehuss/footnote-backrefs-style
...
Add footnote backreferences, and update styling
2025-03-30 13:51:46 +00:00
Eric Huss
b20b1757a9
Add footnote backreferences, and update styling
...
This makes several changes to how footnotes are rendered:
- Backlinks are now included, which links back to the reference so you
can continue reading where you left off.
- Footnotes are moved to the bottom of the page. This helps with the
implementation of numbering, and is a style some have requested. I
waffled a lot on this change, but supporting the in-place style was
just adding too much complexity.
- Footnotes are now highlighted when you click on a reference.
- Some of the spacing for elements within a footnote has now been fixed
(such as supporting multiple paragraphs).
- Footnote navigation now scrolls to the middle of the page.
This is an alternative to https://github.com/rust-lang/mdBook/pull/2475
Closes https://github.com/rust-lang/mdBook/issues/1927
Closes https://github.com/rust-lang/mdBook/issues/2169
Closes https://github.com/rust-lang/mdBook/issues/2595
2025-03-30 06:44:59 -07:00
Gabor Szabo
1bc2ebd775
warn on invalid fields in root of book.toml
2025-03-28 10:56:41 +03:00
Eric Huss
a56cffeb4e
Merge pull request #2616 from rust-lang/ehuss-patch-2
...
Add more triagebot features
2025-03-23 20:10:38 +00:00
Eric Huss
c908ac8cc5
Add more triagebot features
2025-03-23 13:04:10 -07:00
Eric Huss
b47d1cff33
Merge pull request #2554 from GuillaumeGomez/eslint
...
Fix eslint warnings and add eslint check in CI
2025-03-23 19:50:44 +00:00
Eric Huss
780daa73ae
Merge pull request #2609 from szabgab/gh-pages-explanation
...
add explanation I learned in #2606
2025-03-23 19:43:33 +00:00
Guillaume Gomez
9114905a93
Use serde_json instead of json to get browser-ui-test version
2025-03-23 10:06:12 +01:00
Guillaume Gomez
a7aaef1e85
Add information on eslint and how to install and run it
2025-03-23 10:06:12 +01:00
Guillaume Gomez
9823246ecd
Add eslint check in the CI
2025-03-23 10:06:12 +01:00
Guillaume Gomez
861940ba4b
Fix eslint warnings
2025-03-23 10:06:12 +01:00
Eric Huss
3ed302467e
Merge pull request #2552 from GuillaumeGomez/deduplicate-search-indexes
...
Remove JSON search file
2025-03-22 23:07:37 +00:00
Guillaume Gomez
f54356da10
Remove fail-on-request-error in GUI tests as they are not needed anymore
2025-03-22 17:56:22 +01:00
Guillaume Gomez
418d677584
Improve warning message when search index is too big
2025-03-22 17:49:30 +01:00
Guillaume Gomez
a0eb8c0a0e
Remove JSON search file
2025-03-22 17:48:16 +01:00
Gabor Szabo
67b4260021
Avoid using the same file twice in SUMMARY.md
...
See #2612
2025-03-22 14:55:49 +02:00
Gabor Szabo
7c6d47e8b6
add explanation I learned in #2606
2025-03-21 16:32:07 +02:00
Eric Huss
43281c85c5
Merge pull request #2604 from szabgab/test/arrow-keys
...
Add GUI test to check the left and right arrow keys
2025-03-21 01:27:47 +00:00
Eric Huss
e73d3b7cfa
Merge pull request #2602 from szabgab/gui-tests
...
Select all the GUI tests if no filter was provided
2025-03-21 00:25:11 +00:00
Gabor Szabo
1de8cf8ba6
try the last pages as well
2025-03-20 22:07:08 +02:00
Gabor Szabo
85afbe466e
Add GUI test to check the left and right arrow keys
2025-03-20 21:58:21 +02:00