diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 25c1cd0..7568924 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -15,17 +15,10 @@ build: - asdf install uv latest - asdf global uv latest create_environment: - - uv venv "${READTHEDOCS_VIRTUALENV_PATH}" + - uv sync --group docs 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 sphinx: 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 - diff --git a/invenio_config_iform/__about__.py b/invenio_config_iform/__about__.py index 5ff9393..beb2425 100644 --- a/invenio_config_iform/__about__.py +++ b/invenio_config_iform/__about__.py @@ -8,4 +8,4 @@ """Metadata for this python module.""" -__version__ = "2025.5.20.8" +__version__ = "2025.5.20.9" diff --git a/pyproject.toml b/pyproject.toml index 9137fa9..6956ab2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -67,6 +67,11 @@ tests = [ "ruff>=0.5.3", "Sphinx>=4.5.0", ] +docs = [ + "invenio-app>=1.5.0", + "invenio-search[opensearch2]>=2.1.0", + "Sphinx>=4.5.0", +] [build-system] requires = ["hatchling", "hatch-calver"] diff --git a/uv.lock b/uv.lock index 32225be..50715be 100644 --- a/uv.lock +++ b/uv.lock @@ -1722,6 +1722,11 @@ dev = [ { name = "pydocstyle" }, { name = "ruff" }, ] +docs = [ + { name = "invenio-app" }, + { name = "invenio-search", extra = ["opensearch2"] }, + { name = "sphinx" }, +] tests = [ { name = "invenio-app" }, { name = "invenio-search", extra = ["opensearch2"] }, @@ -1745,6 +1750,11 @@ dev = [ { name = "pydocstyle", specifier = ">=6.3.0" }, { 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 = [ { name = "invenio-app", specifier = ">=1.5.0" }, { name = "invenio-search", extras = ["opensearch2"], specifier = ">=2.1.0" },