aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/api/ApiIndex.vue6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/api/ApiIndex.vue b/docs/api/ApiIndex.vue
index 0846d9f2..ec9c752e 100644
--- a/docs/api/ApiIndex.vue
+++ b/docs/api/ApiIndex.vue
@@ -55,8 +55,8 @@ function slugify(text: string): string {
.replace(/^\-+|\-+$/g, '')
// ensure it doesn't start with a number (like #123)
.replace(/^(\d)/, '_$1')
- // // lowercase
- // .toLowerCase()
+ // lowercase
+ .toLowerCase()
);
}
</script>
@@ -84,7 +84,7 @@ function slugify(text: string): string {
<ul>
<li v-for="h of item.headers" :key="h.anchor">
<a :href="item.link + '.html#' + slugify(h.anchor)">{{
- h.anchor
+ h.text
}}</a>
</li>
</ul>