[Python-modules-commits] [nbconvert] 01/01: Build documentation
Gordon Ball
chronitis-guest at moszumanska.debian.org
Thu Dec 15 12:38:21 UTC 2016
This is an automated email from the git hooks/post-receive script.
chronitis-guest pushed a commit to branch master
in repository nbconvert.
commit cb761743be8b7acca0e0835f77c9f96ce604f858
Author: Gordon Ball <gordon at chronitis.net>
Date: Tue Dec 13 17:58:59 2016 +0100
Build documentation
---
debian/changelog | 6 ++++++
debian/control | 15 +++++++++++++--
debian/python-nbconvert-doc.doc-base | 9 +++++++++
debian/rules | 2 +-
4 files changed, 29 insertions(+), 3 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index aaac855..3b55f69 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+nbconvert (4.2.0-5) UNRELEASED; urgency=medium
+
+ * Re-enable building documentation now nbsphinx is available.
+
+ -- Gordon Ball <gordon at chronitis.net> Tue, 13 Dec 2016 17:58:24 +0100
+
nbconvert (4.2.0-4) unstable; urgency=medium
* Team upload.
diff --git a/debian/control b/debian/control
index 6f3274b..6fc8b79 100644
--- a/debian/control
+++ b/debian/control
@@ -22,8 +22,6 @@ Build-Depends: debhelper (>= 10),
python-pickleshare,
python-pygments,
python-setuptools,
- python-sphinx,
- python-sphinx-rtd-theme,
python-testpath,
python-traitlets,
python3-all,
@@ -34,11 +32,14 @@ Build-Depends: debhelper (>= 10),
python3-jupyter-core,
python3-mistune,
python3-nbformat,
+ python3-nbsphinx <!nodocs>,
python3-nose,
python3-path,
python3-pickleshare,
python3-pygments,
python3-setuptools,
+ python3-sphinx <!nodocs>,
+ python3-sphinx-rtd-theme <!nodocs>,
python3-testpath,
python3-traitlets,
texlive-fonts-recommended,
@@ -87,3 +88,13 @@ Description: Jupyter notebook conversion (scripts)
using Jinja templates.
.
This package installs the jupyter-nbconvert script.
+
+Package: python-nbconvert-doc
+Architecture: all
+Depends: ${misc:Depends}, ${sphinxdoc:Depends}
+Section: doc
+Description: Jupyter notebook conversion (documentation)
+ Jupyter nbconvert converts notebooks to various other formats
+ using Jinja templates.
+ .
+ This package installs the documentation.
diff --git a/debian/python-nbconvert-doc.doc-base b/debian/python-nbconvert-doc.doc-base
new file mode 100644
index 0000000..9180420
--- /dev/null
+++ b/debian/python-nbconvert-doc.doc-base
@@ -0,0 +1,9 @@
+Document: python-nbconvert-doc
+Title: NBConvert Documentation
+Author: Jupyter Development Team
+Abstract: Sphinx documentation for nbconvert
+Section: Programming/Python
+
+Format: HTML
+Index: /usr/share/doc/python-nbconvert-doc/html/index.html
+Files: /usr/share/doc/python-nbconvert-doc/html/*
diff --git a/debian/rules b/debian/rules
index 6d22ea9..c3bcaeb 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,7 +7,7 @@ export PYBUILD_TEST_ARGS=-v
# add ",sphinxdoc" when nbsphinx is in Debian
# (nbconvert's doc needs nbsphinx but nbsphinx needs nbconvert)
%:
- dh $@ --with python2,python3 --buildsystem=pybuild
+ dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild
override_dh_auto_install:
dh_auto_install
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/nbconvert.git
More information about the Python-modules-commits
mailing list