Hi without looking at your set up or the theme you may need to import it
`import graphite`

On Tue, Nov 27, 2018 at 12:29 PM Luis Velasco <[email protected]> wrote:

> Hello,
>
> I'm new into Sphinx and I'm having a problem when trying to load a custom
> theme. According to this YouTube video
> <https://www.youtube.com/watch?v=ouHVkMo3gwE&t=291s>, the only thing I
> have to do is to put the theme's folder (downloaded from here
> <https://github.com/Cartroo/sphinx-theme-graphite>) inside my project's
> root folder. However I'm having the following message when running *make
> html:*
>
> Exception occurred:
>   File "c:\python37\lib\site-packages\sphinx\highlighting.py", line 80, in
> __init__
>     style = getattr(__import__(module, None, None, ['__name__']),
> ModuleNotFoundError: No module named 'graphite'
>
> My *conf.py* file contains the following (based on what I saw on the
> video & Sphinx's documentation
> <https://www.sphinx-doc.org/en/master/usage/theming.html>):
>
> html_theme = 'graphite'
> html_theme_path = ['.']
> html_theme_options = {}
> html_static_path = ['_static']
>
>
> I'm using:
> sphinx-build 1.8.2
> I hope someone can help me.
>
> Best regards,
> Luis.
>
>
> --
> 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.
>


-- 
Aaron Carlisle

-- 
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