mirror of
https://github.com/Cian-H/invenio-config-iform.git
synced 2025-12-22 21:11:57 +00:00
Another attempt to fix readthedocs
This commit is contained in:
@@ -15,17 +15,10 @@ build:
|
|||||||
- asdf install uv latest
|
- asdf install uv latest
|
||||||
- asdf global uv latest
|
- asdf global uv latest
|
||||||
create_environment:
|
create_environment:
|
||||||
- uv venv "${READTHEDOCS_VIRTUALENV_PATH}"
|
- uv sync --group docs
|
||||||
install:
|
install:
|
||||||
- VIRTUAL_ENV="${READTHEDOCS_VIRTUALENV_PATH}" uv pip install -r docs/requirements.txt
|
- uv run python -m sphinx -T -d docs/_build/doctrees -D language=en docs $READTHEDOCS_OUTPUT/html
|
||||||
|
|
||||||
# Build documentation in the "docs/" directory with Sphinx
|
# Build documentation in the "docs/" directory with Sphinx
|
||||||
sphinx:
|
sphinx:
|
||||||
configuration: docs/conf.py
|
configuration: docs/conf.py
|
||||||
|
|
||||||
# declare the Python requirements required to build your documentation
|
|
||||||
# See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
|
|
||||||
python:
|
|
||||||
install:
|
|
||||||
- requirements: docs/requirements.txt
|
|
||||||
|
|
||||||
|
|||||||
@@ -8,4 +8,4 @@
|
|||||||
|
|
||||||
"""Metadata for this python module."""
|
"""Metadata for this python module."""
|
||||||
|
|
||||||
__version__ = "2025.5.20.8"
|
__version__ = "2025.5.20.9"
|
||||||
|
|||||||
@@ -67,6 +67,11 @@ tests = [
|
|||||||
"ruff>=0.5.3",
|
"ruff>=0.5.3",
|
||||||
"Sphinx>=4.5.0",
|
"Sphinx>=4.5.0",
|
||||||
]
|
]
|
||||||
|
docs = [
|
||||||
|
"invenio-app>=1.5.0",
|
||||||
|
"invenio-search[opensearch2]>=2.1.0",
|
||||||
|
"Sphinx>=4.5.0",
|
||||||
|
]
|
||||||
|
|
||||||
[build-system]
|
[build-system]
|
||||||
requires = ["hatchling", "hatch-calver"]
|
requires = ["hatchling", "hatch-calver"]
|
||||||
|
|||||||
10
uv.lock
generated
10
uv.lock
generated
@@ -1722,6 +1722,11 @@ dev = [
|
|||||||
{ name = "pydocstyle" },
|
{ name = "pydocstyle" },
|
||||||
{ name = "ruff" },
|
{ name = "ruff" },
|
||||||
]
|
]
|
||||||
|
docs = [
|
||||||
|
{ name = "invenio-app" },
|
||||||
|
{ name = "invenio-search", extra = ["opensearch2"] },
|
||||||
|
{ name = "sphinx" },
|
||||||
|
]
|
||||||
tests = [
|
tests = [
|
||||||
{ name = "invenio-app" },
|
{ name = "invenio-app" },
|
||||||
{ name = "invenio-search", extra = ["opensearch2"] },
|
{ name = "invenio-search", extra = ["opensearch2"] },
|
||||||
@@ -1745,6 +1750,11 @@ dev = [
|
|||||||
{ name = "pydocstyle", specifier = ">=6.3.0" },
|
{ name = "pydocstyle", specifier = ">=6.3.0" },
|
||||||
{ name = "ruff", specifier = ">=0.11.7" },
|
{ name = "ruff", specifier = ">=0.11.7" },
|
||||||
]
|
]
|
||||||
|
docs = [
|
||||||
|
{ name = "invenio-app", specifier = ">=1.5.0" },
|
||||||
|
{ name = "invenio-search", extras = ["opensearch2"], specifier = ">=2.1.0" },
|
||||||
|
{ name = "sphinx", specifier = ">=4.5.0" },
|
||||||
|
]
|
||||||
tests = [
|
tests = [
|
||||||
{ name = "invenio-app", specifier = ">=1.5.0" },
|
{ name = "invenio-app", specifier = ">=1.5.0" },
|
||||||
{ name = "invenio-search", extras = ["opensearch2"], specifier = ">=2.1.0" },
|
{ name = "invenio-search", extras = ["opensearch2"], specifier = ">=2.1.0" },
|
||||||
|
|||||||
Reference in New Issue
Block a user