Skip to content

Commit 157efd6

Browse files
committed
Enhance documentation workflow: add changelog, update mkdocs configuration, and include pymdown-extensions in requirements
1 parent 0287d75 commit 157efd6

File tree

4 files changed

+10
-3
lines changed

4 files changed

+10
-3
lines changed

.github/workflows/docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
with:
2626
fetch-depth: 0
2727
- uses: actions/setup-python@v2
28-
- run: pip install --upgrade pip && pip install mkdocs mkdocs-gen-files
28+
- run: pip install --upgrade pip && pip install mkdocs mkdocs-gen-files pymdown-extensions
2929
- run: git config user.name 'github-actions[bot]' && git config user.email 'github-actions[bot]@users.noreply.github.com'
3030
- name: Publish docs
3131
run: mkdocs gh-deploy

docs/changelog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
--8<-- "CHANGELOG.md"

mkdocs.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,11 @@ nav:
2020
- Examples: example.md
2121
- Useful Links: useful-links.md
2222
- About:
23+
- Changelog: changelog.md
2324
- Credits: credits.md
2425
- Benchmarks: benchmarks.md
2526

26-
theme: readthedocs
27+
theme: readthedocs
28+
29+
markdown_extensions:
30+
- pymdownx.snippets

requirements-dev.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,6 @@ wheel
77
twine
88
iris-embedded-python-wrapper
99
jsonpath-ng
10-
pydantic>=2.0.0
10+
pydantic>=2.0.0
11+
mkdocs
12+
pymdown-extensions

0 commit comments

Comments
 (0)