From 91ff360bdcc1fae57e7fb5616630ca152cad0592 Mon Sep 17 00:00:00 2001 From: "Antoine Vandevenne (anv)" Date: Mon, 4 Jul 2022 10:33:16 +0200 Subject: [PATCH] [IMP] developer/javascript: unify the styling of API references Now that a new styling for API references was added with commit 934f45c, we can remove the extra CSS that was crafted specifically for JavaScript API references with commit 05a0a49a. While we're at it, this commit also applies the new styling to definition lists that were missing it, like it was done for the page on views with commit 120ae785. --- conf.py | 2 +- .../developer/reference/frontend/assets.rst | 2 + content/developer/reference/frontend/qweb.rst | 14 +++++++ static/css/js.css | 42 ------------------- 4 files changed, 17 insertions(+), 43 deletions(-) delete mode 100644 static/css/js.css diff --git a/conf.py b/conf.py index 6739fa38c..b73ae07f3 100644 --- a/conf.py +++ b/conf.py @@ -237,7 +237,7 @@ html_permalinks = True # Sphinx >= 3.5 # Additional JS & CSS files that can be imported with the 'custom-js' and 'custom-css' metadata. # Lists are empty because the files are specified in extensions/themes. html_js_files = [] -html_css_files = ["css/js.css"] +html_css_files = [] # PHP lexer option to not require dd > p:before { - content: "-> "; -} - -.js .field-list { - border: none !important; -} - -.js .sig-param, .js .sig-paren { - font-style: normal; - font-size: initial; - color: #4B5563; - font-family: var(--bs-font-monospace); -} - -.js .sig-paren { - color: #212529; -}