diff --git a/docs.py b/docs.py index a139baf..021435c 100644 --- a/docs.py +++ b/docs.py @@ -42,15 +42,15 @@ EAMUSE_CONTENTS = { } SEGA_CONTENTS = { "intro.html": ("Introduction to RingEdge 2", ()), - "hardware": ("Hardware", ()), - "software": ("Software", { - "pcp": ("PCP", {"libpcp.html": "libpcp"}), + "hardware": ("Hardware", { "jvs.html": "JVS", "touch.html": "Touchscreen", + }), + "software": ("Software", { + "pcp": ("PCP", {"libpcp.html": "libpcp"}), "drivers": ("Device drivers", None), "security": ("Security", { "game.html": "Game encryption", - "keychip.html": "Keychips", }), "groovemaster.html": "GrooveMaster.ini", }), @@ -314,6 +314,7 @@ for base, _, files in os.walk(TEMPLATES + "/" + PAGES_BASE): return render_template( os.path.join(base, name).strip("/").replace("\\", "/"), ROOT=ROOT, + CANONICAL=ROOT + route, generate_xrpc_list=generate_xrpc_list, generate_toc=lambda start=1: generate_toc(base, name, route, start), generate_footer=lambda: generate_footer(base, name, route), diff --git a/templates/base.html b/templates/base.html index c6b3cc5..083c7db 100644 --- a/templates/base.html +++ b/templates/base.html @@ -9,6 +9,7 @@ +