aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorST-DDT <[email protected]>2022-04-13 10:01:23 +0200
committerGitHub <[email protected]>2022-04-13 10:01:23 +0200
commit360bec7c7f3269049eb748523f2d271b6ed36d75 (patch)
tree171c4fd81486e9d769cb103c284720aa4defcb81 /docs
parentbb2dfb6f0e9d906120c49b7ee38e05e05fd8fc45 (diff)
downloadfaker-360bec7c7f3269049eb748523f2d271b6ed36d75.tar.xz
faker-360bec7c7f3269049eb748523f2d271b6ed36d75.zip
docs: use vitepress config for markdown pre-renderer (#835)
Diffstat (limited to 'docs')
-rw-r--r--docs/.vitepress/.gitignore1
-rw-r--r--docs/.vitepress/api-pages.ts30
2 files changed, 30 insertions, 1 deletions
diff --git a/docs/.vitepress/.gitignore b/docs/.vitepress/.gitignore
deleted file mode 100644
index 3b0c8abc..00000000
--- a/docs/.vitepress/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-api-pages.ts
diff --git a/docs/.vitepress/api-pages.ts b/docs/.vitepress/api-pages.ts
new file mode 100644
index 00000000..88f6c48e
--- /dev/null
+++ b/docs/.vitepress/api-pages.ts
@@ -0,0 +1,30 @@
+// This file is automatically generated.
+// Run 'pnpm run generate:api-docs' to update
+export const apiPages = [
+ { text: 'Address', link: '/api/address.html' },
+ { text: 'Animal', link: '/api/animal.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: 'Fake', link: '/api/fake.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: 'Localization', link: '/api/localization.html' },
+ { text: 'Lorem', link: '/api/lorem.html' },
+ { text: 'Mersenne', link: '/api/mersenne.html' },
+ { text: 'Music', link: '/api/music.html' },
+ { text: 'Name', link: '/api/name.html' },
+ { text: 'Phone', link: '/api/phone.html' },
+ { text: 'Random', link: '/api/random.html' },
+ { text: 'System', link: '/api/system.html' },
+ { text: 'Time', link: '/api/time.html' },
+ { text: 'Unique', link: '/api/unique.html' },
+ { text: 'Vehicle', link: '/api/vehicle.html' },
+ { text: 'Word', link: '/api/word.html' },
+];