summaryrefslogtreecommitdiff
path: root/docs/source/generate_configs.py
diff options
context:
space:
mode:
authorPatrick Totzke <patricktotzke@gmail.com>2012-07-10 20:44:26 +0100
committerPatrick Totzke <patricktotzke@gmail.com>2012-07-10 20:53:23 +0100
commit1dbf2617306f3d6beeb40f8bb506db58217fe683 (patch)
treee6fd0498378c23e9cdee462c6cf2beb97864855a /docs/source/generate_configs.py
parent0b7ae80bf88f0f08486417110cf069ec9dae8229 (diff)
doc: fix toctree warnings
this is done now by either including a hidden toctree or renaming *.rst files
Diffstat (limited to 'docs/source/generate_configs.py')
-rwxr-xr-xdocs/source/generate_configs.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/source/generate_configs.py b/docs/source/generate_configs.py
index 123b017b..8b0009e8 100755
--- a/docs/source/generate_configs.py
+++ b/docs/source/generate_configs.py
@@ -60,9 +60,9 @@ if __name__ == "__main__":
config = ConfigObj(None, configspec=specpath, stringify=False, list_values=False)
config.validate(Validator())
- alotrc_table_file = os.path.join(HERE, 'configuration', 'alotrc_table.rst')
+ alotrc_table_file = os.path.join(HERE, 'configuration', 'alotrc_table')
rewrite_entries(config.configspec, alotrc_table_file, 'defaults/alot.rc.spec', sort=True)
- rewrite_entries(config, os.path.join(HERE, 'configuration', 'accounts_table.rst'),
+ rewrite_entries(config, os.path.join(HERE, 'configuration', 'accounts_table'),
'defaults/alot.rc.spec',
sec=config.configspec['accounts']['__many__'])