Skip to content

Commit

Permalink
help: ugly docstring hack for pretty website configuration page
Browse files Browse the repository at this point in the history
Co-Authored-By: dgw <dgw@technobabbl.es>
  • Loading branch information
HumorBaby and dgw committed Apr 25, 2019
1 parent 601f49a commit 232bb09
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions sopel/modules/help.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,12 @@ class HelpSection(StaticSection):


def configure(config):
"""
| name | example | purpose |
| ---- | ------- | ------- |
| output | clbin | The pastebin provider to use for help output |
| show\\_server\\_host | True | Whether to show the IRC server's hostname/IP at the top of command listings |
"""
config.define_section('help', HelpSection)
provider_list = ', '.join(PASTEBIN_PROVIDERS)
config.help.configure_setting(
Expand Down

0 comments on commit 232bb09

Please sign in to comment.