Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita141cac

Browse files
committed
Minor comments in conf.py
1 parentc426db6 commita141cac

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'inglobals():
7578
extensions+=_extensions
7679
else:
@@ -85,10 +88,12 @@
8588
forpathinoverrides_paths.glob('**/*.*'):
8689
ifpath.name=='README.rst'andpath.parent=='.overrides':
8790
continue
91+
8892
# Skip the files in the .overrides/logo directory
8993
# to avoid ln issues.
9094
ifstr(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)

[8]ページ先頭

©2009-2025 Movatter.jp