docs: Add SPA page for listing modules by their ID

This commit is contained in:
Matthew Holt 2020-03-21 21:03:29 -06:00
parent 0834562c9b
commit ca8197d483
No known key found for this signature in database
GPG key ID: 2A349DD577D586A5
14 changed files with 565 additions and 392 deletions

View file

@ -0,0 +1,54 @@
<!DOCTYPE html>
<html>
<head>
<title>Modules - Caddy Documentation</title>
{{include "/includes/docs-head.html"}}
<link rel="stylesheet" href="/resources/css/docs-json.css">
<script src="/resources/js/marked-0.8.0.min.js"></script>
<script src="/resources/js/docs-api.js"></script>
<script src="/resources/js/module-docs.js"></script>
</head>
<body>
{{include "/includes/docs-header.html"}}
<main>
{{include "/includes/docs-nav.html"}}
<div class="article-container">
<div id="module-list-container">
<article>
<h1>All Modules</h1>
<p>
This page lists all registered Caddy modules.
</p>
<p>
We recommend using your browser's "Find in page" feature for quick lookups.
</p>
<table id="module-list">
<tr>
<th>Module ID</th>
<th>Description</th>
</tr>
<!-- Populated by JS-->
</table>
</article>
</div>
<div id="module-docs-container">
<article>
<h1 id="module-name"><!--Populated by JS--></h1>
</article>
{{include "/includes/docs-renderbox.html"}}
<article>
{{include "/includes/docs-details.html"}}
</article>
</div>
</div>
<div class="sidebar"></div>
</main>
{{include "/includes/docs-hovercard.html"}}
{{include "/includes/footer.html"}}
</body>
</html>