add show docs link to config

This commit is contained in:
2026-01-02 23:53:44 +11:00
parent d9a6943570
commit 407ee6c0d3
3 changed files with 16 additions and 1 deletions

View File

@@ -172,6 +172,9 @@ class Documentation {
this.loadCustomCSS(data.customCSS);
}
// Show/hide Docs link in sidebar
this.domService.setShowDocsLink(data.showDocsLink !== false);
this.searchService.buildSearchIndex(this.indexData.documents);
this.domService.setupSearch(this.searchService);