mirror of
https://github.com/markqvist/RNode_Firmware.git
synced 2025-05-04 23:55:18 -04:00
Updated console site
This commit is contained in:
parent
636785b584
commit
04daea0963
12 changed files with 349 additions and 11 deletions
|
@ -4,6 +4,7 @@ import sys
|
|||
import shutil
|
||||
|
||||
packages = {
|
||||
# "rnspure": "rnspure-0.4.6-py3-none-any.whl",
|
||||
"rns": "rns-0.4.6-py3-none-any.whl",
|
||||
"nomadnet": "nomadnet-0.3.1-py3-none-any.whl",
|
||||
"lxmf": "lxmf-0.2.8-py3-none-any.whl",
|
||||
|
@ -149,7 +150,7 @@ def generate_html(f, root_path):
|
|||
print("Found topic: "+str(topic)+", rt "+str(rt))
|
||||
md = md.replace(rt, tl)
|
||||
|
||||
menu_html = markdown.markdown(menu_md.replace("{CONTENT_PATH}", root_path), extensions=["markdown.extensions.fenced_code"]).replace("<p></p>", "")
|
||||
menu_html = markdown.markdown(menu_md.replace("{CONTENT_PATH}", root_path), extensions=["markdown.extensions.fenced_code", "sane_lists"]).replace("<p></p>", "")
|
||||
page_html = markdown.markdown(md, extensions=["markdown.extensions.fenced_code"]).replace("{ASSET_PATH}", root_path)
|
||||
page_html = page_html.replace("{LXMF_ADDRESS}", LXMF_ADDRESS)
|
||||
for pkg_name in packages:
|
||||
|
@ -355,4 +356,4 @@ if not "--no-gz" in sys.argv:
|
|||
gz_all()
|
||||
|
||||
if not "--no-remap" in sys.argv:
|
||||
remap_names()
|
||||
remap_names()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue