Skip to content

Commit

Permalink
referencev2 renamed to reference
Browse files Browse the repository at this point in the history
  • Loading branch information
christianschmitz committed Aug 14, 2023
1 parent 981577b commit 70efc48
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions preprocess.js
Original file line number Diff line number Diff line change
Expand Up @@ -523,10 +523,10 @@ class ApiSection {
const subSection = node.appendChild({
name: this.#name,
content: this.toIndex(),
path: `api/referencev2/${this.#name.toLowerCase()}/index.md`
path: `api/reference/${this.#name.toLowerCase()}/index.md`
}).lastChild

this.#doclets.forEach(s => subSection.appendChild(s.toIncompleteSectionNode(`api/referencev2/${this.#name.toLowerCase()}`)))
this.#doclets.forEach(s => subSection.appendChild(s.toIncompleteSectionNode(`api/reference/${this.#name.toLowerCase()}`)))
}
}

Expand Down Expand Up @@ -599,7 +599,7 @@ ${this.#doclets.map(d => d.src).join("\n")}`
node.appendChild({
name: this.#name,
content: this.toIndex(),
path: `api/referencev2/${this.#name.toLowerCase()}.md`
path: `api/reference/${this.#name.toLowerCase()}.md`
})
}

Expand Down Expand Up @@ -724,7 +724,7 @@ This section contains a complete reference of all the classes, functions, interf
Typescript annotations are used to document types.
${this.toIndex()}`,
path: "api/referencev2/index.md"
path: "api/reference/index.md"
}).lastChild

this.#classes.inject(apiSection)
Expand Down

0 comments on commit 70efc48

Please sign in to comment.