diff --git a/ci/gendoc.py b/ci/gendoc.py index c27d9cc..bb80a3d 100644 --- a/ci/gendoc.py +++ b/ci/gendoc.py @@ -39,7 +39,7 @@ def main(args): modules.append(mod) - with open('docs/Home.md.tpl', 'r') as f: + with open('wiki/Home.md.tpl', 'r') as f: tpl = jinja2.Template(f.read()) print(tpl.render(modules=modules)) diff --git a/wiki/Home.md b/wiki/Home.md index e2e4027..2e85ea2 100644 --- a/wiki/Home.md +++ b/wiki/Home.md @@ -6,8 +6,8 @@ Posts stream schedule derived from Twitch schedule as embed in Discord channel -| Attribute | Required | Type | Default Value | Description | -| --------- | -------- | ---- | ------------- | ----------- | +| Attribute | Req. | Type | Default Value | Description | +| --------- | :--: | ---- | ------------- | ----------- | | `discord_channel_id` | ✅ | string | | ID of the Discord channel to post the message to | | `embed_title` | ✅ | string | | Title of the embed (used to find the managed post, must be unique for that channel) | | `twitch_channel_id` | ✅ | string | | ID (not name) of the channel to fetch the schedule from | diff --git a/wiki/Home.md.tpl b/wiki/Home.md.tpl index 3cf28d1..61c86af 100644 --- a/wiki/Home.md.tpl +++ b/wiki/Home.md.tpl @@ -7,8 +7,8 @@ {{ module.description }} -| Attribute | Required | Type | Default Value | Description | -| --------- | -------- | ---- | ------------- | ----------- | +| Attribute | Req. | Type | Default Value | Description | +| --------- | :--: | ---- | ------------- | ----------- | {%- for attr in module.attributes %} | `{{ attr.name }}` | {% if attr.required == 'required' %}✅{% endif %} | {{ attr.type }} | {% if attr.default != "" %}`{{ attr.default }}`{% endif %} | {{ attr.description }} | {%- endfor %}