about summary refs log tree commit diff
path: root/src/doc/rustc-dev-guide/.github
diff options
context:
space:
mode:
authorTshepang Mbambo <hopsi@tuta.io>2025-08-03 06:55:44 +0200
committerGitHub <noreply@github.com>2025-08-03 06:55:44 +0200
commit3bba46bb5242e2b32c9e48eaedcea1d55f9ebb2a (patch)
tree71ce326c3053c1c4a257bb72ce11f682eb55726c /src/doc/rustc-dev-guide/.github
parent700e063e7ed65307371adb0177f1c1312a14c96c (diff)
parent65589ad33f544003e49cabeb0b76f6b1f0d3ce30 (diff)
downloadrust-3bba46bb5242e2b32c9e48eaedcea1d55f9ebb2a.tar.gz
rust-3bba46bb5242e2b32c9e48eaedcea1d55f9ebb2a.zip
Merge pull request #2509 from rust-lang/tshepang-auto-toc
make toc generation fully automatic
Diffstat (limited to 'src/doc/rustc-dev-guide/.github')
-rw-r--r--src/doc/rustc-dev-guide/.github/workflows/ci.yml4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/doc/rustc-dev-guide/.github/workflows/ci.yml b/src/doc/rustc-dev-guide/.github/workflows/ci.yml
index daf5223cbd4..6eabb999fb0 100644
--- a/src/doc/rustc-dev-guide/.github/workflows/ci.yml
+++ b/src/doc/rustc-dev-guide/.github/workflows/ci.yml
@@ -17,7 +17,6 @@ jobs:
       MDBOOK_VERSION: 0.4.48
       MDBOOK_LINKCHECK2_VERSION: 0.9.1
       MDBOOK_MERMAID_VERSION: 0.12.6
-      MDBOOK_TOC_VERSION: 0.11.2
       MDBOOK_OUTPUT__LINKCHECK__FOLLOW_WEB_LINKS: ${{ github.event_name != 'pull_request' }}
       DEPLOY_DIR: book/html
       BASE_SHA: ${{ github.event.pull_request.base.sha }}
@@ -34,7 +33,7 @@ jobs:
         with:
           path: |
             ~/.cargo/bin
-          key: ${{ runner.os }}-${{ env.MDBOOK_VERSION }}--${{ env.MDBOOK_LINKCHECK2_VERSION }}--${{ env.MDBOOK_TOC_VERSION }}--${{ env.MDBOOK_MERMAID_VERSION }}
+          key: ${{ runner.os }}-${{ env.MDBOOK_VERSION }}--${{ env.MDBOOK_LINKCHECK2_VERSION }}--${{ env.MDBOOK_MERMAID_VERSION }}
 
       - name: Restore cached Linkcheck
         if: github.event_name == 'schedule'
@@ -57,7 +56,6 @@ jobs:
         run: |
           cargo install mdbook --version ${{ env.MDBOOK_VERSION }}
           cargo install mdbook-linkcheck2 --version ${{ env.MDBOOK_LINKCHECK2_VERSION }}
-          cargo install mdbook-toc --version ${{ env.MDBOOK_TOC_VERSION }}
           cargo install mdbook-mermaid --version ${{ env.MDBOOK_MERMAID_VERSION }}
 
       - name: Check build