From b1fe5eb65f85f94ff4563e6456dc89441ec1a886 Mon Sep 17 00:00:00 2001 From: Tyler Hobbs Date: Thu, 7 Aug 2014 16:32:41 -0500 Subject: [PATCH] Emphasize "version added" in docs --- docs/conf.py | 4 ++-- docs/themes/custom/static/custom.css_t | 9 +++++++++ docs/themes/custom/theme.conf | 4 ++++ 3 files changed, 15 insertions(+), 2 deletions(-) create mode 100644 docs/themes/custom/static/custom.css_t create mode 100644 docs/themes/custom/theme.conf diff --git a/docs/conf.py b/docs/conf.py index 3bc211bd..f9395cbb 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -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 # " v documentation". diff --git a/docs/themes/custom/static/custom.css_t b/docs/themes/custom/static/custom.css_t new file mode 100644 index 00000000..00d9b2cf --- /dev/null +++ b/docs/themes/custom/static/custom.css_t @@ -0,0 +1,9 @@ +@import url("sphinxdoc.css"); + +div.versionmodified { + font-weight: bold +} + +div.versionadded { + font-weight: bold +} diff --git a/docs/themes/custom/theme.conf b/docs/themes/custom/theme.conf new file mode 100644 index 00000000..f4b51356 --- /dev/null +++ b/docs/themes/custom/theme.conf @@ -0,0 +1,4 @@ +[theme] +inherit = sphinxdoc +stylesheet = custom.css +pygments_style = friendly