From 3680798135ee2ed6c046b3217495c4f8d9c9de4f Mon Sep 17 00:00:00 2001 From: Lie Ryan Date: Fri, 5 Apr 2024 00:52:02 +1100 Subject: [PATCH] Partially fix white-space wrapping in tables This still overflows, but it's much more readable than it was. --- docs/_static/rope.css | 4 ++++ docs/conf.py | 1 + 2 files changed, 5 insertions(+) create mode 100644 docs/_static/rope.css diff --git a/docs/_static/rope.css b/docs/_static/rope.css new file mode 100644 index 00000000..d4df97d2 --- /dev/null +++ b/docs/_static/rope.css @@ -0,0 +1,4 @@ +/* override table width restrictions */ +.wy-table-responsive table td, .wy-table-responsive table th { + white-space: normal; +} diff --git a/docs/conf.py b/docs/conf.py index 9313fcb1..0d322e45 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -62,6 +62,7 @@ # 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_css_files = ["rope.css"] # Make sure the target is unique autosectionlabel_prefix_document = True