Emphasize "version added" in docs
This commit is contained in:
@@ -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".
|
||||
|
9
docs/themes/custom/static/custom.css_t
vendored
Normal file
9
docs/themes/custom/static/custom.css_t
vendored
Normal 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
4
docs/themes/custom/theme.conf
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
[theme]
|
||||
inherit = sphinxdoc
|
||||
stylesheet = custom.css
|
||||
pygments_style = friendly
|
Reference in New Issue
Block a user