Hello community,

here is the log from the commit of package python-nbsphinx for openSUSE:Factory 
checked in at 2020-12-17 17:06:06
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-nbsphinx (Old)
 and      /work/SRC/openSUSE:Factory/.python-nbsphinx.new.5145 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-nbsphinx"

Thu Dec 17 17:06:06 2020 rev:8 rq:856669 version:0.8.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-nbsphinx/python-nbsphinx.changes  
2020-07-01 14:27:28.522912783 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-nbsphinx.new.5145/python-nbsphinx.changes    
    2020-12-17 17:09:21.709974245 +0100
@@ -1,0 +2,19 @@
+Thu Dec 17 12:06:42 UTC 2020 - Benjamin Greiner <c...@bnavigator.de>
+
+- Update to 0.8
+  * Don't overwrite Pygments background in notebook code 
+    cells. To get rid of those ugly greenish code blocks, 
+    remove pygments_style = 'sphinx' from your conf.py.
+  * Switch documentation to insipid theme by default
+  * Require Python 3.6+ 
+- The only test upstream does is to import the module and run
+  sphinx on their own docs. We can't do the latter because
+  we don't have all the requirements
+
+-------------------------------------------------------------------
+Tue Dec 15 12:52:44 UTC 2020 - Benjamin Greiner <c...@bnavigator.de>
+
+- Provide the old jupyter package name only for the primary
+  Python3 interpreter -- gh#openSUSE/python-rpm-macros#66
+
+-------------------------------------------------------------------

Old:
----
  nbsphinx-0.7.1.tar.gz

New:
----
  nbsphinx-0.8.0.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-nbsphinx.spec ++++++
--- /var/tmp/diff_new_pack.swu2N1/_old  2020-12-17 17:09:22.193974725 +0100
+++ /var/tmp/diff_new_pack.swu2N1/_new  2020-12-17 17:09:22.197974729 +0100
@@ -19,15 +19,20 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define         skip_python2 1
 Name:           python-nbsphinx
-Version:        0.7.1
+Version:        0.8.0
 Release:        0
 Summary:        Jupyter Notebook Tools for Sphinx
 License:        MIT
 URL:            https://github.com/spatialaudio/nbsphinx/
 Source:         
https://files.pythonhosted.org/packages/source/n/nbsphinx/nbsphinx-%{version}.tar.gz
+BuildRequires:  %{python_module Jinja2}
 BuildRequires:  %{python_module Sphinx >= 1.8}
+BuildRequires:  %{python_module base >= 3.6}
 BuildRequires:  %{python_module docutils}
+BuildRequires:  %{python_module nbconvert}
+BuildRequires:  %{python_module nbformat}
 BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module sphinx_rtd_theme}
 BuildRequires:  %{python_module traitlets}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
@@ -43,7 +48,7 @@
 Provides:       python-jupyter_nbsphinx = %{version}
 Obsoletes:      python-jupyter_nbsphinx < %{version}
 BuildArch:      noarch
-%ifpython3
+%if "%{python_flavor}" == "python3" || "%{?python_provides}"  == "python3"
 Provides:       jupyter-nbsphinx = %{version}
 %endif
 %python_subpackages
@@ -66,7 +71,15 @@
 %python_install
 
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
-%fdupes %{buildroot}%{_jupyter_prefix}
+
+%check
+%{python_expand # no other unit tests provided
+# import the module.
+export PYTHONPATH=%{buildroot}%{$python_sitelib}
+$python -m nbsphinx
+# We cannot test it on our own doc/ because we lack the right Sphinx packages
+#$python -m sphinx doc/ _build/ -Dsuppress_warnings=git.too_shallow -b html
+}
 
 %files %{python_files}
 %doc NEWS.rst README.rst

++++++ nbsphinx-0.7.1.tar.gz -> nbsphinx-0.8.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nbsphinx-0.7.1/CONTRIBUTING.rst 
new/nbsphinx-0.8.0/CONTRIBUTING.rst
--- old/nbsphinx-0.7.1/CONTRIBUTING.rst 2020-04-21 20:03:22.000000000 +0200
+++ new/nbsphinx-0.8.0/CONTRIBUTING.rst 2020-10-19 22:04:59.000000000 +0200
@@ -3,7 +3,7 @@
 
 If you find bugs, errors, omissions or other things that need improvement,
 please create an issue or a pull request at
-http://github.com/spatialaudio/nbsphinx/.
+https://github.com/spatialaudio/nbsphinx/.
 Contributions are always welcome!
 
 
@@ -11,22 +11,20 @@
 ------------------------
 
 Instead of pip-installing the latest release from PyPI_, you should get the
-newest development version (a.k.a. "master") from Github_::
+newest development version (a.k.a. "master") with Git::
 
    git clone https://github.com/spatialaudio/nbsphinx.git
    cd nbsphinx
-   python3 -m pip install -e . --user
+   python3 -m pip install -e .
 
-This way, your installation always stays up-to-date, even if you pull new
-changes from the Github repository.  If you have only Python 3 installed, you
-might have to use the command ``python`` instead of ``python3``.
-When installing ``nbsphinx`` this way, you can also quickly check other Git
+... where ``-e`` stands for ``--editable``.
+
+When installing this way, you can quickly try other Git
 branches (in this example the branch is called "another-branch")::
 
    git checkout another-branch
 
-When you run Sphinx now, it automatically uses the version "another-branch" of
-``nbsphinx``.  If you want to go back to the "master" branch, use::
+If you want to go back to the "master" branch, use::
 
    git checkout master
 
@@ -44,7 +42,7 @@
 Initially, you might need to install a few packages that are needed to build 
the
 documentation::
 
-   python3 -m pip install -r doc/requirements.txt --user
+   python3 -m pip install -r doc/requirements.txt
 
 To (re-)build the HTML files, use::
 
@@ -59,7 +57,6 @@
 and ``build/sphinx/latex/``, respectively.
 
 .. _PyPI: https://pypi.org/project/nbsphinx/
