diff --git a/package.json b/package.json index 097859a8..c7d7d61a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@diplodoc/cli", - "version": "4.47.0", + "version": "4.47.0-beta-1", "description": "Make documentation using yfm-docs in Markdown and HTML formats", "keywords": [ "markdown", diff --git a/src/services/search.ts b/src/services/search.ts index cafd028c..cffe0173 100644 --- a/src/services/search.ts +++ b/src/services/search.ts @@ -47,7 +47,8 @@ function add(path: string, info: DocInnerProps) { const toc = TocService.getForPath(path)[1]; const base = (toc as {base?: string}).base || ''; - const url = base + '/' + router.pathname; + // TODO: adopt for non html links + const url = base + router.pathname + '.html'; indexer.add(lang, url, data as DocPageData); }