diff options
| author | Joe Mou <dev@mou.fo> | 2026-09-03 00:08:06 -0400 |
|---|---|---|
| committer | Joe Mou <dev@mou.fo> | 2026-09-03 01:09:10 -0400 |
| commit | df2969f6ff3658d683ae1959a7e4dbdb25720e2e (patch) | |
| tree | d4b01aad1522c2c3c8b64ce3aa6d498d8ee0673d /GEMINI.md | |
| parent | b992cf6e27b8b7c6313358270daf6cbb8ea4a184 (diff) | |
Render repository wikis
Wikis are one of the last parts of GitHub still served as plain Rails
HTML, with no embedded JSON to read, so this scrapes the markup: a page
and any older revision of it, the _Sidebar and _Footer a wiki can
define, and the page index. Every page is already in the sidebar of
every page, since the "Show N more pages" button only unhides the rest,
so linking the whole wiki costs no second request.
Routes mirror GitHub's and resolve in its order, so an underscore name
reserved for its own actions (_pages, _history, _new, _edit) can never
be mistaken for a page; the ones we don't serve fall through to the
usual redirect. A slug reaches us decoded and has to be encoded again
rather than interpolated the way a ref is, or a page named C# would
truncate at the fragment.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013rQG1io1i4GJQW5RFcXNGd
Diffstat (limited to 'GEMINI.md')
0 files changed, 0 insertions, 0 deletions
