Skip to content

Commit

Permalink
fix(docs): fix toc
Browse files Browse the repository at this point in the history
  • Loading branch information
HenriPro committed Aug 12, 2024
1 parent 749a08a commit 4cc8bb2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/views/ApiDocumentationPage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,9 @@ export default defineComponent({

return allHeadings
.map((node) => {
console.log
const text = getNodeTextContent(node)
const { slug } = addSlug(node, slugMap)
const { slug } = addSlug(node, slugMap, '')
const level = getMaxHeaderLevel(2)

return {
Expand Down

0 comments on commit 4cc8bb2

Please sign in to comment.