{% extends 'base_blank.html' %}
{% load static %}
{% load i18n %}

{% block title %}{% trans "API Documentation" %} - GoLinks{% endblock %}

{% block extra_css %}
<style>
    body {
        margin: 0;
        padding: 0;
    }

    redoc {
        display: block;
        height: 100vh;
    }
</style>
{% endblock %}

{% block content %}
<redoc spec-url="{% static 'openapi.yaml' %}"></redoc>
<script src="https://cdn.redoc.ly/redoc/latest/bundles/redoc.standalone.js"></script>
{% endblock %}
