Skip to content

Commit

Permalink
Merge pull request #9616 from jdufresne/fix-url
Browse files Browse the repository at this point in the history
Update Sphinx url: s|https?://sphinx-doc\.org/|https://www.sphinx-doc.org/|g
  • Loading branch information
tk0miya authored Sep 11, 2021
2 parents 3a67b49 + 7dd112b commit 8416813
Show file tree
Hide file tree
Showing 13 changed files with 21 additions and 21 deletions.
2 changes: 1 addition & 1 deletion doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
epub_theme = 'epub'
epub_basename = 'sphinx'
epub_author = 'Georg Brandl'
epub_publisher = 'https://sphinx-doc.org/'
epub_publisher = 'https://www.sphinx-doc.org/'
epub_uid = 'web-site'
epub_scheme = 'url'
epub_identifier = epub_publisher
Expand Down
2 changes: 1 addition & 1 deletion doc/make.bat
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ if errorlevel 9009 (
echo.may add the Sphinx directory to PATH.
echo.
echo.If you don't have Sphinx installed, grab it from
echo.https://sphinx-doc.org/
echo.https://www.sphinx-doc.org/
exit /b 1
)

Expand Down
4 changes: 2 additions & 2 deletions doc/usage/configuration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2554,7 +2554,7 @@ Options for the linkcheck builder

A dictionary that maps baseurls to HTTP request headers.

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

Expand All @@ -2565,7 +2565,7 @@ Options for the linkcheck builder
.. code-block:: python
linkcheck_request_headers = {
"https://sphinx-doc.org/": {
"https://www.sphinx-doc.org/": {
"Accept": "text/html",
"Accept-Encoding": "utf-8",
},
Expand Down
12 changes: 6 additions & 6 deletions doc/usage/extensions/graphviz.rst
Original file line number Diff line number Diff line change
Expand Up @@ -227,13 +227,13 @@ There are also these config values:
attribute must be set, such as ``"_top"`` and ``"_blank"``. For example, the
link in the following graph should work in the svg output: ::

.. graphviz::
.. graphviz::

digraph example {
a [label="sphinx", href="https://sphinx-doc.org", target="_top"];
b [label="other"];
a -> b;
}
digraph example {
a [label="sphinx", href="https://www.sphinx-doc.org/", target="_top"];
b [label="other"];
a -> b;
}

.. versionadded:: 1.0
Previously, output always was PNG.
2 changes: 1 addition & 1 deletion sphinx/cmd/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def jobs_argument(value: str) -> int:
def get_parser() -> argparse.ArgumentParser:
parser = argparse.ArgumentParser(
usage='%(prog)s [OPTIONS] SOURCEDIR OUTPUTDIR [FILENAMES...]',
epilog=__('For more information, visit <http://sphinx-doc.org/>.'),
epilog=__('For more information, visit <https://www.sphinx-doc.org/>.'),
description=__("""
Generate documentation from source files.
Expand Down
2 changes: 1 addition & 1 deletion sphinx/cmd/quickstart.py
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,7 @@ def get_parser() -> argparse.ArgumentParser:
)
parser = argparse.ArgumentParser(
usage='%(prog)s [OPTIONS] <PROJECT_DIR>',
epilog=__("For more information, visit <http://sphinx-doc.org/>."),
epilog=__("For more information, visit <https://www.sphinx-doc.org/>."),
description=description)

parser.add_argument('-q', '--quiet', action='store_true', dest='quiet',
Expand Down
2 changes: 1 addition & 1 deletion sphinx/ext/apidoc.py
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ def get_parser() -> argparse.ArgumentParser:
parser = argparse.ArgumentParser(
usage='%(prog)s [OPTIONS] -o <OUTPUT_PATH> <MODULE_PATH> '
'[EXCLUDE_PATTERN, ...]',
epilog=__('For more information, visit <http://sphinx-doc.org/>.'),
epilog=__('For more information, visit <https://www.sphinx-doc.org/>.'),
description=__("""
Look recursively in <MODULE_PATH> for Python modules and packages and create
one reST file with automodule directives per package in the <OUTPUT_PATH>.
Expand Down
2 changes: 1 addition & 1 deletion sphinx/ext/autosummary/generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -595,7 +595,7 @@ def find_autosummary_in_lines(lines: List[str], module: str = None, filename: st
def get_parser() -> argparse.ArgumentParser:
parser = argparse.ArgumentParser(
usage='%(prog)s [OPTIONS] <SOURCE_FILE>...',
epilog=__('For more information, visit <http://sphinx-doc.org/>.'),
epilog=__('For more information, visit <https://www.sphinx-doc.org/>.'),
description=__("""
Generate ReStructuredText using autosummary directives.
Expand Down
6 changes: 3 additions & 3 deletions sphinx/ext/napoleon/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -309,11 +309,11 @@ def setup(app: Sphinx) -> Dict[str, Any]:
See Also
--------
`The Sphinx documentation on Extensions
<http://sphinx-doc.org/extensions.html>`_
<https://www.sphinx-doc.org/extensions.html>`_
`The Extension Tutorial <http://sphinx-doc.org/extdev/tutorial.html>`_
`The Extension Tutorial <https://www.sphinx-doc.org/extdev/tutorial.html>`_
`The Extension API <http://sphinx-doc.org/extdev/appapi.html>`_
`The Extension API <https://www.sphinx-doc.org/extdev/appapi.html>`_
"""
if not isinstance(app, Sphinx):
Expand Down
2 changes: 1 addition & 1 deletion sphinx/templates/quickstart/make.bat.new_t
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ if errorlevel 9009 (
echo.may add the Sphinx directory to PATH.
echo.
echo.If you don't have Sphinx installed, grab it from
echo.http://sphinx-doc.org/
echo.https://www.sphinx-doc.org/
exit /b 1
)

Expand Down
2 changes: 1 addition & 1 deletion sphinx/templates/quickstart/make.bat_t
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ if errorlevel 9009 (
echo.may add the Sphinx directory to PATH.
echo.
echo.If you don't have Sphinx installed, grab it from
echo.https://sphinx-doc.org/
echo.https://www.sphinx-doc.org/
exit /b 1
)

Expand Down
2 changes: 1 addition & 1 deletion sphinx/texinputs/sphinxhowto.cls
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
%
% sphinxhowto.cls for Sphinx (http://sphinx-doc.org/)
% sphinxhowto.cls for Sphinx (https://www.sphinx-doc.org/)
%

\NeedsTeXFormat{LaTeX2e}[1995/12/01]
Expand Down
2 changes: 1 addition & 1 deletion sphinx/texinputs/sphinxmanual.cls
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
%
% sphinxmanual.cls for Sphinx (http://sphinx-doc.org/)
% sphinxmanual.cls for Sphinx (https://www.sphinx-doc.org/)
%

\NeedsTeXFormat{LaTeX2e}[1995/12/01]
Expand Down

0 comments on commit 8416813

Please sign in to comment.