Skip to content

Commit

Permalink
Merge pull request #61 from 15r10nk/fix-docu-generation
Browse files Browse the repository at this point in the history
docs: fix docu generation
  • Loading branch information
15r10nk authored May 20, 2024
2 parents 3a6fe0a + 6ba9c01 commit 4528f58
Show file tree
Hide file tree
Showing 4 changed files with 189 additions and 171 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/test_docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: test docs
on:
pull_request:
push:
branches: [main]

jobs:
build:
name: build docs
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.10'
architecture: x64
- run: pip install nox==2023.4.22
- run: pip install poetry nox-poetry
- run: nox --session mkdocs -- build
4 changes: 2 additions & 2 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def test(session):


@session(python="python3.10")
def docs(session):
def mkdocs(session):
session.install(
"mkdocs",
"mkdocs-material[imaging]",
Expand All @@ -85,7 +85,7 @@ def docs(session):
"pytest",
".",
)
session.run("mkdocs", "build", *session.posargs)
session.run("mkdocs", *session.posargs)


@session(python="python3.10")
Expand Down
Loading

0 comments on commit 4528f58

Please sign in to comment.