RTD: customize build process to avoid errors
@@ -8,12 +8,20 @@ formats:
- pdf
python:
- version: 3.7
install:
- - method: setuptools
- path: .
- method: pip
path: .
extra_requirements:
- docs
system_packages: false
+
+build:
+ os: ubuntu-22.04
+ tools:
+ python: "3.10"
+ jobs:
+ post_checkout:
+ - git fetch --unshallow
+ pre_install:
+ - git update-index --assume-unchanged docs/conf.py
+ - pip install -U setuptools setuptools_scm[toml]
