Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d791810 commit 394af69Copy full SHA for 394af69
1 file changed
doc/sphinxext/gen_rst.py
@@ -96,7 +96,8 @@ def generate_example_rst(app):
96
97
"""%(subdir, subdir))
98
99
- print subdir
+ sys.stdout.write(subdir + ", ")
100
+ sys.stdout.flush()
101
102
data = datad[subdir]
103
data.sort()
@@ -116,8 +117,6 @@ def generate_example_rst(app):
116
117
not out_of_date(fullpath, outrstfile)):
118
continue
119
- print ' %s'%fname
120
-
121
fh = file(outrstfile, 'w')
122
fh.write('.. _%s-%s:\n\n'%(subdir, basename))
123
title = '%s example code: %s'%(subdir, fname)
@@ -151,5 +150,7 @@ def generate_example_rst(app):
151
150
152
fhindex.close()
153
+ print
154
+
155
def setup(app):
156
app.connect('builder-inited', generate_example_rst)
0 commit comments