diff --git a/NEWS.rst b/NEWS.rst index f02c377b..ea2c408a 100644 --- a/NEWS.rst +++ b/NEWS.rst @@ -148,7 +148,7 @@ Version 0.8.0 -- 2020-10-20 -- PyPI__ -- diff__ To get rid of those ugly greenish code blocks, remove ``pygments_style = 'sphinx'`` from your ``conf.py``. * Switch documentation to - `insipid `_ theme by default + `insipid `__ theme by default * Require Python 3.6+ __ https://pypi.org/project/nbsphinx/0.8.0/ @@ -166,7 +166,7 @@ Version 0.7.0 -- 2020-05-08 -- PyPI__ -- diff__ ``height`` and ``class`` attributes are supported. * CSS: prompts protrude into left margin if ``nbsphinx_prompt_width`` is too small. If you want to hide the prompts, use - `custom CSS `_. + `custom CSS `__. __ https://pypi.org/project/nbsphinx/0.7.0/ __ https://github.com/spatialaudio/nbsphinx/compare/0.6.1...0.7.0 diff --git a/doc/a-normal-rst-file.rst b/doc/a-normal-rst-file.rst index 713a3d7c..e06881f2 100644 --- a/doc/a-normal-rst-file.rst +++ b/doc/a-normal-rst-file.rst @@ -47,14 +47,14 @@ __ subdir/a-notebook-in-a-subdir.ipynb __ subdir/a-notebook-in-a-subdir.ipynb Finally, you can use `Embedded URIs`_, like this -`link `_. +`link `__. .. _Embedded URIs: https://docutils.sourceforge.io/docs/ref/rst/ restructuredtext.html#embedded-uris-and-aliases .. code-block:: rst - like this `link `_. + like this `link `__. .. note:: @@ -80,7 +80,7 @@ Links to Notebooks, Ye Olde Way In addition to the way shown above, you can also create links to notebooks (and other Sphinx source files) with -`:ref: `_. +`:ref: `__. This has some disadvantages: * It is arguably a bit more clunky. @@ -218,7 +218,7 @@ syntax, see the section about `citations in Markdown cells `__. You can create a list of references in any reStructuredText file -(or `reST cell `_ in a notebook) like this: +(or `reST cell `__ in a notebook) like this: .. code-block:: rst @@ -296,7 +296,7 @@ The following example gallery was created using: .. seealso:: - `Link Galleries in Jupyter Notebooks `_ + `Link Galleries in Jupyter Notebooks `__ Thumbnail Galleries diff --git a/doc/orphan.ipynb b/doc/orphan.ipynb index f9e71037..3887e338 100644 --- a/doc/orphan.ipynb +++ b/doc/orphan.ipynb @@ -26,7 +26,7 @@ "* ... from a [reST page](a-normal-rst-file.rst#links-to-notebooks-and-other-sphinx-source-files) using\n", "\n", " ```rst\n", - " `some link text `_\n", + " `some link text `__\n", " ```\n", "\n", "Sphinx raises a warning in case of orphaned documents:\n",