upgrade to checkout v2, install python via action, add missing files to docs

This commit is contained in:
Jan Speller 2022-05-23 23:49:21 +02:00
parent ed7c754e71
commit 22d122f096
2 changed files with 16 additions and 7 deletions

View file

@ -11,10 +11,19 @@ jobs:
build_docs:
name: Build documentation
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.10']
steps:
- name: Checkout
uses: actions/checkout@v1
uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
architecture: x64
- name: Build doxygen
uses: mattnotmitt/doxygen-action@v1
@ -22,9 +31,7 @@ jobs:
working-directory: './'
doxyfile-path: 'docu/doxygen.ini'
- name: Build mkdocs
run: |
python -m pip install --upgrade pip
pip install mkdocs
python -m mkdocs build -f docu/mkdocs.yml
- run: python -m mkdocs gh-deploy -f docu/mkdocs.yml --force
- name: Install mkdocs
run: pip install mkdocs
- name: Build Docs and Deploy to Github Pages
run: python -m mkdocs gh-deploy -f docu/mkdocs.yml --force

View file

@ -26,6 +26,8 @@ nav:
- Plugins:
- Http: plugin/http.md
- Telegram: plugin/telegram.md
- Divera: plugin/divera.md
- MySQL: plugin/mysql.md
- Entwickler:
- Eigenes Modul/Plugin schreiben: develop/ModulPlugin.md
- BOSWatch Alarmpaket Format: develop/packet.md