[med-svn] [Git][med-team/intake][master] Get sphinxdoc to generate the manpages and documentation

Shayan Doust gitlab at salsa.debian.org
Sat Jun 20 14:31:03 BST 2020



Shayan Doust pushed to branch master at Debian Med / intake


Commits:
cff133f6 by Shayan Doust at 2020-06-20T14:30:47+01:00
Get sphinxdoc to generate the manpages and documentation

- - - - -


2 changed files:

- debian/control
- debian/rules


Changes:

=====================================
debian/control
=====================================
@@ -23,7 +23,9 @@ Build-Depends: debhelper-compat (= 13),
                python3-cloudpickle,
                python3-zarr,
                python3-msgpack-numpy,
-               python3-sphinx
+               python3-sphinx,
+               python3-sphinx-rtd-theme,
+               python3-numpydoc
 Standards-Version: 4.5.0
 Vcs-Browser: https://salsa.debian.org/med-team/intake
 Vcs-Git: https://salsa.debian.org/med-team/intake.git


=====================================
debian/rules
=====================================
@@ -11,7 +11,15 @@ export PYBUILD_NAME=intake
 # export DEB_BUILD_MAINT_OPTIONS=hardening=+all
 
 %:
-	dh $@ --with python3 --buildsystem=pybuild
+	dh $@ --with python3,sphinxdoc --buildsystem=pybuild
+
+override_dh_auto_build: export http_proxy=127.0.0.1:9
+override_dh_auto_build: export https_proxy=127.0.0.1:9
+override_dh_auto_build:
+	dh_auto_build
+	PYTHONPATH=. python3 -m sphinx -N -bhtml docs/source/ build/html/ # HTML generator
+	PYTHONPATH=. python3 -m sphinx -N -bman docs/source/ build/man/ # Manpage generator
+
 
 override_dh_install:
 	dh_install



View it on GitLab: https://salsa.debian.org/med-team/intake/-/commit/cff133f62938b3dca4083e372589bf5f92c22fa2

-- 
View it on GitLab: https://salsa.debian.org/med-team/intake/-/commit/cff133f62938b3dca4083e372589bf5f92c22fa2
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20200620/786997fa/attachment.html>


More information about the debian-med-commit mailing list