Skip to content

Commit

Permalink
Update submodules before building docs
Browse files Browse the repository at this point in the history
  • Loading branch information
matteobachetti committed Oct 11, 2023
1 parent 6e2d5e0 commit 237b7af
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand All @@ -32,4 +39,4 @@ python:
extra_requirements:
- docs

- requirements: docs/requirements.txt
- requirements: docs/requirements.txt

0 comments on commit 237b7af

Please sign in to comment.