I tried the conf.py of both sphinxjp.themes.htmlslide and 
sphinxjp.themes.revealjs from https://sphinx-themes.org/, with the same 
result. How do I add the theme to Sphinx? I'm on Debian 10, environment 
controlled by conda, as wrote earlier.

Varenne Riocha schrieb am Samstag, 17. Oktober 2020 um 12:11:17 UTC+2:

> Hallo Sphinx-users
>
> Sphinx beginner and only a couple weeks in to Python world. Likely that I 
> am making a nooby mistake.
>
> I want to try https://pythonhosted.org/sphinxjp.themes.htmlslide/ and 
> getting 'No theme found'. This is what I am doing. BTW, on Debian Linux 
> "Buster" derivative MX-Linux. Conda installed.
>
> $ cat ~/.conda_init
> # >>> conda initialize >>>
> # !! Contents within this block are managed by 'conda init' !!
> __conda_setup="$('/usr/local/anaconda3/bin/conda' 'shell.bash' 'hook' 2> 
> /dev/null)"
> if [ $? -eq 0 ]; then
>     eval "$__conda_setup"
> else
>     if [ -f "/usr/local/anaconda3/etc/profile.d/conda.sh" ]; then
>         . "/usr/local/anaconda3/etc/profile.d/conda.sh"
>     else
>         export PATH="/usr/local/anaconda3/bin:$PATH"
>     fi
> fi
> unset __conda_setup
> # <<< conda initialize <<<
>
> $ source ~/.conda_init
>
> $ sphinx-quickstart myslides
> (all y/n with enter)
> $ cd myslides
> (cleaned config.py attached)
>
> $ make html
> (gives me the expected ./_build/html)
>
> Edited conf.py making
> extensions = ['sphinxjp.themecore'] 
>
> $ make html
> make html
> Sphinx v3.1.2 in Verwendung
> WARNING: the extension 'sphinxjp.themecore' was already merged with Sphinx 
> since version 1.2; this extension is ignored.
> loading pickled environment... erledigt
>
> So I took the change back.
>
> Then edited conf.py to
> html_theme = 'htmlslide'  
>
> $ make html
> loading pickled environment... erledigt
> Theme error:
> no theme named 'htmlslide' found (missing theme.conf?)
>
> $ sudo easy_install sphinxjp.themes.htmlslide
> [sudo] Passwort für ..: 
> WARNING: The easy_install command is deprecated and will be removed in a 
> future version.
> Searching for sphinxjp.themes.htmlslide
> Best match: sphinxjp.themes.htmlslide 0.1.4
> Processing sphinxjp.themes.htmlslide-0.1.4-py3.7.egg
> sphinxjp.themes.htmlslide 0.1.4 is already the active version in 
> easy-install.pth
>
> Using 
> /usr/local/lib/python3.7/dist-packages/sphinxjp.themes.htmlslide-0.1.4-py3.7.egg
> Processing dependencies for sphinxjp.themes.htmlslide
> Finished processing dependencies for sphinxjp.themes.htmlslide
>
> But still
> $ make html
> Sphinx v3.1.2 in Verwendung
> loading pickled environment... erledigt
>
> Theme error:
> no theme named 'htmlslide' found (missing theme.conf?)
>
> What I am doing wrong?
>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/sphinx-users/50a57ce2-ce17-4d74-a72a-a3ebcda9bbf9n%40googlegroups.com.

Reply via email to