Salome HOME
set src/conf.py and alabaster/static/custom.css
authorChristian Van Wambeke <christian.van-wambeke@cea.fr>
Mon, 23 Apr 2018 12:37:26 +0000 (14:37 +0200)
committerChristian Van Wambeke <christian.van-wambeke@cea.fr>
Mon, 23 Apr 2018 12:37:26 +0000 (14:37 +0200)
doc/_themes/alabaster/alabaster/static/custom.css
doc/src/conf.py

index 2a924f1d6a8bc930c5296bdb2d5c2d3e39b04a1c..9c6b7cc046a5715f7714c45c46c75c800eb6b647 100644 (file)
@@ -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; */
+}
+
index 320a7a5b015376c3adba2a1389b79e86ef579b14..e7d0be7d39388f0623e394cb7fa1287c64ef7954 100644 (file)
@@ -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", ]