Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ tasks:
deps:
- deps/patch
cmds:
- pushd mkdocs && uv run mkdocs serve
- pushd mkdocs && uv run mkdocs serve --watch-theme

##
## Testing and Linting
Expand Down
5 changes: 0 additions & 5 deletions docs/stylesheets/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -165,11 +165,6 @@ html [data-md-color-primary=black] .md-nav--primary .md-nav__title[for=__drawer]
404 page (Material override)
---------------------------------------------------------------------------- */

body:has(.agntcy-not-found) .md-sidebar--primary,
body:has(.agntcy-not-found) .md-sidebar--secondary {
display: none;
}

body:has(.agntcy-not-found) .md-content {
max-width: none;
}
Expand Down
12 changes: 11 additions & 1 deletion mkdocs/overrides/404.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,17 @@
Copyright AGNTCY Contributors (https://github.com/agntcy)
SPDX-License-Identifier: Apache-2.0
-#}
{% extends "main.html" %}
{% extends "base.html" %}
{% block htmltitle %}
<title>Page not found — {{ config.site_name }}</title>
{% endblock %}
{% block extrahead %}
<meta name="robots" content="noindex">
{% endblock %}
{% block site_nav %}{% endblock %}
{% block footer %}
{% include "partials/footer.html" %}
{% endblock %}
{% block content %}
<div class="agntcy-not-found">
<p class="agntcy-not-found__code" aria-hidden="true">404</p>
Expand Down
Loading