Two additions to docs/Website. **The reader.** docs.html renders the 29 documents in docs/ in the site's own theme -- index down the left, table of contents down the right, and links between documents rewritten so ../history/schfs.md navigates inside the reader instead of downloading a file. The parser is ~150 lines in docs.js, not a dependency: it handles exactly what docs/ uses, and a Markdown library would outweigh every other asset here combined. Everything is escaped before a tag is emitted, so the only HTML that reaches the page is HTML docs.js wrote. Verified by rendering all 30 documents (302 KB of Markdown) with zero failures, no unrestored sentinels and no runaway loops. One caveat, stated in the page itself rather than hidden: browsers block fetch() on file:// URLs, so this page needs a server. It says so, with the command, and offers the raw file as a fallback. The rest of the site is unaffected. **The flag.** A Progress Pride flag in the top bar and a line in the footer, on both pages, permanently. Support with an end date is marketing. It is deliberately small and deliberately not a page of its own -- this is an operating system, and the flag is a statement, not a subject. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VQ7Qx8E1q1M1bbCq8QLHS2
63 lines
1.7 KiB
HTML
63 lines
1.7 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<title>Docs — SchOS</title>
|
|
<meta name="description" content="The SchOS documentation: architecture, guides, plans and the history of the bugs worth remembering.">
|
|
<link rel="icon" href="Assets/shift.svg" type="image/svg+xml">
|
|
<link rel="stylesheet" href="style.css">
|
|
</head>
|
|
<body class="reading">
|
|
|
|
<header class="top">
|
|
<div class="wrap">
|
|
<a class="brand" href="index.html">
|
|
<img src="Assets/shift.svg" alt="">
|
|
SchOS
|
|
</a>
|
|
<a class="pride" href="#pride-note" title="SchOS stands with the LGBTQIAP+ community — every month of the year">
|
|
<img src="Assets/pride.svg" alt="Progress Pride flag">
|
|
</a>
|
|
<nav>
|
|
<a href="index.html">Home</a>
|
|
<a href="docs.html" class="on">Docs</a>
|
|
</nav>
|
|
</div>
|
|
</header>
|
|
|
|
<div class="docshell">
|
|
<aside class="sidebar" aria-label="Documentation index">
|
|
<div class="sticky">
|
|
<nav id="docnav"></nav>
|
|
</div>
|
|
</aside>
|
|
|
|
<main>
|
|
<article id="doc" class="prose" aria-live="polite">
|
|
<p class="loading">Loading…</p>
|
|
</article>
|
|
</main>
|
|
|
|
<aside class="rail" aria-label="On this page">
|
|
<div class="sticky">
|
|
<nav id="toc" hidden></nav>
|
|
</div>
|
|
</aside>
|
|
</div>
|
|
|
|
<footer>
|
|
<div class="wrap">
|
|
<span>SchOS — kernel <b>SchIFT</b>, filesystem <b>SchFS</b>.</span>
|
|
<span class="mono">Apache-2.0, with the xv6-derived core under MIT.</span>
|
|
<span class="pride-note" id="pride-note">
|
|
<img src="Assets/pride.svg" alt="">
|
|
Built by, and for, people of every orientation and gender identity.
|
|
The flag stays up all year.
|
|
</span>
|
|
</div>
|
|
</footer>
|
|
|
|
<script src="docs.js"></script>
|
|
</body>
|
|
</html>
|