diff --git a/.github/workflows/docs-build-deploy.yaml b/.github/workflows/docs-build-deploy.yaml index a49d18a..e96188d 100644 --- a/.github/workflows/docs-build-deploy.yaml +++ b/.github/workflows/docs-build-deploy.yaml @@ -10,15 +10,12 @@ jobs: steps: - name: Checkout repo uses: actions/checkout@v4 - - name: Set up Python 3.10 + - name: Set up Python uses: actions/setup-python@v4 - with: - python-version: '3.10' - cache: 'pip' - name: Building docs run: | pip install nox - nox -s docs_build-3.10 + nox -s docs_build - uses: actions/upload-pages-artifact@v2 with: diff --git a/noxfile.py b/noxfile.py index 84bffbb..3dd13f6 100644 --- a/noxfile.py +++ b/noxfile.py @@ -120,7 +120,7 @@ def dist_build(session: nox.Session) -> None: session.run("python", "-m", "build") -@nox.session(venv_backend="conda", python=SUPPORTED_PYTHON_VERSIONS) +@nox.session() def docs_build(session: nox.Session) -> None: """Build sphinx documentation and API docs. @@ -128,8 +128,8 @@ def docs_build(session: nox.Session) -> None: nox -s docs_build-3.10 """ - lockfile_path = resolve_lockfile_path(python_version=session.python) - session.install(".[docs]", "--constraint", lockfile_path) + #lockfile_path = resolve_lockfile_path(python_version=session.python) + #session.install(".[docs]", "--constraint", lockfile_path) # # Build API docs # session.run(*apidoc_cmd.split(" ")) diff --git a/pyproject.toml b/pyproject.toml index 962dd20..4e04d8a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -62,6 +62,15 @@ dependencies = [ 'pidng>=3.4.7', 'Pillow>=8.4.0', 'PySimpleGUI<=4.60.5', + 'sphinx!=5.1.0', + 'sphinx-sitemap', + 'sphinx-inline-tabs', + 'sphinx-book-theme', + 'sphinx_design', + 'sphinx-toolbox', + 'sphinx_togglebutton', + 'jupytext>=1.11.2', + 'myst-nb', ] [project.optional-dependencies]