summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/developer/_static/overrides.css4
-rw-r--r--doc/developer/conf.py4
-rw-r--r--doc/user/_static/overrides.css4
-rw-r--r--doc/user/conf.py4
4 files changed, 14 insertions, 2 deletions
diff --git a/doc/developer/_static/overrides.css b/doc/developer/_static/overrides.css
new file mode 100644
index 0000000000..1e0de66c55
--- /dev/null
+++ b/doc/developer/_static/overrides.css
@@ -0,0 +1,4 @@
+/* remove max-width restriction */
+div.body {
+ max-width: none;
+}
diff --git a/doc/developer/conf.py b/doc/developer/conf.py
index e2293b2a6b..ed91ff255f 100644
--- a/doc/developer/conf.py
+++ b/doc/developer/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')
diff --git a/doc/user/_static/overrides.css b/doc/user/_static/overrides.css
new file mode 100644
index 0000000000..1e0de66c55
--- /dev/null
+++ b/doc/user/_static/overrides.css
@@ -0,0 +1,4 @@
+/* remove max-width restriction */
+div.body {
+ max-width: none;
+}
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')