mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-11-13 17:18:35 +05:00
Prettify documentation: force width of the document area to occupy all available space
This commit is contained in:
parent
57146c9805
commit
85e5c78452
@ -107,6 +107,12 @@ pygments_style = 'sphinx'
|
|||||||
# The theme to use for HTML and HTML Help pages. Major themes that come with
|
# The theme to use for HTML and HTML Help pages. Major themes that come with
|
||||||
# Sphinx are currently 'default' and 'sphinxdoc'.
|
# Sphinx are currently 'default' and 'sphinxdoc'.
|
||||||
html_theme = 'default' if sphinx.version_info[:2] < (1,3) else 'classic'
|
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
|
# The name for this set of Sphinx documents. If None, it defaults to
|
||||||
# "<project> v<release> documentation".
|
# "<project> v<release> documentation".
|
||||||
|
Loading…
Reference in New Issue
Block a user