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.
2 parents 69c012e + 5ff8f9d commit 8a3a37dCopy full SHA for 8a3a37d
.readthedocs.yml
@@ -10,8 +10,19 @@ build:
10
tools:
11
python: "3.13"
12
13
+ jobs:
14
+ post_checkout:
15
+ # Set up symbolic link based on RTD project name
16
+ - |
17
+ if [ "$PROJECT_VERSION" = "brainpy-version2" ]; then
18
+ ln -sf docs_version2 docs_build
19
+ else
20
+ ln -sf docs docs_build
21
+ fi
22
+
23
# Build documentation using the wrapper conf.py
24
# The wrapper will dynamically load the correct docs based on READTHEDOCS_PROJECT
25
+# Build documentation using the symlinked directory
26
sphinx:
27
configuration: docs_build/conf.py
28
docs_version2/.readthedocs.yml
0 commit comments