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 bab26e2 commit fb474f2Copy full SHA for fb474f2
conf.py
@@ -21,7 +21,9 @@
21
sys.path.append(os.path.abspath('cpython/Doc/tools/extensions'))
22
sys.path.append(os.path.abspath('cpython/Doc/includes'))
23
24
-# Import all the Sphinx settings from cpython
+# Import all the Sphinx settings from cpython.
25
+# Warning: calling 'eval' and 'compile' is usually not recommended, but in this case
26
+# we are relying on the official sphinx configuration from cpython.
27
cpython_sphinx_conf = Path(os.path.abspath('cpython/Doc/conf.py'))
28
eval(compile(cpython_sphinx_conf.read_bytes(), str(cpython_sphinx_conf), "exec"), globals())
29
0 commit comments