Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,9 @@ def smv_rewrite_configs(app, config):
# conf.py). Instead, hook into the 'config-inited' event which is late enough
# to rewrite the various configuration items with the current version.
if app.config.smv_current_version != '':
app.config.html_baseurl = app.config.html_baseurl + '/' + app.config.smv_current_version
app.config.html_baseurl = (
f"https://docs.ros.org/en/{app.config.smv_current_version}"
)
Comment thread
attu0 marked this conversation as resolved.
app.config.project = 'ROS 2 Documentation: ' + app.config.smv_current_version.title()

app.config.html_logo = 'source/Releases/' + app.config.smv_current_version + '-small.png'
Expand Down