changed doc html layout to alabaster
- make page width 100% of the window - decrease code font size (seems to big compared to other text) Change-Id: Id36dffea22163dcbd77303b0aab8c852371ef017
This commit is contained in:
parent
fbb0d10c55
commit
ad9defab0f
@ -1,4 +1,35 @@
|
|||||||
|
/* this is for the sphinx_rtd_theme
|
||||||
div.wy-nav-content
|
div.wy-nav-content
|
||||||
{
|
{
|
||||||
max-width: 100% !important;
|
max-width: 100% !important;
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
div.body {
|
||||||
|
max-width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
div.bodywrapper {
|
||||||
|
margin: 0 0 0 26%;
|
||||||
|
}
|
||||||
|
|
||||||
|
div.sphinxsidebar {
|
||||||
|
width: 25%;
|
||||||
|
}
|
||||||
|
|
||||||
|
pre, tt, code {
|
||||||
|
font-size: 0.75em;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media screen and (max-width: 875px) {
|
||||||
|
div.bodywrapper {
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
div.sphinxsidebar {
|
||||||
|
width: 102.5%;
|
||||||
|
}
|
||||||
|
div.document {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -99,8 +99,9 @@ default_role = 'any'
|
|||||||
# 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.
|
||||||
#
|
#
|
||||||
import sphinx_rtd_theme
|
#import sphinx_rtd_theme
|
||||||
html_theme = 'sphinx_rtd_theme'
|
#html_theme = 'sphinx_rtd_theme'
|
||||||
|
html_theme = 'alabaster'
|
||||||
|
|
||||||
# If not None, a 'Last updated on:' timestamp is inserted at every page
|
# If not None, a 'Last updated on:' timestamp is inserted at every page
|
||||||
# bottom, using the given strftime format.
|
# bottom, using the given strftime format.
|
||||||
@ -113,7 +114,10 @@ html_last_updated_fmt = '%Y-%m-%d %H:%M'
|
|||||||
# further. For a list of options available for each theme, see the
|
# further. For a list of options available for each theme, see the
|
||||||
# documentation.
|
# documentation.
|
||||||
#
|
#
|
||||||
# html_theme_options = {}
|
html_theme_options = {
|
||||||
|
'page_width': '100%',
|
||||||
|
'fixed_sidebar': True,
|
||||||
|
}
|
||||||
|
|
||||||
# Add any paths that contain custom static files (such as style sheets) here,
|
# Add any paths that contain custom static files (such as style sheets) here,
|
||||||
# relative to this directory. They are copied after the builtin static files,
|
# relative to this directory. They are copied after the builtin static files,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user