Hi; is there a way to determine whether a Sphinx theme is present
from the command line?

I ask because we're integrating building docs with Sphinx into our
build process, which is a traditional "configure then make" setup.
In configure I can check whether the sphinx-build binary exists at all,
and skip trying to build the docs if it doesn't exist. But if the
theme we're using (alabaster) isn't installed, this check will pass
but the docs build fails:

Theme error:
no theme named 'alabaster' found (missing theme.conf?)

Is there a check I can do in configure to determine in advance
whether the theme is installed and the build will succeed ?

thanks in advance
-- PMM

-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sphinx-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to