From 237b7afdc288ed720ddbcb9f258782f61be51d6c Mon Sep 17 00:00:00 2001 From: Matteo Bachetti Date: Wed, 11 Oct 2023 10:52:33 +0200 Subject: [PATCH] Update submodules before building docs --- .readthedocs.yaml | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/.readthedocs.yaml b/.readthedocs.yaml index d44eb1ea3..125af595f 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -3,11 +3,18 @@ # Required version: 2 +submodules: + include: all + + # Set the OS, Python version and other tools you might need build: os: ubuntu-22.04 tools: python: "3.10" + jobs: + pre_install: + - git update-index --assume-unchanged docs/conf.py # Build documentation in the "docs/" directory with Sphinx sphinx: @@ -17,10 +24,10 @@ sphinx: # Fail on all warnings to avoid broken references # fail_on_warning: true -# Optionally build your docs in additional formats such as PDF and ePub -formats: - - pdf - - epub +# # Optionally build your docs in additional formats such as PDF and ePub +# formats: +# - pdf +# - epub # Optional but recommended, declare the Python requirements required # to build your documentation @@ -32,4 +39,4 @@ python: extra_requirements: - docs - - requirements: docs/requirements.txt \ No newline at end of file + - requirements: docs/requirements.txt