{% extends "!notfound/404.html" %} {# RTD URLs look like: https://.readthedocs.io/en// This template redirects any 404 to the index of the same . If you prefer to try the nearest parent that exists, see the JS below. #} {% block meta %} {{ super() }} {% endblock %}