mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-11 16:39:33 +00:00
Merge pull request #1961 from qlyoung/docuser
doc: tweak html body width
This commit is contained in:
commit
88507dba34
4
doc/developer/_static/overrides.css
Normal file
4
doc/developer/_static/overrides.css
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
/* remove max-width restriction */
|
||||||
|
div.body {
|
||||||
|
max-width: none;
|
||||||
|
}
|
@ -188,7 +188,7 @@ html_favicon = '../figures/frr-logo-icon.png'
|
|||||||
# 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,
|
||||||
# so a file named "default.css" will overwrite the builtin "default.css".
|
# so a file named "default.css" will overwrite the builtin "default.css".
|
||||||
#html_static_path = ['_static']
|
html_static_path = ['_static']
|
||||||
|
|
||||||
# Add any extra paths that contain custom files (such as robots.txt or
|
# Add any extra paths that contain custom files (such as robots.txt or
|
||||||
# .htaccess) here, relative to this directory. These files are copied
|
# .htaccess) here, relative to this directory. These files are copied
|
||||||
@ -339,3 +339,5 @@ def setup(app):
|
|||||||
# object type for FRR CLI commands, can be extended to document parent CLI
|
# object type for FRR CLI commands, can be extended to document parent CLI
|
||||||
# node later on
|
# node later on
|
||||||
app.add_object_type('clicmd', 'clicmd')
|
app.add_object_type('clicmd', 'clicmd')
|
||||||
|
# css overrides for HTML theme
|
||||||
|
app.add_stylesheet('overrides.css')
|
||||||
|
4
doc/user/_static/overrides.css
Normal file
4
doc/user/_static/overrides.css
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
/* remove max-width restriction */
|
||||||
|
div.body {
|
||||||
|
max-width: none;
|
||||||
|
}
|
@ -188,7 +188,7 @@ html_favicon = '../figures/frr-logo-icon.png'
|
|||||||
# 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,
|
||||||
# so a file named "default.css" will overwrite the builtin "default.css".
|
# so a file named "default.css" will overwrite the builtin "default.css".
|
||||||
# html_static_path = ['_static']
|
html_static_path = ['_static']
|
||||||
|
|
||||||
# Add any extra paths that contain custom files (such as robots.txt or
|
# Add any extra paths that contain custom files (such as robots.txt or
|
||||||
# .htaccess) here, relative to this directory. These files are copied
|
# .htaccess) here, relative to this directory. These files are copied
|
||||||
@ -339,3 +339,5 @@ def setup(app):
|
|||||||
# object type for FRR CLI commands, can be extended to document parent CLI
|
# object type for FRR CLI commands, can be extended to document parent CLI
|
||||||
# node later on
|
# node later on
|
||||||
app.add_object_type('clicmd', 'clicmd')
|
app.add_object_type('clicmd', 'clicmd')
|
||||||
|
# css overrides for HTML theme
|
||||||
|
app.add_stylesheet('overrides.css')
|
||||||
|
Loading…
Reference in New Issue
Block a user