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

Fix link redirects #161

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 16 additions & 16 deletions sample-docs/kitchen-sink/admonitions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Sphinx provides several different types of admonitions.
This is what admonitions are a special case of, according to the docutils
documentation.

We also support *italic*, **bold**, ``code``, `links <https://www.sphinx-doc.org/>`_, and more.
We also support *italic*, **bold**, ``code``, `links <https://www.sphinx-doc.org/en/master/>`_, and more.

``admonition``
==============
Expand All @@ -26,7 +26,7 @@ Sphinx provides several different types of admonitions.

It's got a certain charm to it.

We also support *italic*, **bold**, ``code``, `links <https://www.sphinx-doc.org/>`_, and more.
We also support *italic*, **bold**, ``code``, `links <https://www.sphinx-doc.org/en/master/>`_, and more.

``attention``
=============
Expand All @@ -35,7 +35,7 @@ Sphinx provides several different types of admonitions.

Climate change is real.

We also support *italic*, **bold**, ``code``, `links <https://www.sphinx-doc.org/>`_, and more.
We also support *italic*, **bold**, ``code``, `links <https://www.sphinx-doc.org/en/master/>`_, and more.

``caution``
===========
Expand All @@ -44,7 +44,7 @@ Sphinx provides several different types of admonitions.

Cliff ahead: Don't drive off it.

We also support *italic*, **bold**, ``code``, `links <https://www.sphinx-doc.org/>`_, and more.
We also support *italic*, **bold**, ``code``, `links <https://www.sphinx-doc.org/en/master/>`_, and more.

``danger``
==========
Expand All @@ -53,7 +53,7 @@ Sphinx provides several different types of admonitions.

Mad scientist at work!

We also support *italic*, **bold**, ``code``, `links <https://www.sphinx-doc.org/>`_, and more.
We also support *italic*, **bold**, ``code``, `links <https://www.sphinx-doc.org/en/master/>`_, and more.

``error``
=========
Expand All @@ -62,7 +62,7 @@ Sphinx provides several different types of admonitions.

Does not compute.

We also support *italic*, **bold**, ``code``, `links <https://www.sphinx-doc.org/>`_, and more.
We also support *italic*, **bold**, ``code``, `links <https://www.sphinx-doc.org/en/master/>`_, and more.

``hint``
========
Expand All @@ -71,7 +71,7 @@ Sphinx provides several different types of admonitions.

Insulators insulate, until they are subject to ______ voltage.

We also support *italic*, **bold**, ``code``, `links <https://www.sphinx-doc.org/>`_, and more.
We also support *italic*, **bold**, ``code``, `links <https://www.sphinx-doc.org/en/master/>`_, and more.

``important``
=============
Expand All @@ -80,7 +80,7 @@ Sphinx provides several different types of admonitions.

Tech is not neutral, nor is it apolitical.

We also support *italic*, **bold**, ``code``, `links <https://www.sphinx-doc.org/>`_, and more.
We also support *italic*, **bold**, ``code``, `links <https://www.sphinx-doc.org/en/master/>`_, and more.

``note``
========
Expand All @@ -89,7 +89,7 @@ Sphinx provides several different types of admonitions.

This is a note.

We also support *italic*, **bold**, ``code``, `links <https://www.sphinx-doc.org/>`_, and more.
We also support *italic*, **bold**, ``code``, `links <https://www.sphinx-doc.org/en/master/>`_, and more.

``seealso``
===========
Expand All @@ -98,7 +98,7 @@ Sphinx provides several different types of admonitions.

Other relevant information.

We also support *italic*, **bold**, ``code``, `links <https://www.sphinx-doc.org/>`_, and more.
We also support *italic*, **bold**, ``code``, `links <https://www.sphinx-doc.org/en/master/>`_, and more.

``tip``
=======
Expand All @@ -107,7 +107,7 @@ Sphinx provides several different types of admonitions.

25% if the service is good.

We also support *italic*, **bold**, ``code``, `links <https://www.sphinx-doc.org/>`_, and more.
We also support *italic*, **bold**, ``code``, `links <https://www.sphinx-doc.org/en/master/>`_, and more.

``todo``
========
Expand All @@ -116,7 +116,7 @@ Sphinx provides several different types of admonitions.

This needs the ``sphinx.ext.todo`` extension.

We also support *italic*, **bold**, ``code``, `links <https://www.sphinx-doc.org/>`_, and more.
We also support *italic*, **bold**, ``code``, `links <https://www.sphinx-doc.org/en/master/>`_, and more.

``warning``
===========
Expand All @@ -125,7 +125,7 @@ Sphinx provides several different types of admonitions.

Reader discretion is strongly advised.

