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 bc57cee commit 0fa1603Copy full SHA for 0fa1603
1 file changed
libraries/utils.py
@@ -392,16 +392,14 @@ def get_tools(version=None):
392
- description: str
393
- url: str (generated for version_specific tools if version provided)
394
"""
395
+ version_slug = version.stripped_boost_url_slug
396
tools = []
397
for tool in TOOLS.copy():
398
tool_dict = tool.copy()
399
url_path = tool_dict.get("url_path", "")
400
if tool_dict.get("version_specific"):
401
if version:
- version_slug = version.stripped_boost_url_slug
402
- tool_dict["url"] = (
403
- f"https://www.boost.org/doc/libs/{version_slug}/{url_path}"
404
- )
+ tool_dict["url"] = f"/doc/libs/{version_slug}/{url_path}"
405
else:
406
tool_dict["url"] = ""
407
0 commit comments