Noah Lev
d85deb6064
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
c609846601
Remove properly tracked config file from .gitignore & add support for skipping of link-checking ( #2023 )
...
* Remove properly tracked config file from .gitignore
The file is part of the git history and is a configuration file.
Fixes : #2018
* Add env. variable support
* Refactoring
* Really skip linkcheck if requested
2024-12-29 13:23:49 -08:00
Martin Liška
0d9aca4ccd
Start using mdbook-linkcheck2 ( #2103 )
2024-12-28 15:00:32 -08:00
Noah Lev
7d522989ff
Disable linkcheck in PRs until bugs are fixed
...
See https://github.com/Michael-F-Bryan/mdbook-linkcheck/issues/77
and https://github.com/Michael-F-Bryan/mdbook-linkcheck/issues/86 .
These bugs are causing linkcheck to erroneously fail because we run it
using `-f`, to avoid too many requests. For now, disable linkcheck in PR
CI, though leave it enabled in the cron job, where the bug should not
occur.
2024-08-07 20:32:37 -07:00
Martin Liška
f8fae75c0c
linkcheck: fix filtering of the source files ( #2019 )
2024-08-03 13:42:26 -03:00
jyn
b4b007be06
Don't require $GITHUB_TOKEN to build locally ( #1652 )
2023-03-27 00:28:07 +09:00
JohnTitor
1f796c2929
Remove the possible unnecessary flag
2021-04-27 13:15:39 -04:00
Yuki Okushi
ee94932928
Replace some Travis-related things completely
2021-04-27 13:15:39 -04:00
Yuki Okushi
9930c8bd21
Check `BASE_SHA` only if it's a PR ( #1083 )
2021-03-11 15:50:34 +01:00
Yuki Okushi
6dab96d7ea
Switch from Travis to GHA ( #1073 )
2021-03-10 11:51:56 -05:00
Joshua Nelson
a64e819af8
Improve contributor experience for the dev-guide itself ( #973 )
...
- Fix typos in the README
- Don't echo all instructions in the linkcheck.sh shellscript; this is
noisy and unhelpful when developing locally. Verbose output is still
enabled in CI.
- Link to the index page for compiler docs, not `rustc_middle`. Note
that the compiler docs are not a guide - that's us!
- Remove outdated instructions about avoiding 429s. These should no
longer be occurring locally now that we're using caching.
- Consolidate info about `mdbook` and `mdbook-linkcheck` near each other
2020-11-30 11:08:32 -03:00
mark
5643607b1b
don't use cache while running PR builds
2020-11-23 18:42:24 -05:00
Who? Me?!
7f22d040f8
Better error message
...
Co-authored-by: Camelid <camelidcamel@gmail.com>
2020-10-08 17:11:36 -04:00
Who? Me?!
b10bdb58f4
Lol logic is hard
...
Co-authored-by: Joshua Nelson <joshua@yottadb.com>
2020-10-08 17:11:36 -04:00
mark
b2ba3d1c14
add assert
2020-10-08 17:11:36 -04:00
Who? Me?!
26c1c5ddce
More debuggable bash settings
...
Co-authored-by: Joshua Nelson <joshua@yottadb.com>
2020-10-08 17:11:36 -04:00
Who? Me?!
7369dc03da
Add comment referring to travis docs
...
Co-authored-by: Joshua Nelson <joshua@yottadb.com>
2020-10-08 17:11:36 -04:00
mark
6ba01cf9eb
linkcheck only for changed files except in cron jobs
2020-10-08 17:11:36 -04:00