Online documentation at /docs/ for authors and administrators: built into dist, nginx auth_request (check-docs), editor and admin links, Docker/server_update integration

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
denis
2026-10-17 16:17:19 +02:00
parent f79727f793
commit 815a533a4e
22 changed files with 208 additions and 13 deletions
+2 -1
View File
@@ -55,7 +55,8 @@ function isNarration(pathname) {
}
function isAuthorTool(pathname) {
return pathname === '/author.html' || pathname === '/css/author.css' || pathname.startsWith('/js/author/') || /^\/js\/i18n\/author\.[a-z]+\.json$/.test(pathname);
// /docs/ : documentation en ligne, éventuellement protégée par connexion, hors application (jamais mise en cache).
return pathname.startsWith('/docs/') || pathname === '/docs' || pathname === '/author.html' || pathname === '/css/author.css' || pathname.startsWith('/js/author/') || /^\/js\/i18n\/author\.[a-z]+\.json$/.test(pathname);
}
async function fromCache(request, cacheName) {