Files
horizon-airdef/website/src/docs.html
T
Ludovic Marie a13e6b40ce Website: a documentation section for the whole project, replacing the server page
/docs has a left navigation and eleven pages written for players first, then
hosters, then contributors: what Horizon is, install, settings, multiplayer,
logs and bug reports, hosting (the launcher's Servers page and the command
line), modpacks, mods and data packs, performance, contributing and the FAQ.
/server redirects to /docs/hosting. The build checks every link between the
pages and every image.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-19 16:24:23 +02:00

64 lines
3.2 KiB
HTML

<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{{DOC_TITLE}} · Horizon docs</title>
<meta name="description" content="{{DOC_DESC}}">
<meta name="theme-color" content="#fafafc" media="(prefers-color-scheme: light)">
<meta name="theme-color" content="#0d0e13" media="(prefers-color-scheme: dark)">
<meta name="color-scheme" content="light dark">
<link rel="canonical" href="https://playhorizon.dev{{DOC_PATH}}">
<link rel="icon" href="/favicon.svg" type="image/svg+xml">
<link rel="icon" href="/favicon-32.png" sizes="32x32" type="image/png">
<link rel="apple-touch-icon" href="/apple-touch-icon.png">
<meta property="og:type" content="article">
<meta property="og:site_name" content="Horizon">
<meta property="og:title" content="{{DOC_TITLE}} · Horizon docs">
<meta property="og:description" content="{{DOC_DESC}}">
<meta property="og:url" content="https://playhorizon.dev{{DOC_PATH}}">
<meta property="og:image" content="https://playhorizon.dev/og.png">
<link rel="stylesheet" href="{{CSS}}">
<script>try { const t = localStorage.getItem("theme"); if (t === "light" || t === "dark") document.documentElement.dataset.theme = t } catch {}</script>
</head>
<body class="docs-page">
<a class="skip" href="#main">Skip to the content</a>
<header class="docs-bar">
<div class="docs-bar-inner">
<a class="nav-mark" href="/" aria-label="Horizon, home"><svg class="mark" viewBox="0 0 16 16" aria-hidden="true"><path class="mark-stem" d="M4 3h2v4H4zM10 3h2v4h-2z"/><path class="mark-low" d="M4 8h2v4H4zM10 8h2v4h-2z"/><path class="mark-line" d="M1 7h14v1H1z"/></svg>Horizon</a>
<a class="docs-bar-title" href="/docs/">Docs</a>
<span class="docs-bar-end">
<a class="docs-bar-link" href="https://github.com/ludovic111/horizon">GitHub</a>
<a class="button primary small" href="/docs/install">Download</a>
</span>
</div>
</header>
<div class="docs">
<details class="docs-nav-wrap" open>
<summary>Docs menu</summary>
<nav class="docs-nav" aria-label="Documentation">
{{DOC_NAV}}
</nav>
</details>
<script>if (matchMedia("(max-width: 900px)").matches) document.querySelector(".docs-nav-wrap").removeAttribute("open")</script>
<main id="main" class="docs-main">
<p class="kicker"><span>{{DOC_GROUP}}</span></p>
<h1 class="title">{{DOC_TITLE}}</h1>
<p class="lede">{{DOC_LEDE}}</p>
{{DOC_TOC}}
<div class="prose docs-prose">
{{DOC_BODY}}
</div>
<nav class="docs-pager" aria-label="Next and previous pages">
{{DOC_PAGER}}
</nav>
<p class="docs-edit"><a href="https://github.com/ludovic111/horizon/blob/main/website/docs/{{DOC_FILE}}">Edit this page on GitHub</a> · Spotted something wrong? <a href="https://github.com/ludovic111/horizon/issues">Open an issue</a> or ask on <a href="{{DISCORD}}">Discord</a>.</p>
<p class="disclaimer">Not an official Minecraft product. Not approved by or associated with Mojang or Microsoft.</p>
</main>
</div>
<p class="footer-word" aria-hidden="true">horizon</p>
</body>
</html>