aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorRapptz <[email protected]>2020-12-25 14:21:58 -0500
committerRapptz <[email protected]>2020-12-25 14:21:58 -0500
commitb778171188f203bc65c764fae9fa0c855da0d87b (patch)
treefe27082853a54afe229f5e1cf3a72fa080b55295 /docs
parentAllow `Guild.create_role` to accept an int as the `colour` parameter. (diff)
downloaddiscord.py-b778171188f203bc65c764fae9fa0c855da0d87b.tar.xz
discord.py-b778171188f203bc65c764fae9fa0c855da0d87b.zip
Fix 404 in search pages.
Fix #6210
Diffstat (limited to 'docs')
-rw-r--r--docs/_templates/layout.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/_templates/layout.html b/docs/_templates/layout.html
index 946cb891..fe02e8ac 100644
--- a/docs/_templates/layout.html
+++ b/docs/_templates/layout.html
@@ -90,7 +90,7 @@
<option value="{{ pathto(p + '/index')|e }}" {% if pagename is prefixedwith p %}selected{% endif %}>{{ ext }}</option>
{%- endfor %}
</select>
- <form role="search" class="search" action="search.html" method="get">
+ <form role="search" class="search" action="{{ pathto('search') }}" method="get">
<div class="search-wrapper">
<input type="search" name="q" placeholder="{{ _('Search documentation') }}" />
<button type="submit">