Knowledge base: /docs/<title> permalinks, search, categories, count, better PDF

Articles get their own address (shareable, back/forward work); the list is
searchable by title and text, shows the article count, and is grouped into
Applications and Troubleshooting & Guides via a hidden category line set
from the editor. PDF export lays out at page width with page breaks, a title
block and page numbers; Print uses the browser's vector print. Inline code
is a pill that glows blue on hover, blockquotes no longer squeeze, and
GitHub-style [!NOTE] alerts render. [[Badge]] syntax inside code spans is
left alone.
This commit is contained in:
Johan Sandoval committed 2026-10-06 19:31:19 +00:00
1 parent 514bc31566
commit a5c0a5210e
24 files changed
+525 -11

No files matched your search

+2
View File
@@ -472,6 +472,8 @@ while ($listener.IsListening) {
# --- STATIC FILES ---
if ([string]::IsNullOrWhiteSpace($localPath)) { $localPath = "index.html" }
# Article permalinks (/docs/Adobe Acrobat Pro) are pages of the dashboard itself
if ($localPath -eq "docs" -or ($localPath -like "docs/*" -and $localPath -notmatch '\.(md|png|jpe?g|gif|webp|svg|css|js)$')) { $localPath = "index.html" }
# Data/ state files, Documentation/ articles + images, and web/ assets for everything else
if ($publicDataFiles -contains $localPath) {