diff --git a/common-requirements.txt b/common-requirements.txt index 3ca01e41a..2d408c71d 100644 --- a/common-requirements.txt +++ b/common-requirements.txt @@ -64,7 +64,7 @@ imagesize==1.4.1 # via sphinx iniconfig==1.1.1 # via pytest -jinja2==3.1.4 +jinja2==3.1.5 # via # myst-parser # sphinx @@ -158,7 +158,7 @@ sphinxcontrib-qthelp==1.0.3 # via sphinx sphinxcontrib-serializinghtml==1.1.5 # via sphinx -standard-theme @ git+https://github.com/open-contracting/standard_theme.git@5de343d1d8e342b5f2a42c6132db37aebe382e36#egg=standard_theme +standard-theme @ git+https://github.com/open-contracting/standard_theme.git@d56505d69fceeb43535a3387172b2024eead536e#egg=standard_theme # via -r common-requirements.in starlette==0.40.0 # via sphinx-autobuild diff --git a/docs/_static/basic.css b/docs/_static/basic.css index 86fdf2087..355bdc65a 100644 --- a/docs/_static/basic.css +++ b/docs/_static/basic.css @@ -1,3 +1,12 @@ +.wy-side-nav-search { + margin: 0; + padding: 0; +} +.wy-side-nav-search > a, .wy-side-nav-search .wy-dropdown > a { + margin: 0; + padding: 0 6px; +} + #build-your-data-pipeline li { margin-bottom: 1em; } diff --git a/docs/_static/favicon-16x16.ico b/docs/_static/favicon-16x16.ico index 40159444d..b0139d067 100644 Binary files a/docs/_static/favicon-16x16.ico and b/docs/_static/favicon-16x16.ico differ diff --git a/docs/_templates/layout.html b/docs/_templates/layout.html index 971c158b6..c68368339 100644 --- a/docs/_templates/layout.html +++ b/docs/_templates/layout.html @@ -4,19 +4,15 @@ {% block mobile_nav %} -{% trans %} Open Contracting {% endtrans %} {% trans %} Data Standard {% endtrans %} v{{ version }} +{% trans %}Open Contracting Data Standard{% endtrans %} v{{ version }} {% endblock %} {% block sidebartitle %} - {% endblock %} diff --git a/include/common.mk b/include/common.mk index 424e82269..63cb5b5cb 100644 --- a/include/common.mk +++ b/include/common.mk @@ -159,7 +159,6 @@ $(LANGUAGES:.%=pdf.%): pdf.%: FORCE --javascript-delay $(PDF_DELAY) \ --disable-smart-shrinking \ --print-media-type \ - --header-html include/header.html \ toc https://standard.open-contracting.org$(PDF_ROOT)/$*/$(PDF_PAGES) $*.pdf .PHONY: pdf diff --git a/include/header.html b/include/header.html deleted file mode 100644 index 948eff988..000000000 --- a/include/header.html +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - ocp-logo-only - - - - - - diff --git a/script/update b/script/update index bd2170e08..a1ec03c34 100755 --- a/script/update +++ b/script/update @@ -5,7 +5,7 @@ set -eu main() { mkdir -p script include tests - for f in .pre-commit-config.yaml .python-version Makefile common-requirements.in common-requirements.txt pyproject.toml .github/dependabot.yml .github/workflows/lint.yml .github/workflows/shell.yml docs/_static/favicon-16x16.ico include/common.mk include/prologue.mk include/header.html script/diff script/update tests/conftest.py tests/test_common.py; do + for f in .pre-commit-config.yaml .python-version Makefile common-requirements.in common-requirements.txt pyproject.toml .github/dependabot.yml .github/workflows/lint.yml .github/workflows/shell.yml docs/_static/favicon-16x16.ico include/common.mk include/prologue.mk script/diff script/update tests/conftest.py tests/test_common.py; do curl -sS -o $f https://raw.githubusercontent.com/open-contracting/standard_profile_template/latest/$f done