fix(wiki): render the public pages on the server
The documentation was assembled in the browser, so a client that runs no script saw an empty shell — including whoever fetches the terms and privacy links before approving an application, which is exactly what those pages are for. The wiki is now delivered as finished HTML, carries no script at all, and declares itself indexable, unlike the panel. Search works through a plain query string, an unknown page answers 404 rather than a blank page, and both legal pages are linked from the footer of every page. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
3d0e21d7cb
commit
8869c74b7b
7 files changed
+348
-222
No files matched your search
@@ -144,6 +144,37 @@
|
||||
margin-bottom: 1.2rem;
|
||||
}
|
||||
|
||||
.wiki-search {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.wiki-index {
|
||||
list-style: none;
|
||||
margin: 0 0 1.4rem;
|
||||
padding: 0;
|
||||
}
|
||||
.wiki-index li {
|
||||
padding: 0.35rem 0;
|
||||
border-bottom: 1px solid var(--border);
|
||||
}
|
||||
.wiki-index li:last-child {
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
.wiki-footer {
|
||||
margin-top: 3rem;
|
||||
padding-top: 1rem;
|
||||
border-top: 1px solid var(--border);
|
||||
font-size: 0.8rem;
|
||||
color: var(--text-muted);
|
||||
}
|
||||
.wiki-footer a {
|
||||
color: var(--text-muted);
|
||||
}
|
||||
.wiki-footer a:hover {
|
||||
color: var(--text);
|
||||
}
|
||||
|
||||
.wiki-toc {
|
||||
position: sticky;
|
||||
top: 2rem;
|
||||
|
||||
Reference in new issue
Block a user