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 ab77e16 commit 5288333Copy full SHA for 5288333
.readthedocs.yml
@@ -13,11 +13,10 @@ build:
13
post_checkout:
14
# Copy the appropriate conf.py based on git branch/tag
15
- |
16
- CURRENT_VERSION="${READTHEDOCS_VERSION_NAME}"
17
echo "Building documentation for version: $CURRENT_VERSION"
18
19
# Check if this is a v2 version (latest, stable, or tags starting with v2)
20
- if [[ "$CURRENT_VERSION" == "latest" ]] || [[ "$CURRENT_VERSION" == stable* ]] || [[ "$CURRENT_VERSION" == v2* ]] || [[ "$CURRENT_VERSION" == *version2* ]]; then
+ if [[ "$CURRENT_VERSION" == "v2" ]]; then
21
echo "Building brainpy-version2 documentation"
22
mkdir -p docs_build
23
cp -r docs_version2/* docs_build/
0 commit comments