Source: shark
Version: 3.1.4+ds1-1
Severity: wishlist
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: buildpath
X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org

Hi,

Whilst working on the Reproducible Builds effort [0], we noticed
that shark could not be built reproducibly. This is because it
includes the full path to the original source in "TODO" entries
in docs.

Patch attached that disables this `todo_link_only` [1].

 [0] https://reproducible-builds.org/
 [1] https://sources.debian.org/src/sphinx/1.6.6-1/sphinx/ext/todo.py/#L151-L159


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      la...@debian.org / chris-lamb.co.uk
       `-
diff --git a/doc/sphinx_pages/conf.py.in b/doc/sphinx_pages/conf.py.in
index fd86bf9..f49ba52 100644
--- a/doc/sphinx_pages/conf.py.in
+++ b/doc/sphinx_pages/conf.py.in
@@ -13,6 +13,7 @@ mathjax_path = 
'http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-
 #delay nicked from 
https://groups.google.com/forum/#!msg/mathjax-users/J-36V22-G9Q/AW3ncCbJzS8J
 
 todo_include_todos = True
+todo_link_only = True
 
 #set up doxylink tag file
 print 'current working directory', os.path.abspath(os.path.curdir)
-- 
debian-science-maintainers mailing list
debian-science-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-science-maintainers

Reply via email to