aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorShinigami <[email protected]>2022-08-14 01:59:21 +0800
committerGitHub <[email protected]>2022-08-13 19:59:21 +0200
commitfda44bb899efbcbac2071a199964a3e269cbd805 (patch)
tree5d40c4f4ab9968f5dee45164455431fb8de1e1b5 /docs
parenteb9c5c2c04934a20e801850a73b4ee2b41101f7c (diff)
downloadfaker-fda44bb899efbcbac2071a199964a3e269cbd805.tar.xz
faker-fda44bb899efbcbac2071a199964a3e269cbd805.zip
docs: rewrite api pages to have a right aside toc (#1265)
Diffstat (limited to 'docs')
-rw-r--r--docs/.vitepress/components/api-docs/method.vue2
-rw-r--r--docs/api/.gitignore2
2 files changed, 1 insertions, 3 deletions
diff --git a/docs/.vitepress/components/api-docs/method.vue b/docs/.vitepress/components/api-docs/method.vue
index a5c8586a..83e29aca 100644
--- a/docs/.vitepress/components/api-docs/method.vue
+++ b/docs/.vitepress/components/api-docs/method.vue
@@ -12,8 +12,6 @@ function seeAlsoToUrl(see: string): string {
<template>
<div>
- <h2 :id="props.method.name">{{ props.method.title }}</h2>
-
<div v-if="props.method.deprecated" class="warning custom-block">
<p class="custom-block-title">Deprecated</p>
<p>This method is deprecated and will be removed in a future version.</p>
diff --git a/docs/api/.gitignore b/docs/api/.gitignore
index 0b938bbe..3d5066c5 100644
--- a/docs/api/.gitignore
+++ b/docs/api/.gitignore
@@ -1,3 +1,3 @@
*.md
!localization.md
-*.ts
+*.json