diff options
author | Antoine Beaupré <anarcat@koumbit.org> | 2015-10-08 14:57:32 -0400 |
---|---|---|
committer | Antoine Beaupré <anarcat@koumbit.org> | 2015-10-08 14:57:32 -0400 |
commit | 2e9bd5a8832364d067ecf11bc6d26dbcf2701113 (patch) | |
tree | 1ac6638ee93b7424de5c340e91ab7ae43f0df92d /setup.py | |
parent | 6c5a7733a222c0da1d0950593ba23bdc9b2579f3 (diff) |
cosmetic: s/api/doc/
Diffstat (limited to 'setup.py')
-rw-r--r-- | setup.py | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -182,15 +182,15 @@ class build_api(Command): def run(self): print("auto-generating API documentation") - with open("docs/api.rst", "w") as api: - api.write(""" + with open("docs/api.rst", "w") as doc: + doc.write(""" Borg Backup API documentation" ============================= """) for mod in glob('borg/*.py') + glob('borg/*.pyx'): print("examining module %s" % mod) if "/_" not in mod: - api.write(""" + doc.write(""" .. automodule:: %s :members: :undoc-members: |