Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'doc' into 'master'
authorMartin Quinson <martin.quinson@ens-rennes.fr>
Wed, 5 Feb 2020 22:42:28 +0000 (23:42 +0100)
committerMartin Quinson <martin.quinson@ens-rennes.fr>
Wed, 5 Feb 2020 22:42:28 +0000 (23:42 +0100)
Fix 'TOC' image size in doc

See merge request simgrid/simgrid!28

docs/source/_static/css/custom.css [new file with mode: 0644]
docs/source/conf.py

diff --git a/docs/source/_static/css/custom.css b/docs/source/_static/css/custom.css
new file mode 100644 (file)
index 0000000..f796de4
--- /dev/null
@@ -0,0 +1,3 @@
+object#TOC {
+    max-width: 100%;
+}
\ No newline at end of file
index b287522..e8de0fb 100644 (file)
@@ -117,7 +117,7 @@ html_theme_options = {
 # 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']
 
 # Custom sidebar templates, must be a dictionary that maps document names
 # to template names.
@@ -145,6 +145,10 @@ html_context = {
     "conf_py_path": "/docs/source/",  # Path in the checkout to the docs root
 }
 
+html_css_files = [
+    'css/custom.css',
+]
+
 # -- Other options
 
 nitpicky = True # Generate a warning for all a cross-reference (such as :func:`myfunc`) that cannot be found