From fa8b60fe27659fef85da54a9c51c8540747ed2ad Mon Sep 17 00:00:00 2001 From: samfreund Date: Thu, 8 May 2025 23:33:00 -0500 Subject: [PATCH] convert to requirements.txt --- .github/workflows/photon-api-docs.yml | 2 +- photon-lib/py/docs/requirements.txt | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 photon-lib/py/docs/requirements.txt diff --git a/.github/workflows/photon-api-docs.yml b/.github/workflows/photon-api-docs.yml index 48d2c85a0..89e2d8953 100644 --- a/.github/workflows/photon-api-docs.yml +++ b/.github/workflows/photon-api-docs.yml @@ -82,7 +82,7 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install mkdocs mkdocs-material mkdocstrings[python] mkdocs-gen-files mkdocs-literate-nav mkdocs-section-index mkdocs-exclude + pip install -r photon-lib/py/docs/requirements.txt - name: Build MkDocs site run: mkdocs build diff --git a/photon-lib/py/docs/requirements.txt b/photon-lib/py/docs/requirements.txt new file mode 100644 index 000000000..7f95f3131 --- /dev/null +++ b/photon-lib/py/docs/requirements.txt @@ -0,0 +1,7 @@ +mkdocs==1.4.0 +mkdocs-material==9.0.0 +mkdocstrings[python]==0.19.0 +mkdocs-gen-files==0.5.0 +mkdocs-literate-nav==0.5.0 +mkdocs-section-index==0.3.5 +mkdocs-exclude==1.0.2