On Jan 20, 1:24 pm, Niels <[email protected]> wrote:
> Hi,
>
> I am new to Sphinx.. a starter question:
>
> I make use of a built in theme. I want to add some small css elements
> to the html.
> I want to introduce a new stylesheet. I don't want to change the
> exciting css file that is part of the theme.
>
> Are there some suggestions how I can accomplish this?
>
> Thanks
> Niels
check your conf.py, a file created by running sphinx-quickstart,
in the folder your want your documentation to be.
Check the section for html
# -- 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 = 'default'
I just use the default theme and then add a stylesheet later
# Theme options are theme-specific and customize the look and feel of
a theme
# further. For a list of options available for each theme, see the
# documentation.
#html_theme_options = {}
# Add any paths that contain custom themes here, relative to this
directory.
#html_theme_path = ['graph']
i have created a folder in my document root graph/static where i
have my own stylesheets
i couldnt get html_style to work so i renamed the css file to
default.css so it overwrites
the one from sphinx.
#html_style = ['graph_explorer.css']
# 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', 'graph/static']
regards mic
--
You received this message because you are subscribed to the Google Groups
"sphinx-dev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sphinx-dev?hl=en.