aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorlarvide <[email protected]>2023-11-13 00:35:16 +0800
committerGitHub <[email protected]>2023-11-12 16:35:16 +0000
commit26f298cee1b9fd385ad0dd0306c4ce68e79b9fae (patch)
treee2aff263b46e786d3a120f9a17792aae74eb6298 /docs
parentf730125ffb941fe936d6a18c775cbe3a99b312dc (diff)
downloadfaker-26f298cee1b9fd385ad0dd0306c4ce68e79b9fae.tar.xz
faker-26f298cee1b9fd385ad0dd0306c4ce68e79b9fae.zip
docs: restructure apidocs page tree (#2530)
Co-authored-by: larvide <[email protected]>
Diffstat (limited to 'docs')
-rw-r--r--docs/.vitepress/api-pages.ts57
1 files changed, 31 insertions, 26 deletions
diff --git a/docs/.vitepress/api-pages.ts b/docs/.vitepress/api-pages.ts
index dad86954..c23e6cfc 100644
--- a/docs/.vitepress/api-pages.ts
+++ b/docs/.vitepress/api-pages.ts
@@ -4,32 +4,37 @@ export const apiPages = [
{ text: 'Overview', link: '/api/' },
{ text: 'Faker', link: '/api/faker.html' },
{ text: 'SimpleFaker', link: '/api/simpleFaker.html' },
- { text: 'Airline', link: '/api/airline.html' },
- { text: 'Animal', link: '/api/animal.html' },
- { text: 'Color', link: '/api/color.html' },
- { text: 'Commerce', link: '/api/commerce.html' },
- { text: 'Company', link: '/api/company.html' },
- { text: 'Database', link: '/api/database.html' },
- { text: 'Datatype', link: '/api/datatype.html' },
- { text: 'Date', link: '/api/date.html' },
- { text: 'Finance', link: '/api/finance.html' },
- { text: 'Git', link: '/api/git.html' },
- { text: 'Hacker', link: '/api/hacker.html' },
- { text: 'Helpers', link: '/api/helpers.html' },
- { text: 'Image', link: '/api/image.html' },
- { text: 'Internet', link: '/api/internet.html' },
- { text: 'Location', link: '/api/location.html' },
- { text: 'Lorem', link: '/api/lorem.html' },
- { text: 'Music', link: '/api/music.html' },
- { text: 'Number', link: '/api/number.html' },
- { text: 'Person', link: '/api/person.html' },
- { text: 'Phone', link: '/api/phone.html' },
- { text: 'Random', link: '/api/random.html' },
- { text: 'Science', link: '/api/science.html' },
- { text: 'String', link: '/api/string.html' },
- { text: 'System', link: '/api/system.html' },
- { text: 'Vehicle', link: '/api/vehicle.html' },
- { text: 'Word', link: '/api/word.html' },
{ text: 'Randomizer', link: '/api/randomizer.html' },
{ text: 'Utilities', link: '/api/utils.html' },
+ {
+ text: 'Modules',
+ items: [
+ { text: 'Airline', link: '/api/airline.html' },
+ { text: 'Animal', link: '/api/animal.html' },
+ { text: 'Color', link: '/api/color.html' },
+ { text: 'Commerce', link: '/api/commerce.html' },
+ { text: 'Company', link: '/api/company.html' },
+ { text: 'Database', link: '/api/database.html' },
+ { text: 'Datatype', link: '/api/datatype.html' },
+ { text: 'Date', link: '/api/date.html' },
+ { text: 'Finance', link: '/api/finance.html' },
+ { text: 'Git', link: '/api/git.html' },
+ { text: 'Hacker', link: '/api/hacker.html' },
+ { text: 'Helpers', link: '/api/helpers.html' },
+ { text: 'Image', link: '/api/image.html' },
+ { text: 'Internet', link: '/api/internet.html' },
+ { text: 'Location', link: '/api/location.html' },
+ { text: 'Lorem', link: '/api/lorem.html' },
+ { text: 'Music', link: '/api/music.html' },
+ { text: 'Number', link: '/api/number.html' },
+ { text: 'Person', link: '/api/person.html' },
+ { text: 'Phone', link: '/api/phone.html' },
+ { text: 'Random', link: '/api/random.html' },
+ { text: 'Science', link: '/api/science.html' },
+ { text: 'String', link: '/api/string.html' },
+ { text: 'System', link: '/api/system.html' },
+ { text: 'Vehicle', link: '/api/vehicle.html' },
+ { text: 'Word', link: '/api/word.html' },
+ ],
+ },
];