mirror of
https://github.com/Luzifer/discord-community.git
synced 2024-11-09 15:40:03 +00:00
Wiki: Remove useless heading, sort modules
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
2df640bf35
commit
7b95895001
3 changed files with 6 additions and 8 deletions
|
@ -39,6 +39,8 @@ def main(args):
|
||||||
|
|
||||||
modules.append(mod)
|
modules.append(mod)
|
||||||
|
|
||||||
|
modules = sorted(modules, key=lambda m: m['type'])
|
||||||
|
|
||||||
with open('wiki/Home.md.tpl', 'r') as f:
|
with open('wiki/Home.md.tpl', 'r') as f:
|
||||||
tpl = jinja2.Template(f.read())
|
tpl = jinja2.Template(f.read())
|
||||||
print(tpl.render(modules=modules))
|
print(tpl.render(modules=modules))
|
||||||
|
|
|
@ -1,8 +1,6 @@
|
||||||
# Discord-Community
|
# Modules
|
||||||
|
|
||||||
## Modules
|
## schedule
|
||||||
|
|
||||||
### schedule
|
|
||||||
|
|
||||||
Posts stream schedule derived from Twitch schedule as embed in Discord channel
|
Posts stream schedule derived from Twitch schedule as embed in Discord channel
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,7 @@
|
||||||
# Discord-Community
|
# Modules
|
||||||
|
|
||||||
## Modules
|
|
||||||
|
|
||||||
{% for module in modules -%}
|
{% for module in modules -%}
|
||||||
### {{ module.type }}
|
## {{ module.type }}
|
||||||
|
|
||||||
{{ module.description }}
|
{{ module.description }}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue