Commit Graph

17 Commits

Author SHA1 Message Date
Noah Lev ad93c5f1c4
Opt into, rather than out of, linkcheck (#2180)
This makes it less of a hassle to render the book locally.
2024-12-30 17:22:22 +08:00
Martin Liška af5411f075
Start using mdbook-linkcheck2 (#2103) 2024-12-28 15:00:32 -08:00
Nilstrieb f1095490cc
Delete length check (#1952)
It's super annoying to be forced to use this bad convention, and
apparently everyone agrees. The only reason no improvements have been
done is because those were blocked on writing a better checker.

I strongly believe that no checker is better than a bad checker, so
let's just delete it in the meantime. I kindly asked anyone who sees
this to complain about overly long sentences in review in the future, I
think we can make this turn out fine.
2024-03-30 17:46:30 +01:00
Yuki Okushi ec287e3327
Upgrade actions to use Node.js v20 (#1863) 2024-01-28 19:45:18 -03:00
jyn cf4daae9a6
Various improvements to `check_line_lengths.sh` (#1667) 2023-04-09 12:08:46 +09:00
Noah Lev 91d8bbe8a3
Bump dependencies to fix CI (#1610) 2023-02-18 09:37:19 +09:00
Yuki Okushi 566124f0df Use ephemeral PAT for linkcheck
Signed-off-by: Yuki Okushi <jtitor@2k36.org>
2023-01-28 20:39:19 +02:00
Yuki Okushi 3b98da0cd7 chore: Update `actions/github-script` to v6
Signed-off-by: Yuki Okushi <jtitor@2k36.org>
2022-12-08 18:59:18 -08:00
Yuki Okushi 27c2aa6f19 Update mdbook and its extensions versions
Signed-off-by: Yuki Okushi <jtitor@2k36.org>
2022-09-22 10:48:08 +02:00
Yuki Okushi 03752abfa4 Remove unmaintained action
Signed-off-by: Yuki Okushi <jtitor@2k36.org>
2022-09-22 10:48:08 +02:00
Yuki Okushi b8b984f0a2 Update some actions versions
Signed-off-by: Yuki Okushi <jtitor@2k36.org>
2022-09-22 10:48:08 +02:00
Niko Matsakis e764363e7f add mdbook-mermaid 2022-07-17 23:34:12 +02:00
Noah Lev dac568c95c Ensure date-check cron job is using latest stable Rust
This should prevent future failures like this one [1].

[1]: https://github.com/rust-lang/rustc-dev-guide/runs/4067460927?check_suite_focus=true
2021-11-04 09:33:03 -07:00
Tshepang Lekhonkhobe 74b138e1f0 update mdbook version to latest
v0.4.7 didn't have the feature to allow this

See https://github.com/rust-lang/rustc-dev-guide/pull/1180#issuecomment-899128718
2021-08-15 20:47:42 -05:00
Yuki Okushi e8129ee105 Trigger GHA only on the original repo 2021-04-27 13:15:39 -04:00
Yuki Okushi 674f73da63
Switch from Travis to GHA (#1073) 2021-03-10 11:51:56 -05:00
Camelid 5118b6b865 Implement date-checker
This tool looks for HTML comments like `<!-- date: 2021-01 -->` in each
Markdown source file and compiles a list of dates that are older than
six months. It then opens an issue with that list, with checkboxes for
each file and date. Note that it will only open an issue if there was at
least one date older than six months; it does nothing if the list is
empty.

This tool is automatically run monthly in a GitHub Actions workflow.
I have tested the tool on a private repo and confirmed that it works.
2021-02-03 19:29:07 -05:00