mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2025-07-09 04:20:17 +02:00
move doc dependencies to pyproject
This commit is contained in:
parent
a4644028ae
commit
efe0c6963b
@ -23,4 +23,7 @@ formats: all
|
||||
# Optionally set the version of Python and requirements required to build your docs
|
||||
python:
|
||||
install:
|
||||
- requirements: docs/requirements.txt
|
||||
- method: pip
|
||||
path: .
|
||||
extra_requirements:
|
||||
- docs
|
||||
|
@ -1,20 +0,0 @@
|
||||
# Docs Specific Packages
|
||||
sphinx>=4.4.0,<5.0.0
|
||||
sphinx_rtd_theme>=1.0.0,<2.0.0
|
||||
recommonmark==0.7.1
|
||||
Jinja2<3.1
|
||||
docutils==0.16
|
||||
sphinxcontrib-django2
|
||||
sphinx-copybutton
|
||||
|
||||
# Autodoc dependencies
|
||||
celery>=5.2.0,<6.0.0
|
||||
celery_once>=3.0.1
|
||||
django>=4.0.6,<4.1.0
|
||||
django-bootstrap-form
|
||||
django-celery-beat>=2.3.0
|
||||
django-esi>=4.0.1
|
||||
django-redis>=5.2.0,<6.0.0
|
||||
django-sortedm2m
|
||||
passlib
|
||||
redis>=4.0.0,<5.0.0
|
@ -62,6 +62,15 @@ test = [
|
||||
"django-webtest",
|
||||
"requests-mock>=1.2.0",
|
||||
]
|
||||
docs = [
|
||||
"sphinx>=4.4.0,<5.0.0",
|
||||
"sphinx_rtd_theme>=1.0.0,<2.0.0",
|
||||
"recommonmark==0.7.1",
|
||||
"Jinja2<3.1",
|
||||
"docutils==0.16",
|
||||
"sphinxcontrib-django2",
|
||||
"sphinx-copybutton"
|
||||
]
|
||||
|
||||
[project.scripts]
|
||||
allianceauth = "allianceauth.bin.allianceauth:main"
|
||||
|
2
tox.ini
2
tox.ini
@ -28,7 +28,7 @@ commands =
|
||||
description = invoke sphinx-build to build the HTML docs
|
||||
basepython = python3.11
|
||||
skip_install = True
|
||||
deps = -r{toxinidir}/docs/requirements.txt
|
||||
deps = .[docs]
|
||||
install_command = python -I -m pip install {opts} {packages}
|
||||
commands =
|
||||
sphinx-build -T -E -b html -d "{toxworkdir}/docs_doctree" -D language=en docs "{toxworkdir}/docs_out" {posargs}
|
||||
|
Loading…
x
Reference in New Issue
Block a user