diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 7c8204a4e8..8bc60f3f15 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -14,6 +14,10 @@ build: python: "3.10" apt_packages: - libapt-pkg-dev + jobs: + post_checkout: + - git fetch --tags --depth 1 # Also fetch tags + - git describe # Useful for debugging # Build documentation in the docs/ directory with Sphinx sphinx: @@ -25,3 +29,5 @@ python: install: - requirements: docs/requirements.txt - requirements: docs/sphinx-resources/.sphinx/requirements.txt + - method: pip + path: . diff --git a/docs/requirements.txt b/docs/requirements.txt index 6bb271e74d..6440406c66 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -37,6 +37,7 @@ raven==6.10.0 regex==2022.10.31 requests-unixsocket==0.3.0 semver==2.13.0 +setuptools==65.5.1 simplejson==3.19.2 snap-helpers==0.4.2 spdx==2.5.1