Skip to content

Commit 7dd112b

Browse files
committed
Update Sphinx url: s|https?://sphinx-doc\.org/|https://www.sphinx-doc.org/|g
https://sphinx-doc.org is unreachable, but is linked from the PyPI page: https://pypi.org/project/Sphinx/. Switch to https://www.sphinx-doc.org/ instead.
1 parent 336605b commit 7dd112b

File tree

14 files changed

+22
-22
lines changed

14 files changed

+22
-22
lines changed

doc/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
epub_theme = 'epub'
3636
epub_basename = 'sphinx'
3737
epub_author = 'Georg Brandl'
38-
epub_publisher = 'https://sphinx-doc.org/'
38+
epub_publisher = 'https://www.sphinx-doc.org/'
3939
epub_uid = 'web-site'
4040
epub_scheme = 'url'
4141
epub_identifier = epub_publisher

doc/make.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ if errorlevel 9009 (
1919
echo.may add the Sphinx directory to PATH.
2020
echo.
2121
echo.If you don't have Sphinx installed, grab it from
22-
echo.https://sphinx-doc.org/
22+
echo.https://www.sphinx-doc.org/
2323
exit /b 1
2424
)
2525

doc/usage/configuration.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2554,7 +2554,7 @@ Options for the linkcheck builder
25542554

25552555
A dictionary that maps baseurls to HTTP request headers.
25562556

2557-
The key is a URL base string like ``"https://sphinx-doc.org/"``. To specify
2557+
The key is a URL base string like ``"https://www.sphinx-doc.org/"``. To specify
25582558
headers for other hosts, ``"*"`` can be used. It matches all hosts only when
25592559
the URL does not match other settings.
25602560

@@ -2565,7 +2565,7 @@ Options for the linkcheck builder
25652565
.. code-block:: python
25662566
25672567
linkcheck_request_headers = {
2568-
"https://sphinx-doc.org/": {
2568+
"https://www.sphinx-doc.org/": {
25692569
"Accept": "text/html",
25702570
"Accept-Encoding": "utf-8",
25712571
},

doc/usage/extensions/graphviz.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -227,13 +227,13 @@ There are also these config values:
227227
attribute must be set, such as ``"_top"`` and ``"_blank"``. For example, the
228228
link in the following graph should work in the svg output: ::
229229

230-
.. graphviz::
230+
.. graphviz::
231231

232-
digraph example {
233-
a [label="sphinx", href="https://sphinx-doc.org", target="_top"];
234-
b [label="other"];
235-
a -> b;
236-
}
232+
digraph example {
233+
a [label="sphinx", href="https://www.sphinx-doc.org/", target="_top"];
234+
b [label="other"];
235+
a -> b;
236+
}
237237

238238
.. versionadded:: 1.0
239239
Previously, output always was PNG.

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ def _run_domain_js(self, domain):
176176
setup(
177177
name='Sphinx',
178178
version=sphinx.__version__,
179-
url='https://sphinx-doc.org/',
179+
url='https://www.sphinx-doc.org/',
180180
download_url='https://pypi.org/project/Sphinx/',
181181
license='BSD',
182182
author='Georg Brandl',

sphinx/cmd/build.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ def jobs_argument(value: str) -> int:
101101
def get_parser() -> argparse.ArgumentParser:
102102
parser = argparse.ArgumentParser(
103103
usage='%(prog)s [OPTIONS] SOURCEDIR OUTPUTDIR [FILENAMES...]',
104-
epilog=__('For more information, visit <http://sphinx-doc.org/>.'),
104+
epilog=__('For more information, visit <https://www.sphinx-doc.org/>.'),
105105
description=__("""
106106
Generate documentation from source files.
107107

sphinx/cmd/quickstart.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -467,7 +467,7 @@ def get_parser() -> argparse.ArgumentParser:
467467
)
468468
parser = argparse.ArgumentParser(
469469
usage='%(prog)s [OPTIONS] <PROJECT_DIR>',
470-
epilog=__("For more information, visit <http://sphinx-doc.org/>."),
470+
epilog=__("For more information, visit <https://www.sphinx-doc.org/>."),
471471
description=description)
472472

473473
parser.add_argument('-q', '--quiet', action='store_true', dest='quiet',

sphinx/ext/apidoc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ def get_parser() -> argparse.ArgumentParser:
304304
parser = argparse.ArgumentParser(
305305
usage='%(prog)s [OPTIONS] -o <OUTPUT_PATH> <MODULE_PATH> '
306306
'[EXCLUDE_PATTERN, ...]',
307-
epilog=__('For more information, visit <http://sphinx-doc.org/>.'),
307+
epilog=__('For more information, visit <https://www.sphinx-doc.org/>.'),
308308
description=__("""
309309
Look recursively in <MODULE_PATH> for Python modules and packages and create
310310
one reST file with automodule directives per package in the <OUTPUT_PATH>.

sphinx/ext/autosummary/generate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -595,7 +595,7 @@ def find_autosummary_in_lines(lines: List[str], module: str = None, filename: st
595595
def get_parser() -> argparse.ArgumentParser:
596596
parser = argparse.ArgumentParser(
597597
usage='%(prog)s [OPTIONS] <SOURCE_FILE>...',
598-
epilog=__('For more information, visit <http://sphinx-doc.org/>.'),
598+
epilog=__('For more information, visit <https://www.sphinx-doc.org/>.'),
599599
description=__("""
600600
Generate ReStructuredText using autosummary directives.
601601

sphinx/ext/napoleon/__init__.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -309,11 +309,11 @@ def setup(app: Sphinx) -> Dict[str, Any]:
309309
See Also
310310
--------
311311
`The Sphinx documentation on Extensions
312-
<http://sphinx-doc.org/extensions.html>`_
312+
<https://www.sphinx-doc.org/extensions.html>`_
313313
314-
`The Extension Tutorial <http://sphinx-doc.org/extdev/tutorial.html>`_
314+
`The Extension Tutorial <https://www.sphinx-doc.org/extdev/tutorial.html>`_
315315
316-
`The Extension API <http://sphinx-doc.org/extdev/appapi.html>`_
316+
`The Extension API <https://www.sphinx-doc.org/extdev/appapi.html>`_
317317
318318
"""
319319
if not isinstance(app, Sphinx):

0 commit comments

Comments
 (0)