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 dbedf2c commit 2533412Copy full SHA for 2533412
conf.py
@@ -9,7 +9,6 @@
9
on_rtd = os.environ.get("READTHEDOCS") == "True"
10
11
12
-
13
# -- Generate doxygen xml prior to build --------------------------------------
14
15
# Define the repository URL and target directory
@@ -46,7 +45,7 @@
46
45
#
47
subprocess.run(["doxygen", doxyfile], check=True)
48
49
-if not on rtd:
+if not on_rtd:
50
# Build pyEXP to populate Python API documenation
51
52
os.chdir('..')
@@ -114,7 +113,7 @@
114
113
115
# -- A readthedocs conditional ----------------------------------------------
116
def setup(app):
117
- if os.environ.get('READTHEDOCS') == 'True':
+ if on_rtd:
118
app.add_tag('rtd')
119
120
# -- Turn on figure numering -------------------------------------------------
0 commit comments