Skip to content

Commit b54a05f

Browse files
authored
Fix: Class index URL should include site root (#172)
1 parent 76ee67e commit b54a05f

File tree

1 file changed

+1
-1
lines changed
  • packages/webdoc-default-template/helper/crawl

1 file changed

+1
-1
lines changed

packages/webdoc-default-template/helper/crawl/crawl.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ function buildLinks(manifest /*: Manifest */) /*: void */ {
9494
function buildIndex(
9595
tree /*: RootDoc */,
9696
)/*: { [string]: $ReadOnlyArray<Doc> & { url: string } } */ {
97-
const classIndexUrl = linker.createURI("Class-Index", true);
97+
const classIndexUrl = linker.createURI("Class-Index");
9898

9999
const index /*: {[string]: Array<any> & {url: string}} */ = {
100100
classes: Object.assign(([] /*: any */), {url: classIndexUrl}),

0 commit comments

Comments
 (0)