-.. _Github: https://github.com/spatialaudio/nbsphinx/
 
 
 Testing
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nbsphinx-0.7.1/NEWS.rst new/nbsphinx-0.8.0/NEWS.rst
--- old/nbsphinx-0.7.1/NEWS.rst 2020-06-16 19:00:15.000000000 +0200
+++ new/nbsphinx-0.8.0/NEWS.rst 2020-10-20 12:29:06.000000000 +0200
@@ -1,42 +1,80 @@
-Version 0.7.1 (2020-06-16):
+Version 0.8.0 -- 2020-10-20 -- PyPI__ -- diff__
+ * Don't overwrite Pygments background in notebook code cells.
+   To get rid of those ugly greenish code blocks,
+   remove ``pygments_style = 'sphinx'`` from your ``conf.py``.
+ * Switch documentation to
+   `insipid <https://insipid-sphinx-theme.readthedocs.io/>`_ theme by default
+ * Require Python 3.6+
+
+__ https://pypi.org/project/nbsphinx/0.8.0/
+__ https://github.com/spatialaudio/nbsphinx/compare/0.7.1...0.8.0
+
+Version 0.7.1 -- 2020-06-16 -- PyPI__ -- diff__
  * Avoid links on scaled images
 
-Version 0.7.0 (2020-05-08):
+__ https://pypi.org/project/nbsphinx/0.7.1/
+__ https://github.com/spatialaudio/nbsphinx/compare/0.7.0...0.7.1
+
+Version 0.7.0 -- 2020-05-08 -- PyPI__ -- diff__
  * Warnings can be suppressed with ``suppress_warnings``.
  * ``<img>`` tags are handled in Markdown cells; the ``alt``, ``width``,
    ``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`__.
+   too small. If you want to hide the prompts, use
+   `custom CSS <https://nbsphinx.readthedocs.io/en/0.7.0/custom-css.html>`_.
 
-   __ https://nbsphinx.readthedocs.io/en/0.7.0/custom-css.html
-Version 0.6.1 (2020-04-18):
+__ https://pypi.org/project/nbsphinx/0.7.0/
+__ https://github.com/spatialaudio/nbsphinx/compare/0.6.1...0.7.0
+
+Version 0.6.1 -- 2020-04-18 -- PyPI__ -- diff__
  * ``.ipynb_checkpoints`` is automatically added to ``exclude_patterns``
 
