On Sun, Nov 8, 2020 at 12:49 PM
bradley...@gmail.com wrote:
>
> I have tried insipid and I have two questions:
>
> 1. How does on change the color used for in-line literal font; e.g., ``test`` ?
There isn't a single setting, multiple CSS classes are used for that,
which are defined there:
https://github.com/mgeier/insipid-sphinx-theme/blob/96fb5c3c155cde3be1f537ee5b1f94b4526b4e97/src/insipid_sphinx_theme/insipid/static/insipid.css_t#L259-L270
Currently, the theme is not prepared to easily support multiple color
themes (i.e. there are no CSS variables defined for the colors). If
you want to help out with that, you can leave a comment at
https://github.com/mgeier/insipid-sphinx-theme/issues/5
The "insipid" theme uses the navigation/TOC provided by Sphinx, while
"sphinx_rtd_theme" uses custom Python code to generate theirs.
Therefore, it has somewhat different options and behavior.
You might get a similar effect by using the :titlesonly: flag on the
"toctree" directive, see
https://www.sphinx-doc.org/en/master/usage/restructuredtext/directives.html#directive-toctree.
Does that do what you want?
Maybe you can use :maxdepth:?
If not, you are of course free to replace the default template
"globaltoc.html" with your custom version (probably based on the one
from the RTD theme). See also
file:///home/mg/git/insipid-sphinx-theme/build/sphinx/html/configuration.html#confval-html_sidebars
cheers,
Matthias