Show More
@@ -58,9 +58,9 b' html: api' | |||
|
58 | 58 | @echo |
|
59 | 59 | @echo "Build finished. The HTML pages are in build/html." |
|
60 | 60 | |
|
61 |
api: source/api/generated/gen. |
|
|
61 | api: source/api/generated/gen.txt | |
|
62 | 62 | |
|
63 |
source/api/generated/gen. |
|
|
63 | source/api/generated/gen.txt: | |
|
64 | 64 | python autogen_api.py |
|
65 | 65 | @echo "Build API docs finished." |
|
66 | 66 |
@@ -58,9 +58,9 b" if __name__ == '__main__':" | |||
|
58 | 58 | r'\.testing\.mkdoctests'] |
|
59 | 59 | # Now, generate the outputs |
|
60 | 60 | docwriter.write_api_docs(outdir) |
|
61 |
# Write index with . |
|
|
61 | # Write index with .txt extension - we can include it, but Sphinx won't try | |
|
62 | 62 | # to compile it |
|
63 |
docwriter.write_index(outdir, 'gen. |
|
|
63 | docwriter.write_index(outdir, 'gen.txt', | |
|
64 | 64 | relative_to = pjoin('source','api') |
|
65 | 65 | ) |
|
66 | 66 | print ('%d files written' % len(docwriter.written_modules)) |
General Comments 0
You need to be logged in to leave comments.
Login now