mirror of
https://git.ianrenton.com/ian/spothole.git
synced 2026-06-24 05:35:10 +00:00
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:
@@ -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 %}
|
||||
|
||||
Reference in New Issue
Block a user