From: Christian Van Wambeke Date: Mon, 23 Apr 2018 12:37:26 +0000 (+0200) Subject: set src/conf.py and alabaster/static/custom.css X-Git-Tag: 5.1.0~39^2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=7632856c7e4b3b23a6213b01f7dcbcbee39346c3;p=tools%2Fsat.git set src/conf.py and alabaster/static/custom.css --- diff --git a/doc/_themes/alabaster/alabaster/static/custom.css b/doc/_themes/alabaster/alabaster/static/custom.css index 2a924f1..9c6b7cc 100644 --- a/doc/_themes/alabaster/alabaster/static/custom.css +++ b/doc/_themes/alabaster/alabaster/static/custom.css @@ -1 +1,13 @@ /* This file intentionally left blank. */ + +/* +http://www.sphinx-doc.org/en/master/usage/restructuredtext/basics.html +set backquotes: ``text`` for code samples more color red +*/ + +tt, code { + background-color: #ecf0f3; + color: #842; + /* padding: 1px 2px; */ +} + diff --git a/doc/src/conf.py b/doc/src/conf.py index 320a7a5..e7d0be7 100644 --- a/doc/src/conf.py +++ b/doc/src/conf.py @@ -101,7 +101,26 @@ html_theme = 'alabaster' #added in _theme dir # 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 = {} +html_theme_options = { + #'logo': 'logo.png', + #'github_user': 'bitprophet', + #'github_repo': 'alabaster', + #'description': 'MYYY DESCRIPTION', + #'sidebar_includehidden': True, + #'sidebar_collapse': True, + #'show_powered_by': False, + 'show_related': True, + 'fixed_sidebar': False, + 'page_width': '1000px', + 'sidebar_width': '250px', + 'font_size': '0.9em', #'1.0625em', + 'code_font_size': '0.8em', + #'note_bg': '#eee', + 'pre_bg': '#fee', # code-block background + #'gray_1': '#00f', + #'gray_2': '#f00', + #'gray_3': '#0f0', +} # Add any paths that contain custom themes here, relative to this directory. html_theme_path = ["../_themes/alabaster", ]