mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-10-24 04:39:06 -05:00
scripts/sitediagrams.py writes the explainer, install flow, verification modes, MinUI card, pipeline and data layer diagrams as inline SVG from the registry, the platform files, the install manifests and the pipeline step list. A page asks for one with an image comment, which the decoration pass resolves. The two mermaid diagrams of the architecture page are replaced, so no page loads mermaid from unpkg. Platform logos and system icons are copied once by fetch_site_images.py with their source and owner recorded, and the build rewrites the remote links to the copies. validate_site refuses an image from another host. Three registry logos named a personal avatar instead of the project's (RomM, ROCKNIX, MiSTer FPGA) and MyMinUI's was a GitHub identicon, now dropped. One 1200x630 sharing card per section, a 404 page with search and the two entry pages, and a list of screenshots that need a real device.
38 lines
1.7 KiB
HTML
38 lines
1.7 KiB
HTML
{% extends "main.html" %}
|
|
|
|
{#
|
|
The page a stale link lands on. Pages have moved before (file cards
|
|
refiled between manufacturers), so it offers the search, the two pages a
|
|
visitor most often wants, and the list a moved emulator, system or
|
|
platform page belongs to.
|
|
#}
|
|
{% block content %}
|
|
<h1>Page not found</h1>
|
|
<p class="rb-lead">This address has no page. It may have moved since the link was written.</p>
|
|
<p><label class="rb-notfound-search" for="__search" tabindex="0">Search the site</label></p>
|
|
<ul>
|
|
<li><a href="{{ config.site_url }}">Start here</a>: what BIOS files are and how to install them</li>
|
|
<li><a href="{{ config.site_url }}which-pack/">Get your files</a>: the pack or the command for your device</li>
|
|
<li>Browse <a href="{{ config.site_url }}platforms/">platforms</a>, <a href="{{ config.site_url }}systems/">systems</a> or <a href="{{ config.site_url }}emulators/">emulators</a></li>
|
|
</ul>
|
|
<p id="rb-notfound-hint" hidden></p>
|
|
<script>
|
|
(() => {
|
|
const match = window.location.pathname.match(/\/(emulators|systems|platforms)\/([^/]+)\/?$/);
|
|
const hint = document.getElementById("rb-notfound-hint");
|
|
if (!match || !hint) return;
|
|
const link = document.createElement("a");
|
|
link.href = "{{ config.site_url }}" + match[1] + "/";
|
|
link.textContent = "the list of " + match[1];
|
|
hint.append("No page is named " + decodeURIComponent(match[2]) + " here. It may be listed under another name in ", link, ".");
|
|
hint.hidden = false;
|
|
})();
|
|
document.querySelector(".rb-notfound-search")?.addEventListener("keydown", (event) => {
|
|
if (event.key === "Enter" || event.key === " ") {
|
|
event.preventDefault();
|
|
event.currentTarget.click();
|
|
}
|
|
});
|
|
</script>
|
|
{% endblock %}
|