From 7adc94d4cda4a5cf99539703beaa5678cdbf0dfa Mon Sep 17 00:00:00 2001 From: Lewis Gaul Date: Sun, 1 Sep 2024 00:48:54 +0100 Subject: [PATCH] Update docs requirements --- .github/workflows/python-package.yml | 3 ++- docs/autogen.py | 2 ++ docs/requirements.txt | 15 ++++++++------- 3 files changed, 12 insertions(+), 8 deletions(-) mode change 100644 => 100755 docs/autogen.py diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 8c3e0c06..74307b54 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -18,8 +18,9 @@ jobs: - name: prepare run: | ./scripts/ci-podman-update.sh + pip install -U pip wheel pip install -r ./requirements.txt -r docs/requirements.txt -e . - python docs/autogen.py + ./docs/autogen.py cp -r docs/generated_sources ./generated_sources cp docs/mkdocs.yml ./ - name: Render diff --git a/docs/autogen.py b/docs/autogen.py old mode 100644 new mode 100755 index 15118634..b222410c --- a/docs/autogen.py +++ b/docs/autogen.py @@ -1,3 +1,5 @@ +#!/usr/bin/env python3 + import os import shutil from pathlib import Path diff --git a/docs/requirements.txt b/docs/requirements.txt index b0273e31..6afa0226 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1,7 +1,8 @@ -mkdocstrings==0.25.1 -mkdocstrings-python==1.10.5 -mkdocs-autorefs==0.4.1 -mkdocs-material==9.1.14 -pymdown-extensions==10.0.1 -markdown==3.3.7 -black==24.4.2 +markdown==3.7 +markupsafe==2.1.5 +mkdocs==1.6.1 +mkdocstrings==0.25.2 +mkdocs-autorefs==1.1.0 +mkdocs-get-deps==0.2.0 +mkdocstrings==0.25.2 +pymdown-extensions==10.9