[Python-modules-commits] [sphinx] 01/01: Use python3 to build our own documentation.

Dmitry Shachnev mitya57 at moszumanska.debian.org
Tue Sep 26 14:06:28 UTC 2017


This is an automated email from the git hooks/post-receive script.

mitya57 pushed a commit to branch debian/master
in repository sphinx.

commit ca53c2135d208fe2d050b34b1e856b148842ef84
Author: Dmitry Shachnev <mitya57 at gmail.com>
Date:   Tue Sep 26 17:04:17 2017 +0300

    Use python3 to build our own documentation.
---
 debian/changelog | 1 +
 debian/rules     | 4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 3845eec..9b996e7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,6 +7,7 @@ sphinx (1.6.4-1) UNRELEASED; urgency=medium
   * Change sphinx-common trigger from interest to interest-noawait.
   * Bump Standards-Version to 4.1.0, no changes needed.
   * Use pkg-info.mk to retrieve the upstream version number.
+  * Use python3 to build our own documentation.
 
  -- Dmitry Shachnev <mitya57 at debian.org>  Sat, 23 Sep 2017 17:17:32 +0300
 
diff --git a/debian/rules b/debian/rules
index 5a5048a..d724943 100755
--- a/debian/rules
+++ b/debian/rules
@@ -42,13 +42,13 @@ build/javascript-stamp: $(addprefix sphinx/themes/basic/static/,jquery.js unders
 	touch $(@)
 
 build-stamp: sphinx-build.py build/javascript-stamp
-	python ./sphinx-build.py -T doc build/html/
+	python3 ./sphinx-build.py -T doc build/html/
 	rm -f build/html/_static/jquery-*.js build/html/_static/underscore-*.js
 	find build/html/ -name '*.txt' -or -name '*.html' | xargs -L1 sed -i \
 		's!http://docutils.sourceforge.net/docs/!file:///usr/share/doc/docutils-doc/docs/!g'
 	rm -rf build/man
 	cp -rl build/html build/man
-	python ./sphinx-build.py -T -b man doc build/man
+	python3 ./sphinx-build.py -T -b man doc build/man
 	python setup.py build --build-lib build/py2/
 	python3 setup.py build --build-lib build/py3/
 	python setup.py compile_catalog

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/sphinx.git



More information about the Python-modules-commits mailing list