Nilesh Patra pushed to branch master at Debian Med / nitime
Commits: 0e945638 by Nilesh Patra at 2020-08-22T00:23:27+05:30 Fix according changed sphinx API - - - - - 2 changed files: - + debian/patches/fix_add_directive.patch - debian/patches/series Changes: ===================================== debian/patches/fix_add_directive.patch ===================================== @@ -0,0 +1,47 @@ +Author: Nilesh Patra <[email protected]> +Description: Fix add directive according to sphinx changed API +Forwarded: https://github.com/nipy/nitime/pull/178 (Merged Upstream) +Last-Changed: August 22, 2020 +--- a/.travis.yml ++++ b/.travis.yml +@@ -13,6 +13,7 @@ + + script: + - py.test --pyargs nitime --cov-report term-missing --cov=nitime --verbose ++ - sphinx-build doc html-no-exec + + after_success: + - coveralls +--- a/doc/sphinxext/github.py ++++ b/doc/sphinxext/github.py +@@ -19,6 +19,7 @@ + + from docutils import nodes, utils + from docutils.parsers.rst.roles import set_classes ++from sphinx.util import logging + + def make_link_node(rawtext, app, type, slug, options): + """Create a link to a github resource. +@@ -146,7 +147,8 @@ + + :param app: Sphinx application context. + """ +- app.info('Initializing GitHub plugin') ++ LOG = logging.getLogger(__name__) ++ LOG.info('Initializing GitHub plugin') + app.add_role('ghissue', ghissue_role) + app.add_role('ghpull', ghissue_role) + app.add_role('ghuser', ghuser_role) +--- a/doc/sphinxext/only_directives.py ++++ b/doc/sphinxext/only_directives.py +@@ -37,8 +37,8 @@ + html_only.traverse = only_base.dont_traverse + + def setup(app): +- app.add_directive('htmlonly', html_only_directive, True, (0, 0, 0)) +- app.add_directive('latexonly', latex_only_directive, True, (0, 0, 0)) ++ app.add_directive('htmlonly', html_only_directive, True) ++ app.add_directive('latexonly', latex_only_directive, True) + app.add_node(html_only) + app.add_node(latex_only) + ===================================== debian/patches/series ===================================== @@ -1,3 +1,4 @@ deb_no_sources_for_docs python3 sphinx_ignore_github.patch +fix_add_directive.patch View it on GitLab: https://salsa.debian.org/med-team/nitime/-/commit/0e9456387598977cae53602d3dd4911a2f591d05 -- View it on GitLab: https://salsa.debian.org/med-team/nitime/-/commit/0e9456387598977cae53602d3dd4911a2f591d05 You're receiving this email because of your account on salsa.debian.org.
_______________________________________________ debian-med-commit mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-commit
