Fix Wiki Generation Not Running

This commit is contained in:
2026-05-22 09:38:46 +02:00
parent e6fdcdec87
commit f4d92a9766
3 changed files with 84 additions and 2 deletions
+1 -1
View File
@@ -211,7 +211,7 @@ func BuildNativeWithOptions(p *project.Project, opts NativeBuildOptions, progres
outputDir := wikiOutputPagesDir(p)
if stateInfo, err := os.Stat(statePath); err == nil && !newestWikiSource.After(stateInfo.ModTime()) {
if outputInfo, err := os.Stat(outputDir); err == nil && outputInfo.IsDir() {
if state, err := loadWikiState(statePath); err == nil {
if state, err := loadWikiState(statePath); err == nil && wikiCachedPagesAreCurrent(outputDir, state) {
prebuiltWiki = &wikiResult{
OutputDir: outputDir,
PageCount: state.Pages,