From 2e9bd5a8832364d067ecf11bc6d26dbcf2701113 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antoine=20Beaupr=C3=A9?= Date: Thu, 8 Oct 2015 14:57:32 -0400 Subject: [PATCH] cosmetic: s/api/doc/ --- setup.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/setup.py b/setup.py index 8f31a927f..e3338280c 100644 --- a/setup.py +++ b/setup.py @@ -182,15 +182,15 @@ def finalize_options(self): 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: