1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49
|
Description: exclude pages using jupytext from documentation
Jupytext is not packaged in Debian.
Origin: vendor, Debian
Forwarded: not-needed
Author: Dmitry Shachnev <mitya57@debian.org>
Last-Update: 2021-10-03
--- nbsphinx.orig/doc/conf.py
+++ nbsphinx/doc/conf.py
@@ -98,12 +98,6 @@
bibtex_bibfiles = ['references.bib']
-# Support for notebook formats other than .ipynb
-nbsphinx_custom_formats = {
- '.pct.py': ['jupytext.reads', {'fmt': 'py:percent'}],
- '.md': ['jupytext.reads', {'fmt': 'Rmd'}],
-}
-
# Import Matplotlib to avoid this message in notebooks:
# "Matplotlib is building the font cache; this may take a moment."
import matplotlib.pyplot
--- nbsphinx.orig/doc/index.rst
+++ nbsphinx/doc/index.rst
@@ -5,12 +5,6 @@
except for the sections :doc:`a-normal-rst-file`,
:doc:`contributing` and :doc:`version-history`,
which were generated from Sphinx's built-in `reStructuredText`__ format.
-The sections
-:doc:`custom-formats`,
-:doc:`gallery/due-rst` and
-:doc:`a-markdown-file`
-are using alternative storage formats for Jupyter notebooks,
-see :doc:`custom-formats` for details.
__ https://www.sphinx-doc.org/en/master/usage/restructuredtext/basics.html
@@ -26,11 +20,9 @@
hidden-cells
executing-notebooks
prolog-and-epilog
- custom-formats
subdir/*
custom-css
a-normal-rst-file
- a-markdown-file
links
contributing
version-history
|