From 0cb9e3701e3a3bcdb25d13bf36aa49128d358eba Mon Sep 17 00:00:00 2001 From: Yurii Motov Date: Wed, 11 Mar 2026 14:32:15 +0100 Subject: [PATCH 1/2] Fix code blocks in reference docs overflowing table width --- docs/en/docs/css/custom.css | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/en/docs/css/custom.css b/docs/en/docs/css/custom.css index e207197c75..bbfd49b55e 100644 --- a/docs/en/docs/css/custom.css +++ b/docs/en/docs/css/custom.css @@ -254,6 +254,12 @@ Inspired by Termynal's CSS tricks with modifications box-shadow: 25px 0 0 #f4c025, 50px 0 0 #3ec930; } +.doc-param-details .highlight { + overflow-x: auto; + width: 0; + min-width: 100%; +} + .md-typeset dfn { border-bottom: .05rem dotted var(--md-default-fg-color--light); cursor: help; From 2bebc0bae3d2ab7b9910e82d1c8feeba79adb72d Mon Sep 17 00:00:00 2001 From: Yurii Motov Date: Wed, 11 Mar 2026 22:31:46 +0100 Subject: [PATCH 2/2] Fix displaying line numbers in API reference --- docs/en/mkdocs.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/en/mkdocs.yml b/docs/en/mkdocs.yml index 0db3e7a95b..4614194981 100644 --- a/docs/en/mkdocs.yml +++ b/docs/en/mkdocs.yml @@ -279,6 +279,7 @@ markdown_extensions: pymdownx.caret: null pymdownx.highlight: line_spans: __span + linenums_style: pymdownx-inline pymdownx.inlinehilite: null pymdownx.keys: null pymdownx.mark: null