-Version 0.6.0 (2020-04-03):
+__ https://pypi.org/project/nbsphinx/0.6.1/
+__ https://github.com/spatialaudio/nbsphinx/compare/0.6.0...0.6.1
+
+Version 0.6.0 -- 2020-04-03 -- PyPI__ -- diff__
  * Thumbnail galleries (inspired by https://sphinx-gallery.github.io/)
  * ``nbsphinx-toctree`` as cell tag
  * Keyword arguments in ``nbsphinx_custom_formats``
  * Python 2 support has been dropped
 
-Version 0.5.1 (2020-01-28):
+__ https://pypi.org/project/nbsphinx/0.6.0/
+__ https://github.com/spatialaudio/nbsphinx/compare/0.5.1...0.6.0
+
+Version 0.5.1 -- 2020-01-28 -- PyPI__ -- diff__
  * This will be the last release supporting Python 2.x!
  * Support for https://github.com/choldgraf/sphinx-copybutton
  * Executed notebooks are now saved in the HTML output directory
 
-Version 0.5.0 (2019-11-20):
+__ https://pypi.org/project/nbsphinx/0.5.1/
+__ https://github.com/spatialaudio/nbsphinx/compare/0.5.0...0.5.1
+
+Version 0.5.0 -- 2019-11-20 -- PyPI__ -- diff__
  * Automatic support for Jupyter widgets, customizable with
    ``nbsphinx_widgets_path`` (and ``nbsphinx_widgets_options``)
 
-Version 0.4.3 (2019-09-30):
+__ https://pypi.org/project/nbsphinx/0.5.0/
+__ https://github.com/spatialaudio/nbsphinx/compare/0.4.3...0.5.0
+
+Version 0.4.3 -- 2019-09-30 -- PyPI__ -- diff__
  * Add option ``nbsphinx_requirejs_path`` (and ``nbsphinx_requirejs_options``)
 
-Version 0.4.2 (2019-01-15):
+__ https://pypi.org/project/nbsphinx/0.4.3/
+__ https://github.com/spatialaudio/nbsphinx/compare/0.4.2...0.4.3
+
+Version 0.4.2 -- 2019-01-15 -- PyPI__ -- diff__
  * Re-establish Python 2 compatibility (but the clock is ticking ...)
 
-Version 0.4.1 (2018-12-16):
+__ https://pypi.org/project/nbsphinx/0.4.2/
+__ https://github.com/spatialaudio/nbsphinx/compare/0.4.1...0.4.2
+
+Version 0.4.1 -- 2018-12-16 -- PyPI__ -- diff__
  * Fix issue #266
 
-Version 0.4.0 (2018-12-14):
+__ https://pypi.org/project/nbsphinx/0.4.1/
+__ https://github.com/spatialaudio/nbsphinx/compare/0.4.0...0.4.1
+
+Version 0.4.0 -- 2018-12-14 -- PyPI__ -- diff__
  * Support for "data-cite" HTML tags in Markdown cells
  * Add option ``nbsphinx_custom_formats``
  * LaTeX macros ``\nbsphinxstartnotebook`` and ``\nbsphinxstopnotebook``
@@ -44,92 +82,170 @@
  * Add options ``nbsphinx_input_prompt`` and ``nbsphinx_output_prompt``
  * Re-design LaTeX output of code cells, fix image sizes
 
-Version 0.3.5 (2018-09-10):
+__ https://pypi.org/project/nbsphinx/0.4.0/
+__ https://github.com/spatialaudio/nbsphinx/compare/0.3.5...0.4.0
+
+Version 0.3.5 -- 2018-09-10 -- PyPI__ -- diff__
  * Disable ``nbconvert`` version 5.4 to avoid
    `issue #878 <https://github.com/jupyter/nbconvert/issues/878>`__
 
-Version 0.3.4 (2018-07-28):
+__ https://pypi.org/project/nbsphinx/0.3.5/
+__ https://github.com/spatialaudio/nbsphinx/compare/0.3.4...0.3.5
+
+Version 0.3.4 -- 2018-07-28 -- PyPI__ -- diff__
  * Fix issue #196 and other minor changes
 
-Version 0.3.3 (2018-04-25):
+__ https://pypi.org/project/nbsphinx/0.3.4/
+__ https://github.com/spatialaudio/nbsphinx/compare/0.3.3...0.3.4
+
+Version 0.3.3 -- 2018-04-25 -- PyPI__ -- diff__
  * Locally linked files are only copied for Jupyter notebooks (and not anymore
    for other Sphinx source files)
 
-Version 0.3.2 (2018-03-28):
+__ https://pypi.org/project/nbsphinx/0.3.3/
+__ https://github.com/spatialaudio/nbsphinx/compare/0.3.2...0.3.3
+
+Version 0.3.2 -- 2018-03-28 -- PyPI__ -- diff__
  * Links to local files are rewritten for all Sphinx source files (not only
    Jupyter notebooks)
 
-Version 0.3.1 (2018-01-17):
+__ https://pypi.org/project/nbsphinx/0.3.2/
+__ https://github.com/spatialaudio/nbsphinx/compare/0.3.1...0.3.2
+
+Version 0.3.1 -- 2018-01-17 -- PyPI__ -- diff__
  * Enable notebook translations (NB: The use of reST strings is temporary!)
 
-Version 0.3.0 (2018-01-02):
+__ https://pypi.org/project/nbsphinx/0.3.1/
+__ https://github.com/spatialaudio/nbsphinx/compare/0.3.0...0.3.1
+
+Version 0.3.0 -- 2018-01-02 -- PyPI__ -- diff__
  * Add options ``nbsphinx_prolog`` and ``nbsphinx_epilog``
  * Links from ``*.rst`` files to notebooks have to start with a slash
 
-Version 0.2.18 (2017-12-03):
+__ https://pypi.org/project/nbsphinx/0.3.0/
+__ https://github.com/spatialaudio/nbsphinx/compare/0.2.18...0.3.0
+
+Version 0.2.18 -- 2017-12-03 -- PyPI__ -- diff__
  * Fix issue #148
 
-Version 0.2.17 (2017-11-12):
+__ https://pypi.org/project/nbsphinx/0.2.18/
+__ https://github.com/spatialaudio/nbsphinx/compare/0.2.17...0.2.18
+
+Version 0.2.17 -- 2017-11-12 -- PyPI__ -- diff__
  * Fix issue #146
 
-Version 0.2.16 (2017-11-07):
+__ https://pypi.org/project/nbsphinx/0.2.17/
+__ https://github.com/spatialaudio/nbsphinx/compare/0.2.16...0.2.17
+
+Version 0.2.16 -- 2017-11-07 -- PyPI__ -- diff__
  * Fix issue #142
 
-Version 0.2.15 (2017-11-03):
+__ https://pypi.org/project/nbsphinx/0.2.16/
+__ https://github.com/spatialaudio/nbsphinx/compare/0.2.15...0.2.16
+
+Version 0.2.15 -- 2017-11-03 -- PyPI__ -- diff__
  * Links to subsections are now possible in all source files
 
-Version 0.2.14 (2017-06-09):
+__ https://pypi.org/project/nbsphinx/0.2.15/
+__ https://github.com/spatialaudio/nbsphinx/compare/0.2.14...0.2.15
+
+Version 0.2.14 -- 2017-06-09 -- PyPI__ -- diff__
  * Add option ``nbsphinx_kernel_name``
 
-Version 0.2.13 (2017-01-25):
+__ https://pypi.org/project/nbsphinx/0.2.14/
+__ https://github.com/spatialaudio/nbsphinx/compare/0.2.13...0.2.14
+
+Version 0.2.13 -- 2017-01-25 -- PyPI__ -- diff__
  * Minor fixes
 
-Version 0.2.12 (2016-12-19):
+__ https://pypi.org/project/nbsphinx/0.2.13/
+__ https://github.com/spatialaudio/nbsphinx/compare/0.2.12...0.2.13
+
+Version 0.2.12 -- 2016-12-19 -- PyPI__ -- diff__
  * Basic support for widgets
  * CSS is now "responsive", some new CSS classes
 
-Version 0.2.11 (2016-11-19):
+__ https://pypi.org/project/nbsphinx/0.2.12/
+__ https://github.com/spatialaudio/nbsphinx/compare/0.2.11...0.2.12
+
+Version 0.2.11 -- 2016-11-19 -- PyPI__ -- diff__
  * Minor fixes
 
-Version 0.2.10 (2016-10-16):
+__ https://pypi.org/project/nbsphinx/0.2.11/
+__ https://github.com/spatialaudio/nbsphinx/compare/0.2.10...0.2.11
+
+Version 0.2.10 -- 2016-10-16 -- PyPI__ -- diff__
  * Enable JavaScript output cells
 
-Version 0.2.9 (2016-07-26):
+__ https://pypi.org/project/nbsphinx/0.2.10/
+__ https://github.com/spatialaudio/nbsphinx/compare/0.2.9...0.2.10
+
+Version 0.2.9 -- 2016-07-26 -- PyPI__ -- diff__
  * Add option ``nbsphinx_prompt_width``
 
-Version 0.2.8 (2016-05-20):
+__ https://pypi.org/project/nbsphinx/0.2.9/
+__ https://github.com/spatialaudio/nbsphinx/compare/0.2.8...0.2.9
+
+Version 0.2.8 -- 2016-05-20 -- PyPI__ -- diff__
  * Add options ``nbsphinx_execute`` and ``nbsphinx_execute_arguments``
  * Separate "display priority" for HTML and LaTeX
 
-Version 0.2.7 (2016-05-04):
+__ https://pypi.org/project/nbsphinx/0.2.8/
+__ https://github.com/spatialaudio/nbsphinx/compare/0.2.7...0.2.8
+
+Version 0.2.7 -- 2016-05-04 -- PyPI__ -- diff__
  * Special CSS tuning for ``sphinx_rtd_theme``
  * Replace info/warning ``<div>`` elements with ``nbinfo``/``nbwarning``
 
-Version 0.2.6 (2016-04-12):
+__ https://pypi.org/project/nbsphinx/0.2.7/
+__ https://github.com/spatialaudio/nbsphinx/compare/0.2.6...0.2.7
+
+Version 0.2.6 -- 2016-04-12 -- PyPI__ -- diff__
  * Support for LaTeX math environments in Markdown cells
  * Add options ``nbsphinx_timeout`` and ``nbsphinx_codecell_lexer``
 
-Version 0.2.5 (2016-03-15):
+__ https://pypi.org/project/nbsphinx/0.2.6/
+__ https://github.com/spatialaudio/nbsphinx/compare/0.2.5...0.2.6
+
+Version 0.2.5 -- 2016-03-15 -- PyPI__ -- diff__
  * Add option ``nbsphinx_allow_errors`` to globally ignore exceptions
  * Separate class `nbsphinx.Exporter`
 
-Version 0.2.4 (2016-02-12):
+__ https://pypi.org/project/nbsphinx/0.2.5/
+__ https://github.com/spatialaudio/nbsphinx/compare/0.2.4...0.2.5
+
+Version 0.2.4 -- 2016-02-12 -- PyPI__ -- diff__
  * Support for "nbsphinx-toctree" cell metadata
 
-Version 0.2.3 (2016-01-22):
+__ https://pypi.org/project/nbsphinx/0.2.4/
+__ https://github.com/spatialaudio/nbsphinx/compare/0.2.3...0.2.4
+
+Version 0.2.3 -- 2016-01-22 -- PyPI__ -- diff__
  * Links from notebooks to local files can now be used
 
-Version 0.2.2 (2016-01-06):
+__ https://pypi.org/project/nbsphinx/0.2.3/
+__ https://github.com/spatialaudio/nbsphinx/compare/0.2.2...0.2.3
+
+Version 0.2.2 -- 2016-01-06 -- PyPI__ -- diff__
  * Support for links to sub-sections in other notebooks
 
-Version 0.2.1 (2016-01-04):
+__ https://pypi.org/project/nbsphinx/0.2.2/
+__ https://github.com/spatialaudio/nbsphinx/compare/0.2.1...0.2.2
+
+Version 0.2.1 -- 2016-01-04 -- PyPI__ -- diff__
  * No need to mention ``source_suffix`` and ``source_parsers`` in ``conf.py``
 
-Version 0.2.0 (2015-12-27):
+__ https://pypi.org/project/nbsphinx/0.2.1/
+__ https://github.com/spatialaudio/nbsphinx/compare/0.2.0...0.2.1
+
+Version 0.2.0 -- 2015-12-27 -- PyPI__ -- diff__
  * Add support for ``allow_errors`` and ``hidden`` metadata
  * Add custom reST template
  * Add nbinput and nboutput directives with HTML+CSS and LaTeX formatting
  * Turn nbsphinx into a Sphinx extension
 
-Version 0.1.0 (2015-11-29):
+__ https://pypi.org/project/nbsphinx/0.2.0/
+__ https://github.com/spatialaudio/nbsphinx/compare/0.1.0...0.2.0
+
+Version 0.1.0 -- 2015-11-29
    Initial release
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nbsphinx-0.7.1/PKG-INFO new/nbsphinx-0.8.0/PKG-INFO
--- old/nbsphinx-0.7.1/PKG-INFO 2020-06-16 19:01:18.869664700 +0200
+++ new/nbsphinx-0.8.0/PKG-INFO 2020-10-20 12:35:51.941053600 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.2
 Name: nbsphinx
-Version: 0.7.1
+Version: 0.8.0
 Summary: Jupyter Notebook Tools for Sphinx
 Home-page: https://nbsphinx.readthedocs.io/
 Author: Matthias Geier
@@ -53,4 +53,4 @@
 Classifier: Programming Language :: Python
 Classifier: Programming Language :: Python :: 3
 Classifier: Topic :: Documentation :: Sphinx
-Requires-Python: >=3
+Requires-Python: >=3.6
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nbsphinx-0.7.1/doc/a-normal-rst-file.rst 
new/nbsphinx-0.8.0/doc/a-normal-rst-file.rst
--- old/nbsphinx-0.7.1/doc/a-normal-rst-file.rst        2020-05-05 
11:53:09.000000000 +0200
+++ new/nbsphinx-0.8.0/doc/a-normal-rst-file.rst        2020-10-20 
12:15:04.000000000 +0200
@@ -35,7 +35,7 @@
 You can also use an `anonymous hyperlink target`_, like this: link__.
 If you have multiple of those, their order matters!
 
-.. _anonymous hyperlink target: http://docutils.sourceforge.net/docs/ref/rst/
+.. _anonymous hyperlink target: https://docutils.sourceforge.io/docs/ref/rst/
                                 restructuredtext.html#anonymous-hyperlinks
 
 __ subdir/a-notebook-in-a-subdir.ipynb
@@ -49,7 +49,7 @@
 Finally, you can use `Embedded URIs`_, like this
 `link <subdir/a-notebook-in-a-subdir.ipynb>`_.
 
-.. _Embedded URIs: http://docutils.sourceforge.net/docs/ref/rst/
+.. _Embedded URIs: https://docutils.sourceforge.io/docs/ref/rst/
                    restructuredtext.html#embedded-uris-and-aliases
 
 .. code-block:: rst
@@ -159,11 +159,14 @@
 
 .. py:function:: example_python_function(foo)
 
-    This is just for testing domain object links. See
-    :ref:`this section </markdown-cells.ipynb#Links-to-Domain-Objects>`.
+    This is just for testing domain object links.
 
     :param str foo: Example string parameter
 
+    .. seealso::
+
+        :ref:`/markdown-cells.ipynb#Links-to-Domain-Objects`
+
 Citations
 ---------
 
@@ -215,7 +218,7 @@
 see https://github.com/mcmtroffaes/sphinxcontrib-bibtex/issues/156.
 
 There is an alternative Sphinx extension for creating bibliographies:
-https://bitbucket.org/wnielson/sphinx-natbib/.
+``https://bitbucket.org/wnielson/sphinx-natbib/``.
 However, this project seems to be abandoned (last commit in 2011).
 
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nbsphinx-0.7.1/doc/allow-errors.ipynb 
new/nbsphinx-0.8.0/doc/allow-errors.ipynb
--- old/nbsphinx-0.7.1/doc/allow-errors.ipynb   2020-03-24 20:02:16.000000000 
+0100
+++ new/nbsphinx-0.8.0/doc/allow-errors.ipynb   2020-10-19 22:04:59.000000000 
+0200
@@ -21,17 +21,21 @@
     "\n",
     "1. Manually execute the notebook in question and save the results, see 
[the pre-executed example notebook](pre-executed.ipynb).\n",
     "\n",
-    "2. Allow errors in all notebooks by setting this option in 
[conf.py](conf.py):\n",
-    "   ```\n",
-    "   nbsphinx_allow_errors = True\n",
-    "   ```\n",
-    "\n",
-    "3. Allow errors on a per-notebook basis by adding this to the notebook's 
JSON metadata:\n",
-    "   ```\n",
-    "   \"nbsphinx\": {\n",
-    "     \"allow_errors\": true\n",
-    "   },\n",
-    "   ```\n",
+    "2. Allow errors in all notebooks by setting this option\n",
+    "    in [conf.py](conf.py):\n",
+    "\n",
+    "    ```python\n",
+    "    nbsphinx_allow_errors = True\n",
+    "    ```\n",
+    "\n",
+    "3. Allow errors on a per-notebook basis by adding this to the 
notebook's\n",
+    "    JSON metadata:\n",
+    "\n",
+    "    ```\n",
+    "    \"nbsphinx\": {\n",
+    "      \"allow_errors\": true\n",
+    "    },\n",
+    "    ```\n",
     "\n",
     "4. Allow errors on a per-cell basis using the `raises-exception` tag, see 
[Ignoring Errors on a Cell-by-Cell Basis](allow-errors-per-cell.ipynb).\n",
     "\n",
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nbsphinx-0.7.1/doc/code-cells.ipynb 
new/nbsphinx-0.8.0/doc/code-cells.ipynb
--- old/nbsphinx-0.7.1/doc/code-cells.ipynb     2020-05-09 16:41:13.000000000 
+0200
+++ new/nbsphinx-0.8.0/doc/code-cells.ipynb     2020-10-20 12:15:04.000000000 
+0200
@@ -448,7 +448,7 @@
    "source": [
     "### Pandas Dataframes\n",
     "\n",
-    "[Pandas 
dataframes](https://pandas.pydata.org/pandas-docs/stable/getting_started/dsintro.html#dataframe)\n",
+    "[Pandas 
dataframes](https://pandas.pydata.org/pandas-docs/stable/user_guide/dsintro.html#dataframe)\n",
     "should be displayed as nicely formatted HTML tables (if you are using 
HTML output)."
    ]
   },
