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

Commit4067c6d

Browse files
authored
gh-86404: Doc: Drop now unused make suspicious and rstlint. (GH-98179)
They have been replaced by[sphinx-lint](https://github.com/sphinx-contrib/sphinx-lint).
1 parentad8e297 commit4067c6d

File tree

9 files changed

+10
-1082
lines changed

9 files changed

+10
-1082
lines changed

‎Doc/Makefile

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ ALLSPHINXOPTS = -b $(BUILDER) -d build/doctrees $(PAPEROPT_$(PAPER)) -j auto \
2222
$(SPHINXOPTS)$(SPHINXERRORHANDLING) . build/$(BUILDER)$(SOURCES)
2323

2424
.PHONY: help build html htmlhelp latex text texinfo changes linkcheck\
25-
suspiciouscoverage doctest pydoc-topics htmlview clean dist check serve\
25+
coverage doctest pydoc-topics htmlview clean dist check serve\
2626
autobuild-dev autobuild-stable venv
2727

2828
help:
@@ -42,7 +42,6 @@ help:
4242
@echo" doctest to run doctests in the documentation"
4343
@echo" pydoc-topics to regenerate the pydoc topics file"
4444
@echo" dist to create a\"dist\" directory with archived docs for download"
45-
@echo" suspicious to check for suspicious markup in output text"
4645
@echo" check to run a check for frequent markup errors"
4746

4847
build:
@@ -110,18 +109,6 @@ linkcheck:
110109
"or in build/$(BUILDER)/output.txt";\
111110
false; }
112111

113-
suspicious: BUILDER = suspicious
114-
suspicious:
115-
@$(MAKE) build BUILDER=$(BUILDER)|| { \
116-
echo"Suspicious check complete; look for any errors in the above output"\
117-
"or in build/$(BUILDER)/suspicious.csv. If all issues are false"\
118-
"positives, append that file to tools/susp-ignored.csv.";\
119-
false; }
120-
@echo"⚠ make suspicious is deprecated and will be removed soon."
121-
@echo"⚠ Use:"
122-
@echo"⚠ make check"
123-
@echo"⚠ instead."
124-
125112
coverage: BUILDER = coverage
126113
coverage: build
127114
@echo"Coverage finished; see c.txt and python.txt in build/coverage"

‎Doc/README.rst

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,6 @@ Available make targets are:
9393
plain text documentation for the labels defined in
9494
``tools/pyspecific.py`` -- pydoc needs these to show topic and keyword help.
9595

96-
* "suspicious", which checks the parsed markup for text that looks like
97-
malformed and thus unconverted reST.
98-
9996
* "check", which checks for frequent markup errors.
10097

10198
* "serve", which serves the build/html directory on port 8000.

‎Doc/make.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ echo.always available include:
109109
echo.
110110
echo. Provided by Sphinx:
111111
echo. html, htmlhelp, latex, text
112-
echo.suspicious,linkcheck, changes, doctest
112+
echo. linkcheck, changes, doctest
113113
echo. Provided by this script:
114114
echo. clean, check, htmlview
115115
echo.

‎Doc/tools/extensions/pyspecific.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,6 @@
3737
fromsphinx.domains.pythonimportPyClassmemberasPyMethod
3838
fromsphinx.domains.pythonimportPyModulelevelasPyFunction
3939

40-
# Support for checking for suspicious markup
41-
42-
importsuspicious
43-
4440

4541
ISSUE_URI='https://bugs.python.org/issue?@action=redirect&bpo=%s'
4642
GH_ISSUE_URI='https://github.com/python/cpython/issues/%s'
@@ -686,7 +682,6 @@ def setup(app):
686682
app.add_directive('audit-event-table',AuditEventListDirective)
687683
app.add_directive('deprecated-removed',DeprecatedRemoved)
688684
app.add_builder(PydocTopicsBuilder)
689-
app.add_builder(suspicious.CheckSuspiciousMarkupBuilder)
690685
app.add_object_type('opcode','opcode','%s (opcode)',parse_opcode_signature)
691686
app.add_object_type('pdbcommand','pdbcmd','%s (pdb command)',parse_pdb_command)
692687
app.add_object_type('2to3fixer','2to3fixer','%s (2to3 fixer)')

‎Doc/tools/extensions/suspicious.py

Lines changed: 0 additions & 251 deletions
This file was deleted.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp