diff --git a/.readthedocs.yaml b/.readthedocs.yaml index c4752a6..3d5c50e 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -7,7 +7,7 @@ version: 2 # Set the version of Python and other tools you might need build: - os: ubuntu-22.04 + os: ubuntu-24.04 tools: python: "3.9" @@ -17,6 +17,9 @@ sphinx: # We recommend specifying your dependencies to enable reproducible builds: # https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html -# python: -# install: -# - requirements: docs/requirements.txt +python: + install: + - method: pip + path: . + extra_requirements: + - dev diff --git a/docs/conf.py b/docs/conf.py index a7749a1..2152b6f 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -1,3 +1,5 @@ project = "LibCoveWeb2" master_doc = "index" + +html_theme = "odsc_default_sphinx_theme" diff --git a/setup.py b/setup.py index cfc59f1..3ffd0ac 100644 --- a/setup.py +++ b/setup.py @@ -31,6 +31,13 @@ "celery[redis]", ], extras_require={ - "dev": ["black", "isort", "flake8", "mypy"], + "dev": [ + "black", + "isort", + "flake8", + "mypy", + "sphinx", + "odsc-default-sphinx-theme", + ], }, )