diff --git a/tools/api-docs-generator/generator/reference_docs.go b/tools/api-docs-generator/generator/reference_docs.go index 4294ffaf4b13..d64649bcfe2e 100644 --- a/tools/api-docs-generator/generator/reference_docs.go +++ b/tools/api-docs-generator/generator/reference_docs.go @@ -45,7 +45,7 @@ func GenerateReferenceDocs(cfg *config.Config, docsBasePath string) error { } sort.Strings(summary) - matches, err := matchCurrentSummary(cfg.Output.SummaryPath, summary) + matches, err := matchCurrentSummary(path.Join(docsBasePath, cfg.Output.SummaryPath), summary) if err != nil { return err }