feat(electron): added docs viewer

This commit is contained in:
2025-08-11 17:41:21 -04:00
parent b370eff4f3
commit 075f8c0cec
7 changed files with 818 additions and 6 deletions

View File

@@ -113,9 +113,15 @@ function showView(viewId) {
opatView.classList.toggle('hidden', viewId !== 'opat-view');
}
// Handle documentation viewer separately
const docsViewer = document.getElementById('docs-viewer');
if (docsViewer) {
docsViewer.classList.toggle('hidden', viewId !== 'docs-viewer');
}
// Also hide all category home screens when showing main content
const categoryHomeScreens = [
'libplugin-home', 'opat-home', 'libconstants-home', 'serif-home'
'libplugin-home', 'opat-home', 'libconstants-home', 'serif-home', 'docs-home'
];
categoryHomeScreens.forEach(screenId => {