From 4386f129835c3bd4b28ec1059943d117a97a49ed Mon Sep 17 00:00:00 2001 From: Quentin Young Date: Fri, 23 Mar 2018 13:20:43 -0400 Subject: doc: tweak html body width The default theme has a css rule that limits the body element width to 800px, which results in sizeable chunk of empty space to the right of the docs. Add a small css override to remove this limit (like the Python docs do). Signed-off-by: Quentin Young --- doc/user/conf.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'doc/user/conf.py') diff --git a/doc/user/conf.py b/doc/user/conf.py index efe1023740..7a77e492ce 100644 --- a/doc/user/conf.py +++ b/doc/user/conf.py @@ -188,7 +188,7 @@ html_favicon = '../figures/frr-logo-icon.png' # 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, # 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 # .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 # node later on app.add_object_type('clicmd', 'clicmd') + # css overrides for HTML theme + app.add_stylesheet('overrides.css') -- cgit v1.2.3