aboutsummaryrefslogtreecommitdiff
path: root/docs/api
diff options
context:
space:
mode:
authorMatt Mayer <[email protected]>2023-03-29 20:36:46 +0700
committerGitHub <[email protected]>2023-03-29 13:36:46 +0000
commit3562e872530b3610d95be71aa6f4f7fdfef7134f (patch)
treec6ba28a9f3cf30e5bf5c0a935fead6bdb2668531 /docs/api
parent88e561a5490003a41665eb007c5c28ff0800ae09 (diff)
downloadfaker-3562e872530b3610d95be71aa6f4f7fdfef7134f.tar.xz
faker-3562e872530b3610d95be71aa6f4f7fdfef7134f.zip
docs: add overview guides to specific modules (#1929)
Diffstat (limited to 'docs/api')
-rw-r--r--docs/api/ApiIndex.vue12
1 files changed, 7 insertions, 5 deletions
diff --git a/docs/api/ApiIndex.vue b/docs/api/ApiIndex.vue
index 0d421775..55efaeca 100644
--- a/docs/api/ApiIndex.vue
+++ b/docs/api/ApiIndex.vue
@@ -96,7 +96,9 @@ onUnmounted(() => window.removeEventListener('keydown', apiSearchFocusHandler));
<h2 :id="slugify(section.text)">{{ section.text }}</h2>
<div class="api-groups">
<div v-for="item of section.items" :key="item.text" class="api-group">
- <h3>{{ item.text }}</h3>
+ <h3>
+ <a :href="item.link + '.html'">{{ item.text }}</a>
+ </h3>
<ul>
<li v-for="h of item.headers" :key="h.anchor">
<a :href="item.link + '.html#' + slugify(h.anchor)">{{
@@ -158,7 +160,7 @@ h3 {
margin-bottom: 64px;
}
-.api-groups a {
+.api-groups ul a {
font-size: 15px;
font-weight: 500;
line-height: 2;
@@ -166,11 +168,11 @@ h3 {
transition: color 0.5s;
}
-.dark .api-groups a {
+.dark .api-groups ul a {
font-weight: 400;
}
-.api-groups a:hover {
+.api-groups ul a:hover {
color: var(--vp-c-green);
transition: none;
}
@@ -233,7 +235,7 @@ h3 {
padding-top: 32px;
}
- .api-groups a {
+ .api-groups ul a {
font-size: 14px;
}