Set Python and Ubuntu versions in .readthedocs.yaml 67/135267/1
authorCédric Ollivier <cedric.ollivier@orange.com>
Mon, 3 Jul 2023 09:09:02 +0000 (11:09 +0200)
committerCédric Ollivier <cedric.ollivier@orange.com>
Mon, 3 Jul 2023 09:09:02 +0000 (11:09 +0200)
It now follows the ONAP gate configurations.
It also fixes the settings and formats it.

Issue-ID: DOC-811
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Change-Id: Ib342f84fbf950ca21e92a2be386a2997a2e99f5d

.readthedocs.yaml

index a1f1b04..f56b3b7 100644 (file)
@@ -1,21 +1,18 @@
 ---
 # .readthedocs.yml
-# # Read the Docs configuration file
-# # See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
-# # Required
-#
-version: 2
+# Read the Docs configuration file
+# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
+# Required
 
+version: 2
 build:
-  image: latest
+  os: ubuntu-20.04
+  tools:
+    python: "3.8"
 
 python:
-  version: 3.7
   install:
-    - requirements: docs/requirements-docs.txt
-
-submodules:
-  include: all
+  - requirements: docs/requirements-docs.txt
 
 sphinx:
-  configuration: docs/conf.py
\ No newline at end of file
+  configuration: docs/conf.py