From 2ada08145ef4dea8c0ab80908598bc678ec889f6 Mon Sep 17 00:00:00 2001 From: TheFlow Date: Sun, 22 Feb 2026 17:45:11 +1300 Subject: [PATCH] fix: Route research papers to docs.html with categorized navigation Research modal links pointed to docs-viewer.html which has a flat, uncategorized sidebar. docs.html already supports ?doc=slug with auto-expanding categories. Also adds editorial note CSS to docs.html so the notes render with proper styling in the main docs view. Co-Authored-By: Claude Opus 4.6 --- public/docs.html | 7 +++++++ public/js/components/research-papers-modal.js | 4 ++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/public/docs.html b/public/docs.html index af7338da..6cd9de7e 100644 --- a/public/docs.html +++ b/public/docs.html @@ -221,6 +221,13 @@ margin-top: 0; } + /* Editorial notes */ + .prose .editorial-note { background-color: #eff6ff; border: 1px solid #bfdbfe; border-left: 4px solid #3b82f6; border-radius: 0.5rem; padding: 1.25rem 1.5rem; margin: 2rem 0; } + .prose .editorial-note .note-title { font-weight: 700; color: #1e40af; margin-top: 0; margin-bottom: 0.75rem; font-size: 0.95rem; } + .prose .editorial-note p { color: #1e3a5f; font-size: 0.935rem; line-height: 1.7; } + .prose .editorial-note em { color: #1e3a5f; } + .prose .editorial-note a { color: #1d4ed8; } + /* Download links in sidebar */ .doc-download-link { position: absolute; diff --git a/public/js/components/research-papers-modal.js b/public/js/components/research-papers-modal.js index 8c06e32a..bf59d3e2 100644 --- a/public/js/components/research-papers-modal.js +++ b/public/js/components/research-papers-modal.js @@ -18,7 +18,7 @@ class ResearchPapersModal { description: 'Proposes polycentric governance replacing platform hierarchy with co-equal steering authorities, drawing on te ao M\u0101ori concepts.', date: 'February 2026', status: 'Draft', - href: '/docs-viewer.html?slug=taonga-centred-steering-governance-polycentric-authority-for-sovereign-small-language-models' + href: '/docs.html?doc=taonga-centred-steering-governance-polycentric-authority-for-sovereign-small-language-models' }, { code: 'STO-RES-0009', @@ -27,7 +27,7 @@ class ResearchPapersModal { description: 'Investigates whether LLM biases operate at a sub-reasoning level and how sovereign SLM deployments enable inference-time debiasing.', date: 'February 2026', status: 'v1.1', - href: '/docs-viewer.html?slug=steering-vectors-mechanical-bias-sovereign-ai' + href: '/docs.html?doc=steering-vectors-mechanical-bias-sovereign-ai' } ] },