Change docs provider (#652)

* switch to mkdocstrings

* update lock
This commit is contained in:
collerek
2022-05-06 12:50:26 +02:00
committed by GitHub
parent 24b6ff4781
commit 1a99a65eb4
55 changed files with 304 additions and 9702 deletions

View File

@ -9,18 +9,16 @@ jobs:
steps:
- name: Checkout Master
uses: actions/checkout@v3
- name: Set up Python 3.7
- name: Set up Python 3.8
uses: actions/setup-python@v2
with:
python-version: '3.7'
python-version: '3.8'
- name: Install dependencies
run: |
python3.7 -m pip install --upgrade pip
python3.7 -m pip install "mkdocs-material>=8.1.4,<9.0.0" "pydoc-markdown==3.13"
- name: Build API docs
run: pydoc-markdown --build --site-dir=api
- name: Copy APi docs
run: cp -Tavr ./build/docs/content/ ./docs/api/
python -m pip install poetry==1.1.11
poetry install
env:
POETRY_VIRTUALENVS_CREATE: false
- name: Deploy
run: |
mkdocs gh-deploy --force