We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7e8cf94 commit 7400130Copy full SHA for 7400130
1 file changed
.github/workflows/deploy-mkdocs.yml
@@ -14,9 +14,16 @@ jobs:
14
with:
15
python-version: '3.x'
16
- name: Install dependencies
17
- run: pip install mkdocs mkdocs-material
+ run: sudo apt install pandoc
18
- name: Build site
19
- run: mkdocs build --site-dir site
+ run: |
20
+ for f in docs/*.md; do
21
+ filename=$(basename "$f" .md)
22
+ pandoc "$f" -s -o "site/${filename}.html"
23
+ done
24
+ - name: Fix references from .md to .html
25
26
+ find site -type f -name "*.html" -exec sed -i 's/\.md"/.html"/g' {} +
27
- name: Deploy to GitHub Pages
28
uses: peaceiris/actions-gh-pages@v3
29
0 commit comments