We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4621a97 commit 44c7cc6Copy full SHA for 44c7cc6
.readthedocs.yaml
@@ -11,8 +11,19 @@ version: 2
11
# tools:
12
# python: "3.10"
13
14
+# This pattern will be supported by a better environment variable, proposed
15
+# here: TBD
16
+build:
17
+ os: ubuntu-22.04
18
+ tools:
19
+ python: "3.10"
20
+ jobs:
21
+ pre_build:
22
+ - export "MKDOCS_SITE_URL=$READTHEDOCS_PROJECT"
23
+
24
mkdocs:
25
configuration: mkdocs.yml
26
+ fail_on_warning: true
27
28
# Optionally declare the Python requirements required to build your docs
29
python:
mkdocs.yml
@@ -1,4 +1,5 @@
1
site_name: Basic MkDocs Example Project
2
+site_url: !ENV MKDOCS_SITE_URL
3
theme:
4
name: readthedocs
5
highlightjs: true
0 commit comments