Include custom CSS separately instead of overriding theme CSS

May help with https://github.com/DFHack/dfhack/issues/1578#issuecomment-635512324
develop
lethosor 2020-07-03 22:43:21 -04:00
parent 9a3747d307
commit fa910cd74f
2 changed files with 5 additions and 5 deletions

@ -187,7 +187,7 @@ all_keybinds_documented()
# -- General configuration ------------------------------------------------ # -- General configuration ------------------------------------------------
# If your documentation needs a minimal Sphinx version, state it here. # If your documentation needs a minimal Sphinx version, state it here.
needs_sphinx = '1.3' needs_sphinx = '1.8'
# Add any Sphinx extension module names here, as strings. They can be # Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
@ -286,7 +286,6 @@ todo_include_todos = False
# The theme to use for HTML and HTML Help pages. See the documentation for # The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes. # a list of builtin themes.
html_theme = 'alabaster' html_theme = 'alabaster'
html_style = 'dfhack.css'
# Theme options are theme-specific and customize the look and feel of a theme # 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 # further. For a list of options available for each theme, see the
@ -337,6 +336,10 @@ html_domain_indices = False
# If false, no index is generated. # If false, no index is generated.
html_use_index = False html_use_index = False
html_css_files = [
'dfhack.css',
]
# -- Options for LaTeX output --------------------------------------------- # -- Options for LaTeX output ---------------------------------------------
# Grouping the document tree into LaTeX files. List of tuples # Grouping the document tree into LaTeX files. List of tuples

@ -1,6 +1,3 @@
/* make sure to sync this with the base theme's css filename */
@import url("alabaster.css");
/* Keybinding CSS from the DF wiki; applies to :kbd:`` directives. /* Keybinding CSS from the DF wiki; applies to :kbd:`` directives.
* Use this directive for all keypresses, to make them look like keys. * Use this directive for all keypresses, to make them look like keys.
*/ */