@@ -744,7 +744,7 @@
    "cell_type": "markdown",
    "metadata": {},
    "source": [
-    "The following code showing the 8 basic ANSI colors is based on 
http://tldp.org/HOWTO/Bash-Prompt-HOWTO/x329.html.\n";,
+    "The following code showing the 8 basic ANSI colors is based on 
https://tldp.org/HOWTO/Bash-Prompt-HOWTO/x329.html.\n";,
     "Each of the 8 colors has an \"intense\" variation, which is used for bold 
text."
    ]
   },
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nbsphinx-0.7.1/doc/conf.py 
new/nbsphinx-0.8.0/doc/conf.py
--- old/nbsphinx-0.7.1/doc/conf.py      2020-06-14 21:15:21.000000000 +0200
+++ new/nbsphinx-0.8.0/doc/conf.py      2020-10-20 11:52:15.000000000 +0200
@@ -1,5 +1,3 @@
-#!/usr/bin/env python3
-
 import os
 
 # Use sphinx-quickstart to create your own conf.py file!
@@ -104,6 +102,8 @@
     'https://github.com/spatialaudio/nbsphinx/compare/',
 ]
 
+nitpicky = True
+
 # -- Get version information and date from Git ----------------------------
 
 try:
@@ -163,3 +163,15 @@
 # These are just defined to avoid Sphinx warnings related to EPUB:
 version = release
 suppress_warnings = ['epub.unknown_project_files']
