Skip to content

Commit

Permalink
Merge pull request #991 from synfinatic/unify-mkdocs
Browse files Browse the repository at this point in the history
unify building of mkdocs
  • Loading branch information
synfinatic authored Jul 13, 2024
2 parents 39f9b72 + 6071dc9 commit 7c28c98
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release-mkdocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
python-version: 3.11.6
- name: Install Dependencies
run: |
pip install mkdocs-material pillow cairosvg mike -r docs/requirements.txt
pip install -r docs/requirements.txt
- name: Setup Docs Deploy
run: |
git config --global user.name "Docs Deploy"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-mkdocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
python-version: 3.11.6
- name: Install Dependencies
run: |
pip install mkdocs-material pillow cairosvg mike -r docs/requirements.txt
pip install -r docs/requirements.txt
- name: Setup Docs Deploy
run: |
git config --global user.name "Docs Deploy"
Expand Down
3 changes: 2 additions & 1 deletion Dockerfile.mkdocs
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
FROM squidfunk/mkdocs-material:9.5.27
RUN pip install -r docs/requirements.txt mike
COPY docs/requirements.txt .
RUN pip install -r requirements.txt
4 changes: 4 additions & 0 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
mkdocs-asciinema
mkdocs-material
pillow
cairosvg
mike

0 comments on commit 7c28c98

Please sign in to comment.