Horrible splitting up of templates so that Redoc can have the page all to itself, and therefore the bookmarks actually work

This commit is contained in:
Ian Renton
2026-05-21 22:00:05 +01:00
parent f5f92427a8
commit e69bb7a7ec
11 changed files with 71 additions and 68 deletions

View File

@@ -1,8 +1,5 @@
{% extends "base.html" %}
{% block content %}
{% extends "skeleton.html" %}
{% block body %}
<redoc spec-url="/apidocs/openapi.yml"></redoc>
<script src="https://cdn.redoc.ly/redoc/latest/bundles/redoc.standalone.js"> </script>
<script>$(document).ready(function() { $("#nav-link-api").addClass("active"); }); <!-- highlight active page in nav --></script>
{% end %}
{% end %}