From 52163c0e1241830d6e2a04372b58b1a8fabbd756 Mon Sep 17 00:00:00 2001 From: Allen Goodman Date: Thu, 9 May 2024 14:32:28 -0400 Subject: [PATCH] docs --- .github/workflows/push_main.yml | 2 +- pyproject.toml | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/push_main.yml b/.github/workflows/push_main.yml index 2eeacc0c71..a75835a528 100644 --- a/.github/workflows/push_main.yml +++ b/.github/workflows/push_main.yml @@ -6,7 +6,7 @@ jobs: - uses: "actions/setup-python@v5" with: python-version: "3.x" - - run: "python -m pip install --upgrade mkdocs-material mkdocstrings[python]" + - run: "python -m pip install --editable '.[docs]'" - run: "mkdocs gh-deploy --force" on: push: diff --git a/pyproject.toml b/pyproject.toml index e0dde49845..4edb35cebb 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -16,6 +16,10 @@ readme = "README.md" requires-python = ">=3.10" [project.optional-dependencies] +docs = [ + "mkdocs-material", + "mkdocstrings[python]", +] test = [ "hypothesis", "pytest",