Skip to content

Commit 007df9c

Browse files
committed
Readthedocs works again
1 parent 4f08949 commit 007df9c

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

docs/conf.py

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,6 @@ def generate_doxygen_xml(app):
243243
# Doxygen can't create a nested folder. Help it by
244244
# creating the first folder
245245

246-
print("Foobar")
247246
try:
248247
os.makedirs(os.path.join(CWD, "temp"))
249248
except OSError as error:
@@ -278,10 +277,7 @@ def generate_doxygen_xml(app):
278277
# Call Doxygen to build the documentation
279278
try:
280279
# Log the Doxygen version number
281-
print("{} -v".format(doxygen))
282280
subprocess.call(doxygen + " -v", cwd=CWD, shell=True)
283-
284-
print(doxygen)
285281
retcode = subprocess.call(doxygen, cwd=CWD, shell=True)
286282
if retcode < 0:
287283
sys.stderr.write("doxygen terminated by signal %s" % (-retcode))
@@ -291,12 +287,10 @@ def generate_doxygen_xml(app):
291287
# If on ReadTheDocs.org, copy doxygen to public folder
292288
if _ON_RTD:
293289
try:
294-
print("ls")
295-
subprocess.call("ls", cwd=".", shell=True)
296-
297-
print("cp -r temp/html ../_readthedocs/html/doxygen")
298290
retcode = subprocess.call(
299-
"cp -r temp/html ../_readthedocs/html/doxygen", cwd=".", shell=True)
291+
"cp -r temp/html ../_readthedocs/html/doxygen",
292+
cwd=".",
293+
shell=True)
300294
if retcode < 0:
301295
sys.stderr.write("cp terminated by signal %s" % (-retcode))
302296
except OSError as error:

0 commit comments

Comments
 (0)