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