From 6869feac46a36b374a0844a70888d91237f0a2ba Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Thu, 24 Apr 2025 08:58:36 -0400 Subject: [PATCH 1/2] add a link to docs.python.org on the search page --- templates/search/search.html | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/templates/search/search.html b/templates/search/search.html index 1782fe3ca..47648f067 100644 --- a/templates/search/search.html +++ b/templates/search/search.html @@ -17,7 +17,7 @@

Results

{% include result.include_template %} {% empty %} -

No results found.

+
  • No results found.
  • {% endfor %} {% if page.has_previous or page.has_next %} @@ -27,8 +27,13 @@

    Results

    {% if page.has_next %}{% endif %}Next »{% if page.has_next %}{% endif %} {% endif %} + +

    Python language documentation

    +

    If you didn't find what you need, try your search in the + Python Language Documentation. +

    {% else %} {# Show some example queries to run, maybe query syntax, something else? #} {% endif %} -{% endblock %} \ No newline at end of file +{% endblock %} From f0090c501149e964a8fae20576428d8c977fac73 Mon Sep 17 00:00:00 2001 From: Jacob Coffee Date: Thu, 24 Apr 2025 08:45:13 -0500 Subject: [PATCH 2/2] Update templates/search/search.html Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> --- templates/search/search.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/search/search.html b/templates/search/search.html index 47648f067..dd5579a25 100644 --- a/templates/search/search.html +++ b/templates/search/search.html @@ -30,7 +30,7 @@

    Results

    Python language documentation

    If you didn't find what you need, try your search in the - Python Language Documentation. + Python language documentation.

    {% else %} {# Show some example queries to run, maybe query syntax, something else? #}