We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 57117cf commit 91f915dCopy full SHA for 91f915d
.github/workflows/ci.yml
@@ -14,7 +14,7 @@ jobs:
14
if: github.repository == 'rust-lang/rustc-dev-guide'
15
runs-on: ubuntu-latest
16
env:
17
- MDBOOK_VERSION: 0.4.52
+ MDBOOK_VERSION: 0.4.48
18
MDBOOK_LINKCHECK2_VERSION: 0.9.1
19
MDBOOK_MERMAID_VERSION: 0.12.6
20
MDBOOK_OUTPUT__LINKCHECK__FOLLOW_WEB_LINKS: ${{ github.event_name != 'pull_request' }}
src/contributing.md
@@ -370,9 +370,6 @@ You can also use `rustdoc` directly to check small fixes. For example,
370
`rustdoc src/doc/reference.md` will render reference to `doc/reference.html`.
371
The CSS might be messed up, but you can verify that the HTML is right.
372
373
-Please notice that at this time we don't accept typography/spellcheck fixes to **internal documentation** (example:
374
-tests, library or compiler code) as it's usually not worth the churn or the review time.
375
-
376
### Contributing to rustc-dev-guide
377
378
Contributions to the [rustc-dev-guide] are always welcome, and can be made directly at
src/rustdoc.md
@@ -60,6 +60,17 @@ does is call the `main()` that's in this crate's `lib.rs`, though.)
60
* Use `./x test tests/rustdoc*` to run the tests using a stage1
61
rustdoc.
62
* See [Rustdoc internals] for more information about tests.
63
+* Use `./x test tidy --extra-checks=js` to run ESLint/TSC checks on rustdoc's frontend code.
64
+
65
+### Frontend CI checks
66
67
+Rustdoc's JavaScript and TypeScript are checked by ESLint and `tsc` during CI, not by compiletest. These run as part of the tidy job:
68
69
+```bash
70
+./x.py test tidy --extra-checks=js
71
+```
72
73
+The `--extra-checks=js` flag enables the frontend linting that runs in CI.
74
75
[`bootstrap.toml`]: ./building/how-to-build-and-run.md
76
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments