Skip to content

Commit 2533412

Browse files
author
Martin D. Weinberg
committed
Another typo fix
1 parent dbedf2c commit 2533412

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

conf.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
on_rtd = os.environ.get("READTHEDOCS") == "True"
1010

1111

12-
1312
# -- Generate doxygen xml prior to build --------------------------------------
1413

1514
# Define the repository URL and target directory
@@ -46,7 +45,7 @@
4645
#
4746
subprocess.run(["doxygen", doxyfile], check=True)
4847

49-
if not on rtd:
48+
if not on_rtd:
5049
# Build pyEXP to populate Python API documenation
5150
#
5251
os.chdir('..')
@@ -114,7 +113,7 @@
114113

115114
# -- A readthedocs conditional ----------------------------------------------
116115
def setup(app):
117-
if os.environ.get('READTHEDOCS') == 'True':
116+
if on_rtd:
118117
app.add_tag('rtd')
119118

120119
# -- Turn on figure numering -------------------------------------------------

0 commit comments

Comments
 (0)