RTD will soon be requiring a configuration file for builds.
Additionally, they will soon stop honoring the unshallow feature flag
that they have on the repository and to get an unshallow checkout we
must do so via the config file
Issue: LF-JIRA RELENG-4815
Change-Id: I3ac4b43874a875f79340329613f549e484b9f93f
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
(cherry picked from commit
8e4c6bb7557f639ad8ee8b48879cd27f498cb1e4)
sphinx:
configuration: docs/conf.py
+# Build documentation with MkDocs
+#mkdocs:
+# configuration: mkdocs.yml
+
+# Optionally build your docs in additional formats such as PDF
+formats:
+ - pdf
+
+build:
+ os: ubuntu-22.04
+ tools:
+ python: "3.11"
+ jobs:
+ post_checkout:
+ - git fetch --unshallow || true
+
python:
- version: 3.7
- install:
- - requirements: docs/requirements.txt
+ install:
+ - requirements: docs/requirements.txt