+
+# -- Set default HTML theme (if none was given above) ---------------------
+
+if 'html_theme' not in globals():
+    try:
+        import insipid_sphinx_theme
+    except ImportError:
+        pass
+    else:
+        html_theme = 'insipid'
+        html_copy_source = False
+        html_add_permalinks = '\N{SECTION SIGN}'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nbsphinx-0.7.1/doc/configuring-kernels.ipynb 
new/nbsphinx-0.8.0/doc/configuring-kernels.ipynb
--- old/nbsphinx-0.7.1/doc/configuring-kernels.ipynb    2020-03-24 
20:02:16.000000000 +0100
+++ new/nbsphinx-0.8.0/doc/configuring-kernels.ipynb    2020-10-20 
12:15:04.000000000 +0200
@@ -106,7 +106,7 @@
    "source": [
     "If you are using https://mybinder.org/ and you want to define environment 
variables,\n",
     "you should create a file `.binder/start` in your repository\n",
-    "(see [Binder 
docs](https://mybinder.readthedocs.io/en/latest/config_files.html#start-run-code-before-the-user-sessions-starts))\n",
+    "(see [Binder 
docs](https://mybinder.readthedocs.io/en/latest/using/config_files.html#start-run-code-before-the-user-sessions-starts))\n",
     "containing definitions like this:\n",
     "\n",
     "```bash\n",
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nbsphinx-0.7.1/doc/installation.ipynb 
new/nbsphinx-0.8.0/doc/installation.ipynb
--- old/nbsphinx-0.7.1/doc/installation.ipynb   2020-04-21 20:03:22.000000000 
+0200
+++ new/nbsphinx-0.8.0/doc/installation.ipynb   2020-10-20 12:15:04.000000000 
+0200
@@ -19,42 +19,33 @@
     "You can always get the newest `nbsphinx` release from 
[PyPI](https://pypi.org/project/nbsphinx) (using `pip`).\n",
     "If you want to try the latest development version, have a look at the 
section [Contributing](contributing.rst).\n",
     "\n",
-    "## nbsphinx Packages\n",
+    "## `nbsphinx` Packages\n",
     "\n",
     "[![Anaconda 
Badge](https://anaconda.org/conda-forge/nbsphinx/badges/version.svg)](https://anaconda.org/conda-forge/nbsphinx)\n",
     "\n",
-    "If you are using the `conda` package manager (e.g. with 
[Anaconda](https://www.anaconda.com/distribution/) for Linux/macOS/Windows), 
you can install `nbsphinx` from the [conda-forge](https://conda-forge.org/) 
channel:\n",
+    "If you are using the `conda` package manager (e.g. with 
[Anaconda](https://www.anaconda.com/products/individual#Downloads) for 
Linux/macOS/Windows), you can install `nbsphinx` from the 
[conda-forge](https://conda-forge.org/) channel:\n",
     "\n",
     "    conda install -c conda-forge nbsphinx\n",
     "\n",
-    "If you are using Linux, there are packages available for many 
distributions.\n",
-    "\n",
-    "[![Packaging 
status](https://repology.org/badge/vertical-allrepos/python:nbsphinx.svg)](https://repology.org/project/python:nbsphinx/versions)\n",
-    "\n",
     "[![PyPI 
version](https://badge.fury.io/py/nbsphinx.png)](https://pypi.org/project/nbsphinx)\n",
     "\n",
-    "On any platform, you can also install `nbsphinx` with `pip`, Python's own 
package manager:\n",
-    "\n",
-    "    python3 -m pip install nbsphinx --user\n",
-    "\n",
-    "If you want to install it system-wide for all users (assuming you have 
the necessary rights), just drop the `--user` flag.\n",
-    "\n",
-    "To upgrade an existing `nbsphinx` installation to the newest release, use 
the `--upgrade` flag:\n",
-    "\n",
-    "    python3 -m pip install nbsphinx --upgrade --user\n",
+    "You can of course also install `nbsphinx` with `pip`, Python's own 
package manager:\n",
     "\n",
-    "If you suddenly change your mind, you can un-install it with:\n",
+    "    python3 -m pip install nbsphinx\n",
     "\n",
-    "    python3 -m pip uninstall nbsphinx\n",
+    "Depending on your Python installation,\n",
+    "you may have to use `python` instead of `python3`.\n",
+    "If you have installed the module already,\n",
+    "you can use the `--upgrade` flag to get the newest release.\n",
     "\n",
-    "Depending on your Python installation, you may have to use `python` 
instead of `python3`."
+    "[venv]: https://docs.python.org/3/tutorial/venv.html";
    ]
   },
   {
    "cell_type": "markdown",
    "metadata": {},
    "source": [
-    "## nbsphinx Prerequisites\n",
+    "## `nbsphinx` Prerequisites\n",
     "\n",
     "Some of the aforementioned packages will install some of these 
prerequisites automatically, some of the things may be already installed on 
your computer anyway.\n",
     "\n",
@@ -62,7 +53,7 @@
     "\n",
     "Of course you'll need Python, because both Sphinx and `nbsphinx` are 
implemented in Python.\n",
     "There are many ways to get Python.\n",
-    "If you don't know which one is best for you, you can try 
[Anaconda](https://www.anaconda.com/distribution/).\n",
+    "If you don't know which one is best for you, you can try 
[Anaconda](https://www.anaconda.com/products/individual#Downloads).\n",
     "\n",
     "### Sphinx\n",
     "\n",
@@ -74,7 +65,7 @@
     "\n",
     "Alternatively, you can install it with `pip` (see below):\n",
     "\n",
-    "    python3 -m pip install Sphinx --user\n",
+    "    python3 -m pip install Sphinx\n",
     "\n",
     "### pip\n",
     "\n",
@@ -108,7 +99,7 @@
     "\n",
     "or\n",
     "\n",
-    "    python3 -m pip install IPython --user\n",
+    "    python3 -m pip install IPython\n",
     "\n",
     "<div class=\"alert alert-info\">\n",
     "\n",
@@ -133,7 +124,7 @@
     "\n",
     "or\n",
     "\n",
-    "    python3 -m pip install ipykernel --user\n",
+    "    python3 -m pip install ipykernel\n",
     "\n",
     "If you created your notebooks yourself with Jupyter, it's very likely 
that you have the right kernel installed already."
    ]
@@ -155,9 +146,9 @@
    "name": "python",
    "nbconvert_exporter": "python",
    "pygments_lexer": "ipython3",
-   "version": "3.6.3"
+   "version": "3.8.5"
   }
  },
  "nbformat": 4,
- "nbformat_minor": 1
+ "nbformat_minor": 4
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nbsphinx-0.7.1/doc/links.ipynb 
new/nbsphinx-0.8.0/doc/links.ipynb
--- old/nbsphinx-0.7.1/doc/links.ipynb  2020-05-13 12:37:34.000000000 +0200
+++ new/nbsphinx-0.8.0/doc/links.ipynb  2020-10-20 12:15:04.000000000 +0200
@@ -47,7 +47,7 @@
     "\n",
     "There are some forks:\n",
     "\n",
-    "* 
https://bitbucket.org/yt_analysis/yt-doc/src/default/extensions/notebook_sphinxext.py\n";,
+    "* 
`https://bitbucket.org/yt_analysis/yt-doc/src/default/extensions/notebook_sphinxext.py`
 (not available anymore)\n",
     "* 
https://github.com/matthew-brett/perrin-academy/blob/master/sphinxext/notebook_sphinxext.py";
    ]
   },
@@ -59,7 +59,7 @@
     "\n",
     "Build a tested, sphinx-based website from notebooks.\n",
     "\n",
-    "https://nbsite.pyviz.org/";
+    "https://nbsite.holoviz.org/";
    ]
   },
   {
@@ -102,11 +102,28 @@
     "The primary tool this package provides is a Sphinx parser for `ipynb` 
files.\n",
     "This allows you to directly convert Jupyter Notebooks into Sphinx 
documents.\n",
     "It relies heavily on the\n",
-    "[`MyST` parser](https://github.com/ExecutableBookProject/myst_parser).\n",
+    "[MyST parser](https://github.com/executablebooks/MyST-Parser).\n",
     "\n",
     "https://myst-nb.readthedocs.io/\n";,
     "\n",
-    "https://github.com/ExecutableBookProject/MyST-NB";
+    "https://github.com/executablebooks/MyST-NB";
+   ]
+  },
+  {
+   "cell_type": "markdown",
+   "metadata": {},
+   "source": [
+    "**notebook-to-pdf**\n",
+    "\n",
+    "This Jupyter notebook extension allows you to save your notebook as a 
PDF.\n",
+    "\n",
+    "Three new features compared to the official \"save as PDF\" extension:\n",
+    "\n",
+    "1. produce a PDF with the smallest number of page breaks,\n",
+    "1. the original notebook is attached to the PDF; and\n",
+    "1. this extension does not require LaTex.\n",
+    "\n",
+    "https://github.com/betatim/notebook-as-pdf";
    ]
   },
   {
@@ -285,7 +302,7 @@
    "name": "python",
    "nbconvert_exporter": "python",
    "pygments_lexer": "ipython3",
-   "version": "3.8.2"
+   "version": "3.8.6"
   }
  },
  "nbformat": 4,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nbsphinx-0.7.1/doc/pre-executed.ipynb 
