We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b557b4c commit e4f2715Copy full SHA for e4f2715
images/mkdocs/scripts/utils.py
@@ -1,3 +1,4 @@
1
+import os
2
import yaml
3
import json
4
import toml
@@ -27,6 +28,8 @@ def get_template(template_path):
27
28
29
def get_site_template(copy_extra, template_name):
30
info = load_json('config/project.json')['info']
31
+ if site_url := os.getenv('site_url'):
32
+ info['site_url'] = site_url
33
nav = { 'nav': get_nav() }
34
if copy_extra == True:
35
info['extra'] = load_json('config/extra.json')
0 commit comments