diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2024-07-28 13:42:19 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-28 13:42:19 +0200 |
| commit | 20cf5ade159d39a30e4c04f9b27b7307f07558f9 (patch) | |
| tree | 12990a8d7357fe6b93d5abd1e69c70a69a6f24d5 /compiler/rustc_builtin_macros/src | |
| parent | cc17ca241434db76ce34ec4c7cfdddd7c3fb990f (diff) | |
| parent | 1c98b8f9226d0e7a4e0ef42dd558de2857812f7a (diff) | |
| download | rust-20cf5ade159d39a30e4c04f9b27b7307f07558f9.tar.gz rust-20cf5ade159d39a30e4c04f9b27b7307f07558f9.zip | |
Rollup merge of #128215 - ehuss:update-reference, r=Kobzol
Update the reference
This updates the reference to use the new mdbook-spec preprocessor, which is a Cargo library inside the reference submodule.
Note that this PR contains a bunch of bootstrap cleanup commits to assist with making sure the submodules are working correctly. All of the cleanup PRs should have a description in their commit. I'd be happy to move those to a separate PR if that makes review easier.
The main changes for the reference are:
- Move the `doc::Reference` bootstrap step out of the generic macro into a custom step.
- This step needs to build rustdoc because the new mdbook-spec plugin uses rustdoc for generating links.
- PATH is updated so that the rustdoc binary can be found.
- rustbook now includes the mdbook-spec plugin as a dependency.
- rustbook enables the mdbook-spec preprocessor.
I did a bunch of testing with the various commands and setups, such as:
- `submodules=true` and `submodules=false`
- having all submodules deinitialized
- not in a git repository
However, there are probably thousands of different permutations of different commands, settings, and environments, so there is a chance I'm missing something.
Diffstat (limited to 'compiler/rustc_builtin_macros/src')
0 files changed, 0 insertions, 0 deletions
