Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
vllm_cscc
Commits
79d406e9
Unverified
Commit
79d406e9
authored
Jul 05, 2024
by
Simon Mo
Committed by
GitHub
Jul 05, 2024
Browse files
[Docs] Fix readthedocs for tag build (#6158)
parent
abad5746
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
docs/source/conf.py
docs/source/conf.py
+4
-1
No files found.
docs/source/conf.py
View file @
79d406e9
...
@@ -75,6 +75,9 @@ if READTHEDOCS_VERSION_TYPE == "tag":
...
@@ -75,6 +75,9 @@ if READTHEDOCS_VERSION_TYPE == "tag":
# remove the warning banner if the version is a tagged release
# remove the warning banner if the version is a tagged release
header_file
=
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
),
header_file
=
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
),
"_templates/sections/header.html"
)
"_templates/sections/header.html"
)
# The file might be removed already if the build is triggered multiple times
# (readthedocs build both HTML and PDF versions separately)
if
os
.
path
.
exists
(
header_file
):
os
.
remove
(
header_file
)
os
.
remove
(
header_file
)
# Add any paths that contain custom static files (such as style sheets) here,
# Add any paths that contain custom static files (such as style sheets) here,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment