fix: iPad mobile menu and documentation link warnings

- Fix mobile side menu not displaying on iPad by keeping site_nav
  content but hiding sidebar on desktop via CSS
- Fix broken links in asgi.md and guides/http2.md
- Add HTTP/2 guide to navigation
This commit is contained in:
Benoit Chesneau 2026-01-30 01:29:45 +01:00
parent bca7c6fce9
commit 1591a6c773
4 changed files with 15 additions and 6 deletions

View File

@ -241,7 +241,7 @@ asgi_lifespan = "auto" # Auto-detect lifespan support
| uvloop support | Yes | Yes | Yes |
!!! note
HTTP/2 requires SSL/TLS and the h2 library. See [HTTP/2 Support](http2.md) for details.
HTTP/2 requires SSL/TLS and the h2 library. See [HTTP/2 Support](guides/http2.md) for details.
Gunicorn's ASGI worker provides the same process management, logging, and
configuration capabilities you're familiar with from WSGI deployments.

View File

@ -843,7 +843,6 @@ For public servers, you can use online tools:
## See Also
- [Settings Reference](reference/settings.md#http2_max_concurrent_streams) - All HTTP/2 settings
- [ASGI Worker](asgi.md) - ASGI worker with HTTP/2 support
- [Deploy](deploy.md) - General deployment guidance
- [SSL Configuration](deploy.md#using-ssl) - SSL/TLS setup
- [Settings Reference](../reference/settings.md#http2_max_concurrent_streams) - All HTTP/2 settings
- [ASGI Worker](../asgi.md) - ASGI worker with HTTP/2 support
- [Deploy](../deploy.md) - General deployment guidance

View File

@ -15,6 +15,7 @@ nav:
- Guides:
- Deploy: deploy.md
- Docker: guides/docker.md
- HTTP/2: guides/http2.md
- ASGI Worker: asgi.md
- Dirty Arbiters: dirty.md
- uWSGI Protocol: uwsgi.md

View File

@ -11,13 +11,22 @@
{% block styles %}
{{ super() }}
<link rel="stylesheet" href="{{ 'assets/stylesheets/home.css' | url }}">
<style>
/* Hide sidebar on desktop, keep drawer for mobile/tablet */
@media screen and (min-width: 76.25em) {
.md-sidebar--primary { display: none; }
}
.md-sidebar--secondary { display: none; }
</style>
{% endblock %}
{% block hero %}{% endblock %}
{% block content %}{% endblock %}
{% block site_nav %}{% endblock %}
{% block site_nav %}
{{ super() }}
{% endblock %}
{% block container %}
<main class="home">