cubicweb #1910616 use dh_sphinxdoc in debian packaging scripts [open]

In python-sphinx 1.0.7+dfsg-1, there is a new helper tool, dh_sphinxdoc, which helps with packaging Sphinx-generated documentation. More specifically:

  • it does a few sanity checks (e.g. for missing files that are needed for the JavaScript to work);
  • it replaces known *.js files with symlinks to files to /usr/share/javascript/sphinxdoc/ and generates ${sphinxdoc:Depends} substitution variable;
  • removes some cruft (.doctree/, .buildinfo).
done in<not specified>
closed by<not specified>