Emphasize "version added" in docs

This commit is contained in:
Tyler Hobbs
2014-08-07 16:32:41 -05:00
parent 3d866ddf89
commit b1fe5eb65f
3 changed files with 15 additions and 2 deletions

View File

@@ -96,7 +96,7 @@ pygments_style = 'sphinx'
# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
html_theme = 'sphinxdoc'
html_theme = 'custom'
# 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
@@ -104,7 +104,7 @@ html_theme = 'sphinxdoc'
#html_theme_options = {}
# Add any paths that contain custom themes here, relative to this directory.
#html_theme_path = []
html_theme_path = ['./themes']
# The name for this set of Sphinx documents. If None, it defaults to
# "<project> v<release> documentation".

View File

@@ -0,0 +1,9 @@
@import url("sphinxdoc.css");
div.versionmodified {
font-weight: bold
}
div.versionadded {
font-weight: bold
}

4
docs/themes/custom/theme.conf vendored Normal file
View File

@@ -0,0 +1,4 @@
[theme]
inherit = sphinxdoc
stylesheet = custom.css
pygments_style = friendly