Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a141cac

Browse files
committed
Minor comments in conf.py
1 parent c426db6 commit a141cac

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

conf.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,8 @@
5858

5959
# Extend settings from upstream
6060
_exclude_patterns = [
61-
# This file is not included and it's not marked as :orphan:
61+
# These file is not included and it's not marked as :orphan:
62+
# These files are used in ".. include::" directives
6263
'distutils/_setuptools_disclaimer.rst',
6364
'includes/wasm-notavail.rst',
6465
]
@@ -67,10 +68,12 @@
6768
else:
6869
exclude_patterns = _exclude_patterns
6970

71+
# Extra extensions for our own documentation site
7072
_extensions = [
7173
'sphinx_tabs.tabs',
7274
'sphinxemoji.sphinxemoji',
7375
]
76+
7477
if 'extensions' in globals():
7578
extensions += _extensions
7679
else:
@@ -85,10 +88,12 @@
8588
for path in overrides_paths.glob('**/*.*'):
8689
if path.name == 'README.rst' and path.parent == '.overrides':
8790
continue
91+
8892
# Skip the files in the .overrides/logo directory
8993
# to avoid ln issues.
9094
if str(path.parent).endswith("logo"):
9195
continue
96+
9297
destroot = str(path.parent).replace('.overrides', '').lstrip('/')
9398
outputdir = Path('cpython/Doc') / destroot / path.name
9499
os.system(f'ln -nfs `pwd`/{path.parent}/{path.name} {outputdir}')

0 commit comments

Comments
 (0)