[med-svn] [Git][med-team/python-skbio][master] Also fix add_stylesheet
Andreas Tille (@tille)
gitlab at salsa.debian.org
Wed Oct 13 07:59:28 BST 2021
Andreas Tille pushed to branch master at Debian Med / python-skbio
Commits:
38bc9129 by Andreas Tille at 2021-10-13T08:59:07+02:00
Also fix add_stylesheet
- - - - -
2 changed files:
- debian/changelog
- debian/patches/sphinx_add_javascript.patch
Changes:
=====================================
debian/changelog
=====================================
@@ -10,7 +10,7 @@ python-skbio (0.5.6-5) UNRELEASED; urgency=medium
- Improved cleaning to allow repeated builds
[ Andreas Tille ]
- * Replace add_javascript() in sphinx config
+ * Replace add_javascript() and add_stylesheet() in sphinx config
-- Steffen Moeller <moeller at debian.org> Mon, 06 Sep 2021 17:27:49 +0200
=====================================
debian/patches/sphinx_add_javascript.patch
=====================================
@@ -1,6 +1,8 @@
Author: Andreas Tille <tille at debian.org>
Last-Update: Wed, 13 Oct 2021 08:44:29 +0200
Description: add_javascript() was deprecated in v1.8 and removed in v4.0. add_js_file() is a successor of the API.
+ same with add_stylesheet
+Forwarded: https://github.com/biocore/scikit-bio/issues/1783
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -9,5 +11,6 @@ Description: add_javascript() was deprecated in v1.8 and removed in v4.0. add_js
# examples, originally taken from scikit-learn's doc/conf.py
def setup(app):
- app.add_javascript('copybutton.js')
+- app.add_stylesheet('style.css')
+ app.add_js_file('copybutton.js')
- app.add_stylesheet('style.css')
++ app.add_css_file('style.css')
View it on GitLab: https://salsa.debian.org/med-team/python-skbio/-/commit/38bc9129dd638cf4c819a65321bdd0329d31246d
--
View it on GitLab: https://salsa.debian.org/med-team/python-skbio/-/commit/38bc9129dd638cf4c819a65321bdd0329d31246d
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/20211013/b2d1a7ae/attachment-0001.htm>
More information about the debian-med-commit
mailing list