From 1ef0db3f45e42cffbd8fd50ddddfaffca9c11aaa Mon Sep 17 00:00:00 2001 From: squidfunk Date: Fri, 1 May 2026 19:21:18 +0200 Subject: [PATCH 1/2] Updated documentation workflow --- .github/workflows/documentation.yml | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index 3387b9e376d..1899f2ac6bc 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -37,7 +37,6 @@ jobs: name: Build documentation runs-on: ubuntu-latest steps: - - name: Checkout repository uses: actions/checkout@v5 with: @@ -78,16 +77,11 @@ jobs: env: GH_TOKEN: ${{ secrets.GH_TOKEN }} run: | - # Warning: please don't use this method when installing Insiders from - # CI! We have to do it this way in order to allow for overrides on our - # own documentation, but you should stick to the method we recommend - # in the publishing guide – see https://bit.ly/3zjdJtw - git clone --depth 1 https://${GH_TOKEN}@github.com/squidfunk/mkdocs-material-insiders.git - pip install -e mkdocs-material-insiders - cp mkdocs-material-insiders/mkdocs.yml mkdocs.yml - # echo 'extra_javascript: [${{ vars.CHAT_CLIENT_URL }}]' >> mkdocs.yml + git clone --depth 1 https://${GH_TOKEN}@github.com/squidfunk/mkdocs-material-overrides.git + pip install -e mkdocs-material-overrides + cp mkdocs-material-overrides/mkdocs.yml mkdocs.yml rm -rf material - cp -r mkdocs-material-insiders/material material + cp -r mkdocs-material-overrides/material material - name: Build documentation env: From 8d01326cd2e8d8030d39e6d69790bd01fa3b7e46 Mon Sep 17 00:00:00 2001 From: squidfunk Date: Fri, 1 May 2026 19:24:23 +0200 Subject: [PATCH 2/2] Disabled MkDocs 2.0 warning --- .github/workflows/documentation.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index 1899f2ac6bc..a8385b97b61 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -87,6 +87,7 @@ jobs: env: GH_TOKEN: ${{ secrets.GH_TOKEN }} GOOGLE_ANALYTICS_KEY: ${{ secrets.GOOGLE_ANALYTICS_KEY }} + DISABLE_MKDOCS_2_WARNING: true run: | mkdocs build --clean mkdocs --version