[med-svn] [Git][med-team/enlighten][master] Build sphinx documentation (html and manpages)
Shayan Doust
gitlab at salsa.debian.org
Mon Jun 8 17:35:48 BST 2020
Shayan Doust pushed to branch master at Debian Med / enlighten
Commits:
6651019d by Shayan Doust at 2020-06-08T17:35:33+01:00
Build sphinx documentation (html and manpages)
- - - - -
2 changed files:
- debian/control
- debian/rules
Changes:
=====================================
debian/control
=====================================
@@ -7,7 +7,10 @@ Build-Depends: debhelper-compat (= 13),
python3-all,
python3-setuptools,
dh-python,
- python3-blessed
+ python3-blessed,
+ python3-sphinx,
+ python3-sphinx-rtd-theme,
+ python3-sphinxcontrib.spelling
Standards-Version: 4.3.0
Vcs-Browser: https://salsa.debian.org/med-team/enlighten
Vcs-Git: https://salsa.debian.org/med-team/enlighten.git
=====================================
debian/rules
=====================================
@@ -9,4 +9,11 @@ include /usr/share/dpkg/default.mk
# 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 doc/ build/html # HTML generator
+ PYTHONPATH=. python3 -m sphinx -N -bman doc/ build/man # Manpage generator
View it on GitLab: https://salsa.debian.org/med-team/enlighten/-/commit/6651019d4d4c3b8d97e20984a8aaaceb6428de49
--
View it on GitLab: https://salsa.debian.org/med-team/enlighten/-/commit/6651019d4d4c3b8d97e20984a8aaaceb6428de49
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/20200608/50be198c/attachment.html>
More information about the debian-med-commit
mailing list