From d6a2a64a27695b3bbb5883912758480a4f88b473 Mon Sep 17 00:00:00 2001 From: Remi Gau Date: Sat, 17 Aug 2024 10:32:31 +0200 Subject: [PATCH] fix doc --- .readthedocs.yml | 3 +++ docs/Makefile | 2 +- docs/source/conf.py | 3 +-- docs/source/demos/openneuro.md | 2 +- pyproject.toml | 2 +- 5 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.readthedocs.yml b/.readthedocs.yml index 2aa58616..51b8ea83 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -6,6 +6,9 @@ # Required version: 2 +submodules: + exclude: all + build: os: ubuntu-22.04 tools: diff --git a/docs/Makefile b/docs/Makefile index f982decb..878e08b3 100644 --- a/docs/Makefile +++ b/docs/Makefile @@ -15,7 +15,7 @@ BROWSER := python -c "$$BROWSER_PYSCRIPT" # You can set these variables from the command line, and also # from the environment for the first two. -SPHINXOPTS ?= +SPHINXOPTS ?= -v SPHINXBUILD ?= sphinx-build SOURCEDIR = source BUILDDIR = build diff --git a/docs/source/conf.py b/docs/source/conf.py index ea04314c..16a9c4fb 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -58,12 +58,11 @@ exclude_patterns = [ "**/examples/*", "**/images/*", - "**/lib/**", "demo", "defaults", "examples", "images", - "lib", + "../lib/**/*.m", "tests/**/*.m", ] diff --git a/docs/source/demos/openneuro.md b/docs/source/demos/openneuro.md index 00026f14..bf54539c 100644 --- a/docs/source/demos/openneuro.md +++ b/docs/source/demos/openneuro.md @@ -158,5 +158,5 @@ transformers cannot yet be appled to confounds ### Scripts ```{eval-rst} -.. autoscript:: ds003379_run +.. autoscript:: ds003397_run ``` diff --git a/pyproject.toml b/pyproject.toml index 4859c64b..29c494fa 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -36,7 +36,7 @@ dev = [ 'pandas' ] doc = [ - "urllib3==1.26.15", + "urllib3", "faqtory", "myst-parser", "sphinx",