Prettify documentation: force width of the document area to occupy all available space

This commit is contained in:
vsr 2018-10-26 08:37:03 +03:00
parent 57146c9805
commit 85e5c78452

View File

@ -107,6 +107,12 @@ pygments_style = 'sphinx'
# The theme to use for HTML and HTML Help pages. Major themes that come with
# Sphinx are currently 'default' and 'sphinxdoc'.
html_theme = 'default' if sphinx.version_info[:2] < (1,3) else 'classic'
themes_options = {}
themes_options['classic'] = {
'body_max_width':'none',
'body_min_width':0,
}
html_theme_options = themes_options.get(html_theme, {})
# The name for this set of Sphinx documents. If None, it defaults to
# "<project> v<release> documentation".