mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-11 08:03:16 -04:00
eclass/docs: one more bug fix
Package-Manager: Portage-2.3.96, Repoman-2.3.22 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@riseup.net>
This commit is contained in:
@@ -186,7 +186,7 @@ sphinx_compile() {
|
||||
if grep -F -q 'sphinx.ext.autodoc' "${confpy}"; then
|
||||
die "${FUNCNAME}: autodoc disabled but sphinx.ext.autodoc found in ${confpy}"
|
||||
fi
|
||||
elif [[ -z ${DOCDEPEND[@]} ]]; then
|
||||
elif [[ ${AUTODOC} == 1 ]]; then
|
||||
if ! grep -F -q 'sphinx.ext.autodoc' "${confpy}"; then
|
||||
die "${FUNCNAME}: sphinx.ext.autodoc not found in ${confpy}, set AUTODOC=0"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user