Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
deathaxe committed Dec 31, 2022
1 parent 7d9e708 commit f34b421
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 3 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/deploy-gh-pages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Deploy Docs to Github Pages

on:
push:
branches:
- 'master'
paths:
- 'docs/**'
workflow_dispatch:

jobs:
build:
name: Deploy Docs to Github Pages
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.8'
- name: Install MkDocs
run: pip install -r docs/requirements.txt
- name: Run MkDocs
run: mkdocs gh-deploy
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
.cache/
.mypy_cache/
.ropeproject/
.venv/
__pycache__/
site/
var/
Expand Down
5 changes: 5 additions & 0 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
mkdocs
mkdocs-material
mkdocs-git-revision-date-localized-plugin
mkdocs-minify-plugin
pymdown-extensions
4 changes: 1 addition & 3 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ theme:
palette:
primary: indigo
accent: red
logo:
icon: description

markdown_extensions:
- markdown.extensions.admonition:
Expand All @@ -34,7 +32,7 @@ markdown_extensions:
- markdown.extensions.def_list:
- markdown.extensions.tables:
- markdown.extensions.abbr:
- pymdownx.extrarawhtml:
# - pymdownx.extrarawhtml:
- pymdownx.superfences:
- pymdownx.highlight:
css_class: codehilite
Expand Down

0 comments on commit f34b421

Please sign in to comment.