Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 8 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,16 @@ jobs:
# echo "pymdownx.magiclink" >> requirements.txt
# echo "pymdownx.superfences" >> requirements.txt

- name: Deploy with MkDocs Material
uses: peaceiris/actions-mkdocs-gh-pages@v4
- name: Build MkDocs site
run: |
pip install -r requirements.txt
mkdocs build

- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v4.0.0
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
requirements_file: requirements.txt
enable_pdf_export: true # Attempts to install WeasyPrint and its dependencies for mkdocs-with-pdf
publish_dir: ./site
force_push: true # Equivalent to mkdocs gh-deploy --force
# deploy_branch: gh-pages # Default is gh-pages
# custom_domain: your.custom.domain # If you have one
4 changes: 2 additions & 2 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,8 @@ theme:
plugins:
- render_swagger:
allow_arbitrary_locations : true
javascript: ../../assets/js/swagger-ui-bundle.js
css: ../../assets/css/swagger-ui.css
javascript: assets/js/swagger-ui-bundle.js
css: assets/css/swagger-ui.css
- with-pdf


Expand Down
Loading