Skip to content

Commit fb474f2

Browse files
rtobarcmaureir
andauthored
Update conf.py
Co-authored-by: Cristián Maureira-Fredes <[email protected]>
1 parent bab26e2 commit fb474f2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

conf.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@
2121
sys.path.append(os.path.abspath('cpython/Doc/tools/extensions'))
2222
sys.path.append(os.path.abspath('cpython/Doc/includes'))
2323

24-
# Import all the Sphinx settings from cpython
24+
# 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.
2527
cpython_sphinx_conf = Path(os.path.abspath('cpython/Doc/conf.py'))
2628
eval(compile(cpython_sphinx_conf.read_bytes(), str(cpython_sphinx_conf), "exec"), globals())
2729

0 commit comments

Comments
 (0)