Browse Source

n/nncli: Really build HTML docs.

current-20191101
Damien Goutte-Gattat 2 years ago
parent
commit
5e2f580154
  1. 2
      n/nncli/nncli.SlackBuild

2
n/nncli/nncli.SlackBuild

@ -79,7 +79,7 @@ install -m 644 CHANGELOG.txt LICENSE README.rst TODO.txt \
$PKG/usr/doc/$NAMEPKG-$VERSION
# Build HTML docs if Sphinx and the readthedocs.org theme are available
if type -p sphinx && python -c "import sphinx_rtd_theme" ; then
if type -p sphinx-build && python -c "import sphinx_rtd_theme" ; then
# Remove dependency to needless extension
sed -i -e '/sphinx_sitemap/d' docs/source/conf.py
sphinx-build -b html docs/source $PKG/usr/doc/$NAMEPKG-$VERSION/html

Loading…
Cancel
Save