Updated style for option list and field list

This makes them looking better.

Change-Id: Icf3827a779bda470ed6a6ac8e56d2daa19e773a5
This commit is contained in:
KongQun Yang 2017-09-12 17:07:06 -07:00
parent c64b92bf8f
commit fcf2873211
2 changed files with 19 additions and 1 deletions

View File

@ -0,0 +1,17 @@
@import url("sphinxdoc.css");
h3 {
margin-bottom: 0;
}
table.option-list td, table.option-list th {
border: 0 !important;
}
th.field-name, th.field-name ~ td, td.option-group, td.option-group ~ td {
padding-top: 10px !important;
}
span.option {
font-weight: bold;
}

View File

@ -39,7 +39,7 @@ extensions = ['sphinx.ext.autodoc',
'breathe'] 'breathe']
# Breathe configurations. # Breathe configurations.
breathe_projects = {'shaka': '../out/doxygen/xml'} breathe_projects = {'shaka': '../../out/doxygen/xml'}
breathe_default_project = 'shaka' breathe_default_project = 'shaka'
breathe_default_members = ('members',) breathe_default_members = ('members',)
@ -95,6 +95,7 @@ todo_include_todos = False
# The theme to use for HTML and HTML Help pages. See the documentation for # The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes. # a list of builtin themes.
html_theme = 'sphinxdoc' html_theme = 'sphinxdoc'
html_style = 'sphinxdoc_new.css'
# Theme options are theme-specific and customize the look and feel of a theme # 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 # further. For a list of options available for each theme, see the