diff --git a/.readthedocs.yml b/.readthedocs.yml index 2022bb2..edad265 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -6,6 +6,10 @@ build: - graphviz tools: python: "3.11" + jobs: + post_checkout: + # Fetch full history, but don't fail if we already have it + - git fetch --unshallow || true sphinx: configuration: docs/conf.py diff --git a/pyproject.toml b/pyproject.toml index d4a61c3..deb715a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -29,6 +29,19 @@ dependencies = [ dynamic = ["version"] [project.optional-dependencies] +doc = [ + "doctest-ignore-unicode", + "pydot >=1.2.3", + "pydotplus", + "recommonmark", + "sphinx >= 4.2.0", + "sphinx-argparse", + "sphinx-markdown-tables", + "sphinx_rtd_theme", + "sphinxcontrib-apidoc", + "sphinxcontrib-bibtex", + "svgutils", +] test = [ "coverage", "pytest", @@ -36,6 +49,9 @@ test = [ "pytest-env", ] +# Aliases +all = ["fmripost_aroma[doc,test]"] + [project.urls] Documentation = "https://github.com/nipreps/fmripost-aroma#readme" Issues = "https://github.com/nipreps/fmripost-aroma/issues"