We also support *italic*, **bold**, ``code``, `links <https://www.sphinx-doc.org/>`_, and more.
We also support *italic*, **bold**, ``code``, `links <https://www.sphinx-doc.org/en/master/>`_, and more.

``versionadded``
================
Expand All @@ -134,7 +134,7 @@ Sphinx provides several different types of admonitions.

Here's a version added message.

We also support *italic*, **bold**, ``code``, `links <https://www.sphinx-doc.org/>`_, and more.
We also support *italic*, **bold**, ``code``, `links <https://www.sphinx-doc.org/en/master/>`_, and more.

``versionchanged``
==================
Expand All @@ -143,7 +143,7 @@ Sphinx provides several different types of admonitions.

Here's a version changed message.

We also support *italic*, **bold**, ``code``, `links <https://www.sphinx-doc.org/>`_, and more.
We also support *italic*, **bold**, ``code``, `links <https://www.sphinx-doc.org/en/master/>`_, and more.

``deprecated``
==============
Expand All @@ -152,4 +152,4 @@ Sphinx provides several different types of admonitions.

Here's a deprecation message.

We also support *italic*, **bold**, ``code``, `links <https://www.sphinx-doc.org/>`_, and more.
We also support *italic*, **bold**, ``code``, `links <https://www.sphinx-doc.org/en/master/>`_, and more.
6 changes: 3 additions & 3 deletions sample-docs/kitchen-sink/generic.rst
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ a :sup:`superscript`, :emphasis:`emphasis`, :strong:`strong`, and
Hyperlinks
----------

It is a website, so it'll have hyperlinks like http://www.python.org (inline),
It is a website, so it'll have hyperlinks like https://www.python.org/ (inline),
or Python_ (external reference), example_ (internal reference),
`Python web site <http://www.python.org>`__ (external hyperlinks with embedded
`Python web site <https://www.python.org/>`__ (external hyperlinks with embedded
URI), footnote references (manually numbered [1]_, anonymous auto-numbered [#]_,
labeled auto-numbered [#label]_, or symbolic [*]_), citation references ([12]_),
substitution references (|example|), and _`inline hyperlink targets`
Expand Down Expand Up @@ -199,7 +199,7 @@ Targets_.

Explicit external targets are interpolated into references such as "Python_".

.. _Python: http://www.python.org/
.. _Python: https://www.python.org/

Targets may be indirect and anonymous. Thus `this phrase`__ may also
refer to the Targets_ section.
Expand Down
22 changes: 11 additions & 11 deletions sample-docs/kitchen-sink/lists.rst
Original file line number Diff line number Diff line change
Expand Up @@ -189,13 +189,13 @@ Second list level
^^^^^^^^^^^^^^^^^

- here is a list in a second-level section.
- `yahoo <http://www.yahoo.com>`_
- `yahoo <http://www.yahoo.com>`_
- `yahoo <https://www.yahoo.com/>`_
- `yahoo <https://www.yahoo.com/>`_

- `yahoo <http://www.yahoo.com>`_
- `yahoo <https://www.yahoo.com/>`_
- here is an inner bullet ``oh``

- one more ``with an inline literally``. `yahoo <http://www.yahoo.com>`_
- one more ``with an inline literally``. `yahoo <https://www.yahoo.com/>`_

heh heh. child. try to beat this embed:

Expand All @@ -204,8 +204,8 @@ Second list level
:linenos:
:lines: 10-20

- and another. `yahoo <http://www.yahoo.com>`_
- `yahoo <http://www.yahoo.com>`_
- and another. `yahoo <https://www.yahoo.com/>`_
- `yahoo <https://www.yahoo.com/>`_
- ``hi``
- how about an admonition?

Expand All @@ -217,15 +217,15 @@ Second list level
But deeper down the rabbit hole
"""""""""""""""""""""""""""""""

- I kept saying that, "deeper down the rabbit hole". `yahoo <http://www.yahoo.com>`_
- I kept saying that, "deeper down the rabbit hole". `yahoo <https://www.yahoo.com/>`_

- I cackle at night `yahoo <http://www.yahoo.com>`_.
- I cackle at night `yahoo <https://www.yahoo.com/>`_.
- I'm so lonely here in GZ ``guangzhou``
- A man of python destiny, hopes and dreams. `yahoo <http://www.yahoo.com>`_
- A man of python destiny, hopes and dreams. `yahoo <https://www.yahoo.com/>`_

- `yahoo <http://www.yahoo.com>`_
- `yahoo <https://www.yahoo.com/>`_

- `yahoo <http://www.yahoo.com>`_ ``hi``
- `yahoo <https://www.yahoo.com/>`_ ``hi``
- ``destiny``

Hlists
Expand Down
Loading