Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-nbsphinx for openSUSE:Factory
checked in at 2023-06-04 00:12:31
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-nbsphinx (Old)
and /work/SRC/openSUSE:Factory/.python-nbsphinx.new.15902 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-nbsphinx"
Sun Jun 4 00:12:31 2023 rev:15 rq:1090500 version:0.9.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-nbsphinx/python-nbsphinx.changes
2023-03-21 17:42:57.334239927 +0100
+++
/work/SRC/openSUSE:Factory/.python-nbsphinx.new.15902/python-nbsphinx.changes
2023-06-04 00:12:41.361565152 +0200
@@ -1,0 +2,9 @@
+Fri Jun 2 12:34:50 UTC 2023 - Ben Greiner <[email protected]>
+
+- Update to 0.9.2
+ * Improve support for sphinx_immaterial theme
+ * Improve support for links starting with #
+ * Add support for in-text citations
+ * LaTeX: Add support for admonition titles
+
+-------------------------------------------------------------------
Old:
----
nbsphinx-0.9.1.tar.gz
New:
----
nbsphinx-0.9.2.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-nbsphinx.spec ++++++
--- /var/tmp/diff_new_pack.ff7js4/_old 2023-06-04 00:12:41.981568859 +0200
+++ /var/tmp/diff_new_pack.ff7js4/_new 2023-06-04 00:12:41.985568882 +0200
@@ -17,7 +17,7 @@
Name: python-nbsphinx
-Version: 0.9.1
+Version: 0.9.2
Release: 0
Summary: Jupyter Notebook Tools for Sphinx
License: MIT
@@ -31,7 +31,6 @@
BuildRequires: %{python_module nbformat}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
-BuildRequires: %{python_module sphinx_rtd_theme}
BuildRequires: %{python_module traitlets >= 5}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
@@ -41,7 +40,6 @@
Requires: python-docutils
Requires: python-nbconvert
Requires: python-nbformat
-Requires: python-sphinx_rtd_theme
Requires: python-traitlets >= 5
Recommends: mathjax
Recommends: pandoc
++++++ nbsphinx-0.9.1.tar.gz -> nbsphinx-0.9.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/nbsphinx-0.9.1/NEWS.rst new/nbsphinx-0.9.2/NEWS.rst
--- old/nbsphinx-0.9.1/NEWS.rst 2023-03-14 19:09:26.000000000 +0100
+++ new/nbsphinx-0.9.2/NEWS.rst 2023-05-24 22:51:58.000000000 +0200
@@ -1,3 +1,12 @@
+Version 0.9.2 -- 2023-05-24 -- PyPI__ -- diff__
+ * Improve support for ``sphinx_immaterial`` theme
+ * Improve support for links starting with ``#``
+ * Add support for in-text citations
+ * LaTeX: Add support for admonition titles
+
+__ https://pypi.org/project/nbsphinx/0.9.2/
+__ https://github.com/spatialaudio/nbsphinx/compare/0.9.1...0.9.2
+
Version 0.9.1 -- 2023-03-14 -- PyPI__ -- diff__
* pandoc: disable "smart" option only for version 2.0+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/nbsphinx-0.9.1/PKG-INFO new/nbsphinx-0.9.2/PKG-INFO
--- old/nbsphinx-0.9.1/PKG-INFO 2023-03-14 19:10:23.366583000 +0100
+++ new/nbsphinx-0.9.2/PKG-INFO 2023-05-24 22:53:04.985066400 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: nbsphinx
-Version: 0.9.1
+Version: 0.9.2
Summary: Jupyter Notebook Tools for Sphinx
Home-page: https://nbsphinx.readthedocs.io/
Author: Matthias Geier
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/nbsphinx-0.9.1/doc/a-normal-rst-file.rst
new/nbsphinx-0.9.2/doc/a-normal-rst-file.rst
--- old/nbsphinx-0.9.1/doc/a-normal-rst-file.rst 2023-03-14
10:55:02.000000000 +0100
+++ new/nbsphinx-0.9.2/doc/a-normal-rst-file.rst 2023-05-21
12:29:22.000000000 +0200
@@ -187,6 +187,7 @@
]
bibtex_bibfiles = ['my-references.bib']
+ bibtex_reference_style = 'author_year'
Afterwards all the references defined in the bibliography file(s) can be used
throughout the Jupyter notebooks and other source files as detailed in the
following.
@@ -204,6 +205,14 @@
:cite:`perez2011python`
+You can also create so-called in-text citations,
+where the names of the authors, for example :cite:t:`perez2011python`,
+are part of the sentence:
+
+.. code-block:: rst
+
+ :cite:t:`perez2011python`
+
You can create similar citations in Jupyter notebooks with a special HTML
syntax, see the section about
`citations in Markdown cells <markdown-cells.ipynb#Citations>`__.
@@ -229,6 +238,12 @@
:footcite:`perez2011python`
+In-text citations like :footcite:t:`kluyver2016jupyter` can be created like
this:
+
+.. code-block:: rst
+
+ :footcite:t:`kluyver2016jupyter`
+
Also footnote citations can be used within Jupyter notebooks with a special
HTML syntax,
see the section about
`footnote citations in Markdown cells
<markdown-cells.ipynb#Footnote-citations>`__.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/nbsphinx-0.9.1/doc/code-cells.ipynb
new/nbsphinx-0.9.2/doc/code-cells.ipynb
--- old/nbsphinx-0.9.1/doc/code-cells.ipynb 2023-03-14 10:55:02.000000000
+0100
+++ new/nbsphinx-0.9.2/doc/code-cells.ipynb 2023-05-21 17:37:19.000000000
+0200
@@ -150,28 +150,6 @@
"cell_type": "markdown",
"metadata": {},
"source": [
- "## Cell Magics\n",
- "\n",
- "IPython can handle code in other languages by means of [cell
magics](https://ipython.readthedocs.io/en/stable/interactive/magics.html#cell-magics):"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": null,
- "metadata": {},
- "outputs": [],
- "source": [
- "%%bash\n",
- "for i in 1 2 3\n",
- "do\n",
- " echo $i\n",
- "done"
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
"## Special Display Formats\n",
"\n",
"See [IPython example
notebook](https://nbviewer.jupyter.org/github/ipython/ipython/blob/main/examples/IPython
Kernel/Rich Output.ipynb)."
@@ -462,84 +440,6 @@
]
},
{
- "cell_type": "code",
- "execution_count": null,
- "metadata": {},
- "outputs": [],
- "source": [
- "df = pd.DataFrame(np.random.randint(0, 100, size=[5, 4]),\n",
- " columns=['a', 'b', 'c', 'd'])\n",
- "df"
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "For LaTeX output, however, the plain text output is used by default.\n",
- "\n",
- "To get nice LaTeX tables, a few settings have to be changed:"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": null,
- "metadata": {},
- "outputs": [],
- "source": [
- "pd.set_option('display.latex.repr', True)"
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "This is not enabled by default because of\n",
- "[Pandas issue
#12182](https://github.com/pandas-dev/pandas/issues/12182).\n",
- "\n",
- "The generated LaTeX tables utilize the `booktabs` package, so you have to
make sure that package is [loaded in the
preamble](https://www.sphinx-doc.org/en/master/latex.html) with:\n",
- "\n",
- " \\usepackage{booktabs}\n",
- "\n",
- "In order to allow page breaks within tables, you should use:"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": null,
- "metadata": {},
- "outputs": [],
- "source": [
- "pd.set_option('display.latex.longtable', True)"
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "The `longtable` package is already used by Sphinx,\n",
- "so you don't have to manually load it in the preamble.\n",
- "\n",
- "Finally, if you want to use LaTeX math expressions in your dataframe,
you'll have to disable escaping:"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": null,
- "metadata": {},
- "outputs": [],
- "source": [
- "pd.set_option('display.latex.escape', False)"
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "The above settings should have no influence on the HTML output, but the
LaTeX output should now look nicer:"
- ]
- },
- {
"cell_type": "code",
"execution_count": null,
"metadata": {},
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/nbsphinx-0.9.1/doc/conf.py
new/nbsphinx-0.9.2/doc/conf.py
--- old/nbsphinx-0.9.1/doc/conf.py 2023-03-14 11:38:30.000000000 +0100
+++ new/nbsphinx-0.9.2/doc/conf.py 2023-05-24 21:44:25.000000000 +0200
@@ -88,7 +88,9 @@
'tex': {'tags': 'ams', 'useLabelIds': True},
}
+# https://sphinxcontrib-bibtex.readthedocs.io/en/latest/usage.html
bibtex_bibfiles = ['references.bib']
+bibtex_reference_style = 'author_year'
# Support for notebook formats other than .ipynb
nbsphinx_custom_formats = {
@@ -112,6 +114,8 @@
linkcheck_ignore = [
r'http://localhost:\d+/',
'https://github.com/spatialaudio/nbsphinx/compare/',
+ # 418 Client Error: Unknown for url:
https://ieeexplore.ieee.org/document/5582063/
+ 'https://doi.org/10.1109/MCSE.2010.119',
]
nitpicky = True
@@ -141,14 +145,17 @@
'printindex': '',
'sphinxsetup': r"""
HeaderFamily=\rmfamily\bfseries,
-%verbatimwithframe=false,
-%verbatimwrapslines=false,
-%verbatimhintsturnover=false,
-noteBorderColor={HTML}{E0E0E0},
-noteborder=0.5pt,
-warningBorderColor={HTML}{E0E0E0},
-warningborder=1.5pt,
-warningBgColor={HTML}{FBFBFB},
+div.note_border-TeXcolor={HTML}{E0E0E0},
+div.note_border-width=0.5pt,
+div.note_box-decoration-break=slice,
+div.warning_border-TeXcolor={HTML}{E0E0E0},
+div.warning_border-width=1.5pt,
+div.warning_background-TeXcolor={HTML}{FBFBFB},
+div.warning_box-decoration-break=slice,
+div.topic_box-shadow=none,
+div.topic_border-TeXcolor={HTML}{E0E0E0},
+div.topic_border-width=0.5pt,
+div.topic_box-decoration-break=slice,
""",
'fontpkg': r"""
\usepackage{mathpazo}
@@ -158,8 +165,6 @@
""",
'preamble': r"""
\urlstyle{tt}
-\renewenvironment{sphinxnote}[1]
- {\begin{sphinxheavybox}\sphinxstrong{#1} }{\end{sphinxheavybox}}
""",
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/nbsphinx-0.9.1/doc/installation.ipynb
new/nbsphinx-0.9.2/doc/installation.ipynb
--- old/nbsphinx-0.9.1/doc/installation.ipynb 2023-03-14 10:55:02.000000000
+0100
+++ new/nbsphinx-0.9.2/doc/installation.ipynb 2023-05-21 12:29:22.000000000
+0200
@@ -27,7 +27,7 @@
"(e.g. with\n",
"[Miniforge](https://github.com/conda-forge/miniforge),\n",
"[Miniconda](https://docs.conda.io/en/latest/miniconda.html) or\n",
- "[Anaconda](https://www.anaconda.com/products/distribution#Downloads)),\n",
+ "[Anaconda](https://www.anaconda.com/download#downloads)),\n",
"you can install `nbsphinx` from the
[conda-forge](https://conda-forge.org/) channel:\n",
"\n",
" conda install -c conda-forge nbsphinx\n",
@@ -60,7 +60,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/products/individual#Downloads).\n",
+ "If you don't know which one is best for you, you can try
[Miniforge/Mambaforge](https://github.com/conda-forge/miniforge).\n",
"\n",
"### Sphinx\n",
"\n",
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/nbsphinx-0.9.1/doc/markdown-cells.ipynb
new/nbsphinx-0.9.2/doc/markdown-cells.ipynb
--- old/nbsphinx-0.9.1/doc/markdown-cells.ipynb 2023-03-14 10:55:02.000000000
+0100
+++ new/nbsphinx-0.9.2/doc/markdown-cells.ipynb 2023-05-21 12:29:22.000000000
+0200
@@ -199,10 +199,10 @@
"`nbconvert` supports citations using a special HTML-based syntax.\n",
"`nbsphinx` supports the same syntax.\n",
"\n",
- "Example: <cite data-cite=\"kluyver2016jupyter\">Kluyver et al.
(2016)</cite>.\n",
+ "Example: <cite data-cite=\"kluyver2016jupyter\">(Kluyver et al.
2016)</cite>.\n",
"\n",
"```html\n",
- "<cite data-cite=\"kluyver2016jupyter\">Kluyver et al. (2016)</cite>\n",
+ "<cite data-cite=\"kluyver2016jupyter\">(Kluyver et al. 2016)</cite>\n",
"```\n",
"\n",
"You don't actually have to use `<cite>`,\n",
@@ -213,6 +213,14 @@
"<strong data-cite=\"perez2011python\">Python: An Ecosystem for Scientific
Computing</strong>\n",
"```\n",
"\n",
+ "In-text citations like\n",
+ "<cite data-cite-t=\"kluyver2016jupyter\">Kluyver et al. (2016)</cite>\n",
+ "can be created like this:\n",
+ "\n",
+ "```html\n",
+ "<cite data-cite-t=\"kluyver2016jupyter\">Kluyver et al. (2016)</cite>\n",
+ "```\n",
+ "\n",
"You'll also have to define a list of references,\n",
"see [the section about references](a-normal-rst-file.rst#references).\n",
"\n",
@@ -224,12 +232,20 @@
"\n",
"Depending on whether the documentation is rendered into HTML or into
LaTeX/PDF, the citations are either placed into a bibliography as ordinary
citations (HTML output) or placed into the footnotes of the citation's
respective page (PDF).\n",
"\n",
- "Example: <cite data-footcite=\"perez2011python\">Pérez et al.
(2011)</cite>.\n",
+ "Example: <cite data-footcite=\"perez2011python\">(Pérez et al.
2011)</cite>.\n",
"\n",
"```html\n",
- "<cite data-footcite=\"perez2011python\">Pérez et al. (2011)</cite>\n",
+ "<cite data-footcite=\"perez2011python\">(Pérez et al. 2011)</cite>\n",
"```\n",
"\n",
+ "Example for an in-text citation:\n",
+ "<cite data-footcite-t=\"perez2011python\">Pérez et al. (2011)</cite>.\n",
+ "\n",
+ "```html\n",
+ "<cite data-footcite-t=\"perez2011python\">Pérez et al. (2011)</cite>\n",
+ "```\n",
+ "\n",
+ "\n",
"As footnote references are restricted to their own Jupyter notebook or
other source file, a raw nbconvert cell of reST format (see [the section about
raw cells](raw-cells.ipynb)) can be added to the notebook, containing the\n",
"\n",
"```rst\n",
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/nbsphinx-0.9.1/doc/references.rst
new/nbsphinx-0.9.2/doc/references.rst
--- old/nbsphinx-0.9.1/doc/references.rst 2023-03-14 10:55:02.000000000
+0100
+++ new/nbsphinx-0.9.2/doc/references.rst 2023-05-21 17:37:19.000000000
+0200
@@ -28,5 +28,4 @@
With ``docutils`` versions 0.18 and 0.19,
the HTML output after the bibliography is broken,
see https://github.com/mcmtroffaes/sphinxcontrib-bibtex/issues/309.
- This problem will be fixed in the next ``docutils`` version
- (either 0.19.1 or 0.20).
+ This problem has been fixed in ``docutils`` version 0.20.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/nbsphinx-0.9.1/doc/requirements.txt
new/nbsphinx-0.9.2/doc/requirements.txt
--- old/nbsphinx-0.9.1/doc/requirements.txt 2023-03-14 10:55:02.000000000
+0100
+++ new/nbsphinx-0.9.2/doc/requirements.txt 2023-05-21 17:37:19.000000000
+0200
@@ -8,5 +8,3 @@
jupytext
sphinx-last-updated-by-git
sphinx-codeautolink
-# docutils is an automatic dependency of Sphinx. This is only necessary until
docutils > 0.19.0 is released:
--e svn+https://svn.code.sf.net/p/docutils/code/trunk/docutils@9126#egg=docutils
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/nbsphinx-0.9.1/doc/usage.ipynb
new/nbsphinx-0.9.2/doc/usage.ipynb
--- old/nbsphinx-0.9.1/doc/usage.ipynb 2023-03-14 10:55:02.000000000 +0100
+++ new/nbsphinx-0.9.2/doc/usage.ipynb 2023-05-24 22:47:39.000000000 +0200
@@ -436,6 +436,10 @@
" [example](https://nbsphinx.readthedocs.io/en/holoviz-theme/),\n",
"
[usage](https://github.com/spatialaudio/nbsphinx/compare/holoviz-theme^...holoviz-theme)\n",
"\n",
+ "* [sphinx_immaterial](https://github.com/jbms/sphinx-immaterial):\n",
+ " [example](https://nbsphinx.readthedocs.io/en/immaterial-theme/),\n",
+ "
[usage](https://github.com/spatialaudio/nbsphinx/compare/immaterial-theme^...immaterial-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",
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/nbsphinx-0.9.1/src/nbsphinx/__init__.py
new/nbsphinx-0.9.2/src/nbsphinx/__init__.py
--- old/nbsphinx-0.9.1/src/nbsphinx/__init__.py 2023-03-14 19:08:59.000000000
+0100
+++ new/nbsphinx-0.9.2/src/nbsphinx/__init__.py 2023-05-24 22:49:14.000000000
+0200
@@ -3,7 +3,7 @@
https://nbsphinx.readthedocs.io/
"""
-__version__ = '0.9.1'
+__version__ = '0.9.2'
import collections.abc
import copy
@@ -29,6 +29,11 @@
import sphinx.errors
import sphinx.transforms.post_transforms.images
from sphinx.util.matching import patmatch
+try:
+ from sphinx.util.display import status_iterator
+except ImportError:
+ # This will be removed in Sphinx 8:
+ from sphinx.util import status_iterator
import traitlets
@@ -865,6 +870,17 @@
return markdown2rst(text)
+_CITE_ROLES = {
+ 'data-cite': 'cite',
+ 'data-footcite': 'footcite',
+}
+_CITE_ROLES.update({
+ f'{k}-{suffix}': f'{v}:{suffix}'
+ for k, v in _CITE_ROLES.items()
+ for suffix in ('p', 'ps', 't', 'ts', 'ct', 'cts')
+})
+
+
class CitationParser(html.parser.HTMLParser):
def handle_starttag(self, tag, attrs):
@@ -879,12 +895,11 @@
def _check_cite(self, attrs):
for name, value in attrs:
- if name == 'data-cite':
- self.cite = ':cite:`' + value + '`'
- return True
- elif name == 'data-footcite':
- self.cite = ':footcite:`' + value + '`'
- return True
+ try:
+ self.cite = f':{_CITE_ROLES[name]}:`{value}`'
+ except KeyError:
+ continue
+ return True
return False
def reset(self):
@@ -1168,12 +1183,12 @@
if not refuri:
# Target doesn't have URI
return '', ''
- if '://' in refuri:
- # Not a local link
- return '', ''
- elif refuri.startswith('#') or refuri.startswith('mailto:'):
+ if '://' in refuri or refuri.startswith('mailto:'):
# Not a local link
return '', ''
+ elif refuri.startswith('#'):
+ # Kinda not a local link
+ return '', refuri
# NB: We look for "fragment identifier" before unquoting
match = re.match(r'^([^#]*)(#.*)$', refuri)
@@ -1214,7 +1229,15 @@
filename, fragment = _local_file_from_reference(
node, self.document)
if not filename:
- continue
+ if fragment:
+ # This should not be needed if it weren't for
+ # https://github.com/sphinx-doc/sphinx/issues/11336 and
+ # https://github.com/sphinx-doc/sphinx/issues/11335
+ filename = os.path.basename(env.doc2path(env.docname))
+ if fragment == '#':
+ fragment = ''
+ else:
+ continue
for s in env.config.source_suffix:
if filename.lower().endswith(s.lower()):
@@ -1631,7 +1654,6 @@
files = set()
for file_list in app.env.nbsphinx_files.values():
files.update(file_list)
- status_iterator = sphinx.util.status_iterator
for file in status_iterator(files, 'copying linked files... ',
sphinx.util.console.brown, len(files)):
target = os.path.join(app.builder.outdir, file)
@@ -1909,9 +1931,17 @@
def visit_admonition_latex(self, node):
- # See http://tex.stackexchange.com/q/305898/:
- self.body.append(
- '\n\\begin{sphinxadmonition}{' + node['classes'][1] + '}{}\\unskip')
+ kind = node['classes'][1]
+ if len(node.children) >= 2 and isinstance(
+ node.children[0], docutils.nodes.paragraph):
+ title = node.children[0].astext()
+ del node.children[0]
+ self.body.append(
+ '\n\\begin{sphinxadmonition}{' + kind + '}{' + title + '}\\par')
+ else:
+ # See http://tex.stackexchange.com/q/305898/:
+ self.body.append(
+ '\n\\begin{sphinxadmonition}{' + kind + '}{}\\unskip')
def depart_admonition_latex(self, node):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/nbsphinx-0.9.1/src/nbsphinx/_static/nbsphinx-code-cells.css_t
new/nbsphinx-0.9.2/src/nbsphinx/_static/nbsphinx-code-cells.css_t
--- old/nbsphinx-0.9.1/src/nbsphinx/_static/nbsphinx-code-cells.css_t
2023-03-14 10:55:02.000000000 +0100
+++ new/nbsphinx-0.9.2/src/nbsphinx/_static/nbsphinx-code-cells.css_t
2023-05-24 22:43:35.000000000 +0200
@@ -62,12 +62,16 @@
}
/* input prompt */
-div.nbinput.container div.prompt pre {
+div.nbinput.container div.prompt pre,
+/* for sphinx_immaterial theme: */
+div.nbinput.container div.prompt pre > code {
color: #307FC1;
}
/* output prompt */
-div.nboutput.container div.prompt pre {
+div.nboutput.container div.prompt pre,
+/* for sphinx_immaterial theme: */
+div.nboutput.container div.prompt pre > code {
color: #BF5B3D;
}
@@ -204,8 +208,10 @@
overflow-y: hidden;
}
-/* hide copybtn icon on prompts (needed for 'sphinx_copybutton') */
-.prompt .copybtn {
+/* hide copy button on prompts for 'sphinx_copybutton' extension ... */
+.prompt .copybtn,
+/* ... and 'sphinx_immaterial' theme */
+.prompt .md-clipboard.md-icon {
display: none;
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/nbsphinx-0.9.1/src/nbsphinx.egg-info/PKG-INFO
new/nbsphinx-0.9.2/src/nbsphinx.egg-info/PKG-INFO
--- old/nbsphinx-0.9.1/src/nbsphinx.egg-info/PKG-INFO 2023-03-14
19:10:23.000000000 +0100
+++ new/nbsphinx-0.9.2/src/nbsphinx.egg-info/PKG-INFO 2023-05-24
22:53:04.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: nbsphinx
-Version: 0.9.1
+Version: 0.9.2
Summary: Jupyter Notebook Tools for Sphinx
Home-page: https://nbsphinx.readthedocs.io/
Author: Matthias Geier