mirror of
https://gitea.tendokyu.moe/eamuse/docs.git
synced 2024-11-28 00:20:52 +01:00
Config host
This commit is contained in:
parent
24367d3a8c
commit
eb83f82151
2
docs.py
2
docs.py
@ -25,7 +25,7 @@ jinja_markdown.EXTENSIONS.append("toc")
|
||||
HTAG = re.compile(r"<h(\d)[^>]*id=\"([^\"]+)\"[^>]*>([^<]*)</h")
|
||||
TOC_HTAG_LEVELS = {"1", "2"}
|
||||
|
||||
HOST = "https://bsnk.me"
|
||||
HOST = os.environ.get("EA_HOST", "https://bsnk.me")
|
||||
TEMPLATES = "templates"
|
||||
PAGES_BASE = os.environ.get("EA_PROOT", "pages")
|
||||
STATIC = ["images", "static", "mice"]
|
||||
|
Loading…
Reference in New Issue
Block a user