Skip to content

Commit cd9deb6

Browse files
committed
fix: resolve mkdocs deployment configuration issues
- Add missing mkdocs-mermaid2-plugin dependency - Remove invalid extra_files configuration - Add .nojekyll file creation during build process to disable Jekyll
1 parent a997691 commit cd9deb6

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/deploy-docs.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,15 @@ jobs:
2323

2424
- name: Install dependencies
2525
run: |
26-
pip install mkdocs-material mkdocs-git-revision-date-localized-plugin pymdown-extensions
26+
pip install mkdocs-material mkdocs-git-revision-date-localized-plugin pymdown-extensions mkdocs-mermaid2-plugin
2727
2828
# - name: Generate changelog
2929
# run: git-cliff -c cliff.toml
3030

3131
- name: Build and Deploy
32-
run: mkdocs gh-deploy --force
32+
run: |
33+
mkdocs build
34+
touch site/.nojekyll
35+
mkdocs gh-deploy --force
3336
env:
3437
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

mkdocs.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,6 @@ plugins:
4848
type: date
4949
- mermaid2
5050

51-
extra_files:
52-
- .nojekyll
53-
5451
markdown_extensions:
5552
- pymdownx.highlight:
5653
anchor_linenums: true

0 commit comments

Comments
 (0)