Adjust developer docs front page and add JSON links on HTTP page

This commit is contained in:
Julian Stirling 2026-03-01 10:20:32 +00:00
parent b91939380f
commit 9788e0d2b7
2 changed files with 17 additions and 5 deletions

View file

@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>OpenFlexure Microscope Server API Docs</title>
<title>OpenFlexure Microscope Server Developer Documentation</title>
<link href="https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600&display=swap" rel="stylesheet">
@ -21,9 +21,15 @@ body {
padding: 0 1.5rem;
}
.main-content {
max-width: 700px;
padding: 2rem;
}
h1 {
color: #c5247f;
margin-bottom: 0.5rem;
text-align: center;
}
a {
@ -49,11 +55,13 @@ a:hover {
<body>
<div class="content">
<h1>OpenFlexure Microscope Server API Docs</h1>
<p>Select documentation:</p>
<h1>OpenFlexure Microscope Server Developer Documentation</h1>
<div class="main-content">
<p>Select documentation:</p>
<a href="./http/index.html">HTTP API (Swagger)</a>
<a href="./python/index.html">Python API</a>
<a href="./http/index.html">HTTP API (Swagger)</a>
<a href="./python/index.html">Python API</a>
</div>
</div>
</body>