From 1a90d95fe2bfc082504669792fb3c9016f34dfa1 Mon Sep 17 00:00:00 2001 From: Anil Belur Date: Mon, 24 Jul 2023 23:09:02 +1000 Subject: [PATCH] CI: Update RTD configuration file 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 (cherry picked from commit 8e4c6bb7557f639ad8ee8b48879cd27f498cb1e4) --- .readthedocs.yml | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/.readthedocs.yml b/.readthedocs.yml index 5ff506fb9..325247c98 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -8,7 +8,22 @@ version: 2 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 -- 2.36.6