aboutsummaryrefslogtreecommitdiff
path: root/docs/api
diff options
context:
space:
mode:
Diffstat (limited to 'docs/api')
-rw-r--r--docs/api/ApiIndex.vue7
1 files changed, 6 insertions, 1 deletions
diff --git a/docs/api/ApiIndex.vue b/docs/api/ApiIndex.vue
index 7b1be7bf..94085371 100644
--- a/docs/api/ApiIndex.vue
+++ b/docs/api/ApiIndex.vue
@@ -69,8 +69,13 @@ const filtered = computed(() => {
</h3>
<ul>
<li v-for="h of item.headers" :key="h.anchor">
+ <!-- TODO @ST-DDT 2024-09-25: Remove this in v10 -->
<a
- :href="item.link + '#' + slugify(h.anchor)"
+ :href="
+ item.link +
+ '#' +
+ (h.anchor === 'userName' ? 'username-1' : slugify(h.anchor))
+ "
:class="{ deprecated: h.deprecated }"
>{{ h.text }}</a
>