new/nbsphinx-0.8.0/doc/pre-executed.ipynb
--- old/nbsphinx-0.7.1/doc/pre-executed.ipynb   2020-04-21 20:03:22.000000000 
+0200
+++ new/nbsphinx-0.8.0/doc/pre-executed.ipynb   2020-10-19 22:04:59.000000000 
+0200
@@ -185,6 +185,43 @@
    "source": [
     "sorted?"
    ]
+  },
+  {
+   "cell_type": "markdown",
+   "metadata": {},
+   "source": [
+    "## Interactive Input\n",
+    "\n",
+    "If your code asks for user input,\n",
+    "it probably doesn't work when executed by Sphinx/`nbsphinx`.\n",
+    "You'll probably get an error like this:\n",
+    "\n",
+    "    StdinNotImplementedError: raw_input was called, but this frontend 
does not support input requests.\n",
+    "\n",
+    "In this case, you can run the notebook interactively,\n",
+    "provide the desired inputs and then save the notebook including its cell 
outputs."
+   ]
+  },
+  {
+   "cell_type": "code",
+   "execution_count": 7,
+   "metadata": {},
+   "outputs": [
+    {
+     "name": "stdin",
+     "output_type": "stream",
+     "text": [
+      "What... is your name? Sir Lancelot of Camelot\n",
+      "What... is your quest? To seek the Holy Grail\n",
+      "What... is your favorite color? Blue\n"
+     ]
+    }
+   ],
+   "source": [
+    "name = input('What... is your name?')\n",
+    "quest = input('What... is your quest?')\n",
+    "color = input('What... is your favorite color?')"
+   ]
   }
  ],
  "metadata": {
@@ -203,7 +240,7 @@
    "name": "python",
    "nbconvert_exporter": "python",
    "pygments_lexer": "ipython3",
-   "version": "3.7.6"
+   "version": "3.8.6"
   },
   "widgets": {
    "state": {},
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nbsphinx-0.7.1/doc/usage.ipynb 
new/nbsphinx-0.8.0/doc/usage.ipynb
--- old/nbsphinx-0.7.1/doc/usage.ipynb  2020-06-16 18:50:51.000000000 +0200
+++ new/nbsphinx-0.8.0/doc/usage.ipynb  2020-10-20 12:15:04.000000000 +0200
@@ -196,6 +196,22 @@
    "cell_type": "markdown",
    "metadata": {},
    "source": [
+    "#### `pygments_style`\n",
+    "\n",
+    "Use\n",
+    
"[pygments_style](https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-pygments_style)\n",
+    "to change the color/font theme that's used for syntax highlighting in 
source code.\n",
+    "\n",
+    "This affects both [code cells](code-cells.ipynb)\n",
+    "and [code blocks in Markdown cells](markdown-cells.ipynb#Code)\n",
+    "(unless overwritten by the\n",
+    
"[html_theme](https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-html_theme))."
+   ]
+  },
+  {
+   "cell_type": "markdown",
+   "metadata": {},
+   "source": [
     "#### `suppress_warnings`\n",
     "\n",
     "Warnings can be really helpful to detect small mistakes,\n",
@@ -703,7 +719,7 @@
    "source": [
     "## HTML Themes\n",
     "\n",
-    "The `nbsphinx` extension does *not* provide its own theme, you can use 
any of the available themes or [create a custom 
one](https://www.sphinx-doc.org/en/master/theming.html#creating-themes), if you 
feel like it.\n",
+    "The `nbsphinx` extension does *not* provide its own theme, you can use 
any of the available themes or [create a custom 
one](https://www.sphinx-doc.org/en/master/development/theming.html#creating-themes),
 if you feel like it.\n",
     "\n",
     "The following (incomplete) list of themes contains up to three links for 
each theme:\n",
     "\n",
@@ -779,10 +795,18 @@
     "  [example](https://nbsphinx.readthedocs.io/en/dask-theme/),\n",
     "  
[usage](https://github.com/spatialaudio/nbsphinx/compare/dask-theme^...dask-theme)\n",
     "\n",
+    "* [furo](https://github.com/pradyunsg/furo):\n",
+    "  [example](https://nbsphinx.readthedocs.io/en/furo-theme/),\n",
+    "  
[usage](https://github.com/spatialaudio/nbsphinx/compare/furo-theme^...furo-theme)\n",
+    "\n",
     "* 
[guzzle_sphinx_theme](https://github.com/guzzle/guzzle_sphinx_theme):\n",
     "  [example](https://nbsphinx.readthedocs.io/en/guzzle-theme/),\n",
     "  
[usage](https://github.com/spatialaudio/nbsphinx/compare/guzzle-theme^...guzzle-theme)\n",
     "\n",
+    "* [insipid](https://github.com/mgeier/insipid-sphinx-theme/):\n",
+    "  [example](https://nbsphinx.readthedocs.io/en/insipid-theme/),\n",
+    "  
[usage](https://github.com/spatialaudio/nbsphinx/compare/insipid-theme^...insipid-theme)\n",
+    "\n",
     "* [jupyter](https://github.com/jupyter/jupyter-sphinx-theme/):\n",
     "  [example](https://nbsphinx.readthedocs.io/en/jupyter-theme/),\n",
     "  
[usage](https://github.com/spatialaudio/nbsphinx/compare/jupyter-theme^...jupyter-theme)\n",
@@ -811,6 +835,10 @@
     "  [example](https://nbsphinx.readthedocs.io/en/sphinx-book-theme/),\n",
     "  
[usage](https://github.com/spatialaudio/nbsphinx/compare/sphinx-book-theme^...sphinx-book-theme)\n",
     "\n",
+    "* 
[sphinx_holoviz_theme](https://github.com/pyviz-dev/sphinx_holoviz_theme):\n",
+    "  [example](https://nbsphinx.readthedocs.io/en/holoviz-theme/),\n",
+    "  
[usage](https://github.com/spatialaudio/nbsphinx/compare/holoviz-theme^...holoviz-theme)\n",
+    "\n",
     "* [sphinx_material](https://github.com/bashtage/sphinx-material):\n",
     "  [example](https://nbsphinx.readthedocs.io/en/material-theme/),\n",
     "  
[usage](https://github.com/spatialaudio/nbsphinx/compare/material-theme^...material-theme)\n",
@@ -819,10 +847,6 @@
     "  
[example](https://nbsphinx.readthedocs.io/en/py3doc-enhanced-theme/),\n",
     "  
[usage](https://github.com/spatialaudio/nbsphinx/compare/py3doc-enhanced-theme^...py3doc-enhanced-theme)\n",
     "\n",
-    "* 
[sphinx_pyviz_theme](https://github.com/pyviz-dev/sphinx_pyviz_theme):\n",
-    "  [example](https://nbsphinx.readthedocs.io/en/pyviz-theme/),\n",
-    "  
[usage](https://github.com/spatialaudio/nbsphinx/compare/pyviz-theme^...pyviz-theme)\n",
-    "\n",
     "* [sphinx_rtd_theme](https://github.com/readthedocs/sphinx_rtd_theme):\n",
     "  [example](https://nbsphinx.readthedocs.io/en/rtd-theme/),\n",
     "  
[usage](https://github.com/spatialaudio/nbsphinx/compare/rtd-theme^...rtd-theme)\n",
@@ -886,7 +910,7 @@
    "name": "python",
    "nbconvert_exporter": "python",
    "pygments_lexer": "ipython3",
-   "version": "3.8.2"
+   "version": "3.8.3"
   }
  },
  "nbformat": 4,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nbsphinx-0.7.1/setup.py new/nbsphinx-0.8.0/setup.py
--- old/nbsphinx-0.7.1/setup.py 2020-04-21 20:03:22.000000000 +0200
+++ new/nbsphinx-0.8.0/setup.py 2020-10-20 12:11:38.000000000 +0200
@@ -12,7 +12,7 @@
     version=__version__,
     package_dir={'': 'src'},
     py_modules=['nbsphinx'],
-    python_requires='>=3',
+    python_requires='>=3.6',
     install_requires=[
         'docutils',
         'jinja2',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nbsphinx-0.7.1/src/nbsphinx.egg-info/PKG-INFO 
new/nbsphinx-0.8.0/src/nbsphinx.egg-info/PKG-INFO
--- old/nbsphinx-0.7.1/src/nbsphinx.egg-info/PKG-INFO   2020-06-16 
19:01:18.000000000 +0200
+++ new/nbsphinx-0.8.0/src/nbsphinx.egg-info/PKG-INFO   2020-10-20 
12:35:51.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.2
 Name: nbsphinx
-Version: 0.7.1
+Version: 0.8.0
 Summary: Jupyter Notebook Tools for Sphinx
 Home-page: https://nbsphinx.readthedocs.io/
 Author: Matthias Geier
@@ -53,4 +53,4 @@
 Classifier: Programming Language :: Python
 Classifier: Programming Language :: Python :: 3
 Classifier: Topic :: Documentation :: Sphinx
-Requires-Python: >=3
+Requires-Python: >=3.6
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nbsphinx-0.7.1/src/nbsphinx.py 
new/nbsphinx-0.8.0/src/nbsphinx.py
--- old/nbsphinx-0.7.1/src/nbsphinx.py  2020-06-16 18:58:17.000000000 +0200
+++ new/nbsphinx-0.8.0/src/nbsphinx.py  2020-10-20 12:17:03.000000000 +0200
@@ -23,7 +23,7 @@
 https://nbsphinx.readthedocs.io/
 
 """
-__version__ = '0.7.1'
+__version__ = '0.8.0'
 
 import collections.abc
 import copy
@@ -32,6 +32,7 @@
 import os
 import re
 import subprocess
+import sys
 from urllib.parse import unquote
 import uuid
 
@@ -48,6 +49,13 @@
 from sphinx.util.matching import patmatch
 import traitlets
 
+
+if sys.version_info >= (3, 8) and sys.platform == 'win32':
+    # See: https://github.com/jupyter/jupyter_client/issues/583
+    import asyncio
+
+    asyncio.set_event_loop_policy(asyncio.WindowsSelectorEventLoopPolicy())
+
 _ipynbversion = 4
 
 logger = sphinx.util.logging.getLogger(__name__)
@@ -181,7 +189,7 @@
 
     .. raw:: html
 
-{{ output.data['text/html'] | indent | indent }}
+{{ (output.data['text/html'] or '<!-- empty output -->') | indent | indent }}
 {%- elif datatype == 'application/javascript' %}
 
     .. raw:: html
@@ -196,6 +204,10 @@
     .. raw:: html
 
         <script type="{{ datatype }}">{{ output.data[datatype] | json_dumps 
}}</script>
+{%- elif datatype == '' %}
+{# Empty output data #}
+
+    ..
 {% else %}
 
     .. nbwarning:: Data type cannot be displayed: {{ datatype }}
@@ -243,19 +255,19 @@
 {%- if raw_mimetype == '' %}
 .. raw:: html
 
-{{ cell.source | indent }}
+{{ (cell.source or '<!-- empty raw cell -->') | indent }}
 
 .. raw:: latex
 
-{{ cell.source | indent }}
+{{ (cell.source or '% empty raw cell') | indent }}
 {%- elif raw_mimetype == 'text/html' %}
 .. raw:: html
 
-{{ cell.source | indent }}
+{{ (cell.source or '<!-- empty raw cell -->') | indent }}
 {%- elif raw_mimetype == 'text/latex' %}
 .. raw:: latex
 
-{{ cell.source | indent }}
+{{ (cell.source or '% empty raw cell') | indent }}
 {%- elif raw_mimetype == 'text/markdown' %}
 {{ cell.source | markdown2rst }}
 {%- elif raw_mimetype == 'text/restructuredtext' %}
@@ -426,23 +438,37 @@
 /* CSS for nbsphinx extension */
 
 /* remove conflicting styling from Sphinx themes */
-div.nbinput.container,
-div.nbinput.container div.prompt,
-div.nbinput.container div.input_area,
-div.nbinput.container div[class*=highlight],
-div.nbinput.container div[class*=highlight] pre,
-div.nboutput.container,
-div.nboutput.container div.prompt,
-div.nboutput.container div.output_area,
-div.nboutput.container div[class*=highlight],
-div.nboutput.container div[class*=highlight] pre {
-    background: none;
+div.nbinput.container div.prompt *,
+div.nboutput.container div.prompt *,
+div.nbinput.container div.input_area pre,
+div.nboutput.container div.output_area pre,
+div.nbinput.container div.input_area .highlight,
+div.nboutput.container div.output_area .highlight {
     border: none;
-    padding: 0 0;
+    padding: 0;
     margin: 0;
     box-shadow: none;
 }
 
+div.nbinput.container > div[class*=highlight],
+div.nboutput.container > div[class*=highlight] {
+    margin: 0;
+}
+
+div.nbinput.container div.prompt *,
+div.nboutput.container div.prompt * {
+    background: none;
+}
+
+div.nboutput.container div.output_area .highlight,
+div.nboutput.container div.output_area pre {
+    background: unset;
+}
+
+div.nboutput.container div.output_area div.highlight {
+    color: unset;  /* override Pygments text color */
+}
+
 /* avoid gaps between output lines */
 div.nboutput.container div[class*=highlight] pre {
     line-height: normal;
@@ -541,7 +567,7 @@
 div.nbinput.container div.input_area {
     border: 1px solid #e0e0e0;
     border-radius: 2px;
-    background: #f5f5f5;
+    /*background: #f5f5f5;*/
 }
 
 /* override MathJax center alignment in output cells */
@@ -607,6 +633,7 @@
 div.nboutput.container div.output_area > div.output_javascript,
 div.nboutput.container div.output_area:not(.rendered_html) > img{
     padding: 5px;
+    margin: 0;
 }
 
 /* fix copybtn overflow problem in chromium (needed for 'sphinx_copybutton') */
_______________________________________________
openSUSE Commits mailing list -- commit@lists.opensuse.org
To unsubscribe, email commit-le...@lists.opensuse.org
List Netiquette: https://en.opensuse.org/openSUSE:Mailing_list_netiquette
List Archives: 
https://lists.opensuse.org/archives/list/commit@lists.opensuse.org

Reply via email to