From 336e6d2c5935d78ee2dab2007216a2a1487bb647 Mon Sep 17 00:00:00 2001 From: Stan Ulbrych Date: Sun, 14 Sep 2025 12:59:15 +0100 Subject: [PATCH 1/2] commit --- Makefile | 3 ++- python_docs_theme/static/pydoctheme.css | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index bae89325..cacd106b 100644 --- a/Makefile +++ b/Makefile @@ -2,6 +2,7 @@ CPYTHON_PATH = ../cpython PYTHON = python3 PACKAGE_ABS_PATH = $(shell pwd)/$(shell find dist/python-docs-theme-*.tar.gz) +SPNINXOPTS ?= .PHONY: help @@ -22,7 +23,7 @@ venv: .PHONY: html html: venv cd $(CPYTHON_PATH)/Doc && \ - make html + make SPHINXOPTS="$(SPHINXOPTS)" html .PHONY: htmlview htmlview: html diff --git a/python_docs_theme/static/pydoctheme.css b/python_docs_theme/static/pydoctheme.css index 48731163..d7b729f7 100644 --- a/python_docs_theme/static/pydoctheme.css +++ b/python_docs_theme/static/pydoctheme.css @@ -123,7 +123,9 @@ form.inline-search input { } form.inline-search input[type='submit'] { - width: 40px; + /* In some languages, more than 40px is required */ + width: auto; + min-width: 40px; } div.document { From ba40fde28b46f65aa429d90cb8372c014f8711ba Mon Sep 17 00:00:00 2001 From: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com> Date: Mon, 15 Sep 2025 16:15:08 +0100 Subject: [PATCH 2/2] Update Makefile Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index cacd106b..dda3c238 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ CPYTHON_PATH = ../cpython PYTHON = python3 PACKAGE_ABS_PATH = $(shell pwd)/$(shell find dist/python-docs-theme-*.tar.gz) -SPNINXOPTS ?= +SPHINXOPTS = .PHONY: help