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 sphinx-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sphinx-users/2ea21c83-973c-46e3-bbcc-2cb9354a538bn%40googlegroups.com.
# Configuration file for the Sphinx documentation builder.
#
# This file only contains a selection of the most common options. For a full
# list see the documentation:
# https://www.sphinx-doc.org/en/master/usage/configuration.html

# -- Path setup --------------------------------------------------------------

# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
#
# import os
# import sys
# sys.path.insert(0, os.path.abspath('.'))


# -- Project information -----------------------------------------------------

project = 'My Slides'
copyright = '2020, Iam Me'
author = 'Iam Me'

# The full version, including alpha/beta/rc tags
release = '0.0'


# -- General configuration ---------------------------------------------------

# Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
extensions = [
]

# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']

# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
# This pattern also affects html_static_path and html_extra_path.
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']


# -- Options for HTML output -------------------------------------------------

# The theme to use for HTML and HTML Help pages.  See the documentation for
# a list of builtin themes.
#
html_theme = 'alabaster'

# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ['_static']

Reply via email to