Skip to content

Commit 336e6d2

Browse files
commit
1 parent d2ceb99 commit 336e6d2

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
CPYTHON_PATH = ../cpython
33
PYTHON = python3
44
PACKAGE_ABS_PATH = $(shell pwd)/$(shell find dist/python-docs-theme-*.tar.gz)
5+
SPNINXOPTS ?=
56

67

78
.PHONY: help
@@ -22,7 +23,7 @@ venv:
2223
.PHONY: html
2324
html: venv
2425
cd $(CPYTHON_PATH)/Doc && \
25-
make html
26+
make SPHINXOPTS="$(SPHINXOPTS)" html
2627

2728
.PHONY: htmlview
2829
htmlview: html

python_docs_theme/static/pydoctheme.css

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,9 @@ form.inline-search input {
123123
}
124124

125125
form.inline-search input[type='submit'] {
126-
width: 40px;
126+
/* In some languages, more than 40px is required */
127+
width: auto;
128+
min-width: 40px;
127129
}
128130

129131
div.document {

0 commit comments

Comments
 (0)