Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Sphinx url: s|https?://sphinx-doc\.org/|https://www.sphinx-doc.org/|g #9616

Merged
merged 1 commit into from Sep 11, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion doc/conf.py
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
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
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
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 setup.py
Expand Up @@ -176,7 +176,7 @@ def _run_domain_js(self, domain):
setup(
name='Sphinx',
version=sphinx.__version__,
url='https://sphinx-doc.org/',
url='https://www.sphinx-doc.org/',
download_url='https://pypi.org/project/Sphinx/',
license='BSD',
author='Georg Brandl',
Expand Down
2 changes: 1 addition & 1 deletion sphinx/cmd/build.py
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
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
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
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
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
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
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
@@ -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
@@ -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