Skip to content

Commit e977f13

Browse files
committed
add mkdocs yml
1 parent 93c8508 commit e977f13

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed

.github/workflows/mkdocs.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Publish docs via GitHub Pages
2+
on:
3+
push:
4+
5+
jobs:
6+
build:
7+
name: Deploy docs
8+
runs-on: ubuntu-latest
9+
strategy:
10+
matrix:
11+
python-version: ["3.9"]
12+
steps:
13+
- name: Checkout master
14+
uses: actions/checkout@v3
15+
16+
- name: Deploy docs
17+
uses: mhausenblas/mkdocs-deploy-gh-pages@master
18+
env:
19+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
20+
# EXTRA_PACKAGES:
21+
# GITHUB_DOMAIN:
22+
REQUIREMENTS: requirements-mkdocs.txt

requirements-mkdocs.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
mkdocs>=1.3.0,<2.0.0
2+
mkdocstrings>=0.19.0,<1.0.0
3+
mkdocstrings-python>=0.7.1,<1.0.0
4+
mkdocs-material>=8.3.7,<9.0.0

0 commit comments

Comments
 (0)