Skip to content
Snippets Groups Projects
Commit 65091759 authored by Marc Troelitzsch's avatar Marc Troelitzsch Committed by Adam Williamson
Browse files

docs: move doc dependencies from docs/requirements.txt to pyproject.toml

parent 25d0a923
No related branches found
No related tags found
No related merge requests found
version: 2 version: 2
build: build:
os: ubuntu-22.04 os: ubuntu-24.04
tools: tools:
python: "3.11" python: "3.12"
sphinx: sphinx:
configuration: docs/source/conf.py configuration: docs/source/conf.py
...@@ -12,4 +12,5 @@ python: ...@@ -12,4 +12,5 @@ python:
install: install:
- method: pip - method: pip
path: . path: .
- requirements: docs/requirements.txt extra_requirements:
- docs
sphinx==7.2.5
sphinx_rtd_theme==1.3.0
...@@ -94,7 +94,7 @@ To build the documentation locally for testing: ...@@ -94,7 +94,7 @@ To build the documentation locally for testing:
.. code:: bash .. code:: bash
$ pip install -r docs/requirements.txt $ pip install -e '.[docs]'
$ cd docs $ cd docs
$ make html $ make html
......
...@@ -31,6 +31,10 @@ dependencies = [ ...@@ -31,6 +31,10 @@ dependencies = [
] ]
[project.optional-dependencies] [project.optional-dependencies]
docs = [
"sphinx",
"sphinx-rtd-theme",
]
testing = [ testing = [
"pytest", "pytest",
"pytest-cov", "pytest-cov",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment