Skip to content

Commit 1ef0db3

Browse files
committed
Updated documentation workflow
1 parent 280423f commit 1ef0db3

1 file changed

Lines changed: 4 additions & 10 deletions

File tree

.github/workflows/documentation.yml

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ jobs:
3737
name: Build documentation
3838
runs-on: ubuntu-latest
3939
steps:
40-
4140
- name: Checkout repository
4241
uses: actions/checkout@v5
4342
with:
@@ -78,16 +77,11 @@ jobs:
7877
env:
7978
GH_TOKEN: ${{ secrets.GH_TOKEN }}
8079
run: |
81-
# Warning: please don't use this method when installing Insiders from
82-
# CI! We have to do it this way in order to allow for overrides on our
83-
# own documentation, but you should stick to the method we recommend
84-
# in the publishing guide – see https://bit.ly/3zjdJtw
85-
git clone --depth 1 https://${GH_TOKEN}@github.com/squidfunk/mkdocs-material-insiders.git
86-
pip install -e mkdocs-material-insiders
87-
cp mkdocs-material-insiders/mkdocs.yml mkdocs.yml
88-
# echo 'extra_javascript: [${{ vars.CHAT_CLIENT_URL }}]' >> mkdocs.yml
80+
git clone --depth 1 https://${GH_TOKEN}@github.com/squidfunk/mkdocs-material-overrides.git
81+
pip install -e mkdocs-material-overrides
82+
cp mkdocs-material-overrides/mkdocs.yml mkdocs.yml
8983
rm -rf material
90-
cp -r mkdocs-material-insiders/material material
84+
cp -r mkdocs-material-overrides/material material
9185
9286
- name: Build documentation
9387
env:

0 commit comments

Comments
 (0)