FAQ | This is a LIVE service | Changelog

Skip to content
Snippets Groups Projects
Commit 3aec960d authored by Nick Brown's avatar Nick Brown
Browse files

chore: Debugging rel_url macro behaviour in CI

parent 4c8c2e51
No related branches found
No related tags found
1 merge request!453feat: Knowledge base enhancements (diataxis)
Pipeline #714079 passed
......@@ -26,7 +26,8 @@ def variables(env: MacrosPlugin) -> dict:
return environment(env).get("variables", {})
def rel_url(env: MacrosPlugin, rel_path: str) -> str:
site_url = environment(env)["conf"]["site_url"]
_env = environment(env)
site_url = _env["conf"]["site_url"]
return urljoin(site_url, rel_path)
# Generic Macros:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment