Eric Huss
1620858032
Improve the heading nav debug
...
This updates the heading nav debug code with a few changes:
- Now enabled with the `mdbookEnableThresholdDebug` function.
- Adds a table with the relevant internal variables.
2025-10-20 17:05:44 -07:00
Eric Huss
4a07076896
Merge pull request #2890 from ehuss/remove-chrome-tabs
...
Remove tabs in chrome.css
2025-10-20 22:47:42 +00:00
Eric Huss
3a2705d742
Remove tabs in chrome.css
...
This causes awkwardness with some editors which want to replace tabs
with spaces.
2025-10-20 15:41:33 -07:00
Eric Huss
b0229e76a5
Merge pull request #2888 from ehuss/rustfmt-ignore-blame
...
Add more rustfmt commits to git blame ignore
2025-10-20 20:36:54 +00:00
Eric Huss
a43ef4ca4b
Add more rustfmt commits to git blame ignore
...
These generally aren't interesting when blaming.
2025-10-20 13:31:03 -07:00
Eric Huss
780fd83cac
Merge pull request #2886 from ehuss/simplify-runner
...
Simplify GUI runner
2025-10-15 21:11:50 +00:00
Eric Huss
d5406c8dff
Simplify GUI runner
...
It didn't click that this was in the same project, and thus can access
the exe directly.
2025-10-15 14:05:23 -07:00
Eric Huss
5e7b6d7d9d
Merge pull request #2885 from ehuss/multiple-gui-books
...
Support multiple books in the GUI tests
2025-10-15 14:09:15 +00:00
Eric Huss
07d2989486
Merge pull request #2884 from ehuss/fix-xtask-format
...
Fix incorrect string formatting in xtask error message
2025-10-15 14:04:36 +00:00
Eric Huss
5fe7e9531d
Remove test_book
...
This is no longer used, as individual books have been added to support
different GUI tests. If there is anything here that we later decide we
need to keep for whatever reason, the needed content can be brought back
as new GUI test books. Otherwise, the guide and other books should cover
most things here.
2025-10-15 07:00:35 -07:00
Eric Huss
f958a0e8cf
Add a syntax-highlighting GUI test
...
This adds a test specific to highlight.js syntax highlighting.
2025-10-15 07:00:35 -07:00
Eric Huss
dbad189b26
Add a gui test book for search
...
This isolates the search test with its own test book.
2025-10-15 07:00:35 -07:00
Eric Huss
4a06e067c5
Add a general-purpose summary GUI book
...
This adds the all-summary GUI test book which can be used for general
purpose tests that need a few pages to exercise all the different kinds
of items.
2025-10-15 07:00:35 -07:00
Eric Huss
98a093a0ff
Move redirect gui tests to its own book
2025-10-15 07:00:35 -07:00
Eric Huss
9b5c57bf48
Add a basic book for GUI tests
...
This is the default book with a single chapter.
2025-10-15 07:00:35 -07:00
Eric Huss
87e9cc0ac3
Move heading-nav gui tests to a dedicated book
2025-10-15 07:00:35 -07:00
Eric Huss
e37e5314f8
Support multiple books in the GUI tests
...
This adds the ability to use multiple books for the GUI tests. This is
helpful since some tests need special configuration, and sharing the
same book can make it difficult or impossible to test different
configurations. It also makes it difficult to make changes to the
test_book since it can affect other tests.
This works by placing the books in the tests/gui/books directory. The
test runner will automatically build all the books. The gui tests can
then just access the DOC_PATH with the name of the book.
Books are now saved in a temp directory to make it easier to use the
DOC_PATH variable, instead of being tests/gui/books/book_name/book which
is a little awkward.
Following commits will restructure the existing book. This is just a
mechanical move.
2025-10-15 07:00:33 -07:00
Eric Huss
4913bf82f1
Fix incorrect string formatting in xtask error message
2025-10-15 06:57:39 -07:00
Eric Huss
4e41c844c3
Merge pull request #2876 from ehuss/xtask-bump
...
Add `cargo xtask bump`
2025-09-28 23:21:34 +00:00
Eric Huss
0ae202ea85
Add cargo xtask bump
...
This is a simple script to assist with bumping the version.
2025-09-28 16:14:41 -07:00
Eric Huss
71083144e8
Merge pull request #2875 from ehuss/0.5-alpha.1-changelog
...
Add 0.5 migration guide
2025-09-28 22:31:29 +00:00
Eric Huss
7eb63bf0e3
Merge pull request #2874 from ehuss/cmd-docs
...
Remove partially outdated CmdPreprocessor/CmdRenderer docs
2025-09-28 22:28:45 +00:00
Eric Huss
283b2798e4
Add 0.5 migration guide
...
This adds a migration guide for the breaking change in 0.5. This also
includes the changelog entries for 0.5-alpha.1.
2025-09-28 15:24:55 -07:00
Eric Huss
91842c3db6
Remove partially outdated CmdPreprocessor/CmdRenderer docs
...
These docs were slightly drifting from the user guide docs. Instead of
trying to maintain multiple copies of this, I have changed it so that
it just links out to the guide.
(The guide docs could be cleaned up a little, but that's a separate
issue.)
2025-09-28 15:22:49 -07:00
Eric Huss
fd88719b68
Merge pull request #2869 from rust-lang/renovate/notify-debouncer-mini-0.x
...
Update Rust crate notify-debouncer-mini to 0.7.0
2025-09-28 17:06:49 +00:00
renovate[bot]
c438e13027
Update Rust crate notify-debouncer-mini to 0.7.0
2025-09-28 10:00:01 -07:00
Eric Huss
8e9697bd8b
Merge pull request #2870 from rust-lang/renovate/actions-checkout-5.x
...
Update actions/checkout action to v5
2025-09-28 16:46:48 +00:00
Eric Huss
dcf7ae45c2
Merge pull request #2872 from rust-lang/renovate/node-22.x
...
Update dependency node to v22
2025-09-28 16:43:35 +00:00
Eric Huss
38fa5b5ebc
Merge pull request #2871 from rust-lang/renovate/actions-setup-node-5.x
...
Update actions/setup-node action to v5
2025-09-28 16:42:02 +00:00
Eric Huss
41262665e8
Merge pull request #2868 from rust-lang/renovate/browser-ui-test-0.x
...
Update dependency browser-ui-test to v0.22.2
2025-09-28 16:40:45 +00:00
Eric Huss
21dc3b0eb1
Merge pull request #2867 from ehuss/xtask-changelog
...
Add a script to help update the changelog
2025-09-28 16:19:00 +00:00
renovate[bot]
44cd371066
Update dependency node to v22
2025-09-28 16:17:55 +00:00
renovate[bot]
1c766160c3
Update actions/setup-node action to v5
2025-09-28 16:17:52 +00:00
renovate[bot]
2cb4093cc8
Update actions/checkout action to v5
2025-09-28 16:17:49 +00:00
renovate[bot]
dad941454e
Update dependency browser-ui-test to v0.22.2
2025-09-28 16:17:11 +00:00
Eric Huss
2a93606727
Add a script to help update the changelog
...
This adds `cargo xtask changelog` to automatically add a new changelog
entry for a release.
2025-09-28 09:13:16 -07:00
Eric Huss
78819f4525
Merge pull request #2866 from ehuss/xtask-test
...
Add an xtask to help with running tests
2025-09-27 02:01:09 +00:00
Eric Huss
2c7d192b50
Add an xtask to help with running tests
...
During development I often need to run a bunch of tests. Instead of
having some unwieldy shell command, I have added this xtask to help with
running the testing commands.
2025-09-26 18:55:21 -07:00
Eric Huss
e15f80407d
Merge pull request #2865 from ehuss/new-publish-workflow
...
Set up new workspace publish workflow
2025-09-27 00:46:02 +00:00
Eric Huss
4fc72e8d9f
Set up new workspace publish workflow
...
This sets up the publish workflow to use the new OIDC authentication,
and to publish the whole workspace at once.
2025-09-26 17:40:34 -07:00
Eric Huss
b4c53b9e9c
Merge pull request #2864 from rust-lang/renovate/cargo-semver-checks-0.x
...
Update cargo-semver-checks to v0.44.0
2025-09-26 21:33:50 +00:00
renovate[bot]
2011ddb479
Update cargo-semver-checks to v0.44.0
2025-09-26 17:48:43 +00:00
Eric Huss
4a28995641
Merge pull request #2858 from ehuss/add-semver-checks
...
Add cargo-semver-checks
2025-09-26 17:42:43 +00:00
Eric Huss
4c397a9be0
Merge pull request #2862 from ehuss/add-range-diff
...
Add triagebot range-diff feature
2025-09-25 00:07:51 +00:00
Eric Huss
f1b413444b
Add triagebot range-diff feature
...
This adds a comment on a PR when the author rebases to have a link
to a better diff.
2025-09-24 17:00:52 -07:00
Eric Huss
cd1b54f41f
Merge pull request #2861 from ehuss/add-update-dependencies
...
Add job to automatically update dependencies
2025-09-24 23:13:53 +00:00
Eric Huss
83c307be3c
Add job to automatically update dependencies
...
This adds a job to automatically update cargo dependencies once a month.
I've added this script instead of using Renovate because I couldn't get
Renovate to update versions in `Cargo.toml`. I also wanted to batch
transitive dependency updates all in one PR.
2025-09-24 16:05:14 -07:00
Eric Huss
9ec49d978f
Merge pull request #2860 from ehuss/add-renovate
...
Add Renovate configuration
2025-09-24 23:05:00 +00:00
Eric Huss
7dee816838
Add Renovate configuration
...
This adds a configuration to enable Renovate to do some basic automated
updates.
2025-09-24 15:55:16 -07:00
Eric Huss
5b79ed4144
Add cargo-semver-checks
...
This adds cargo-semver-checks to CI to help catch any unintended
breaking changes to the API.
2025-09-20 18:19:48 -07:00