From 360bec7c7f3269049eb748523f2d271b6ed36d75 Mon Sep 17 00:00:00 2001 From: ST-DDT Date: Wed, 13 Apr 2022 10:01:23 +0200 Subject: docs: use vitepress config for markdown pre-renderer (#835) --- docs/.vitepress/.gitignore | 1 - docs/.vitepress/api-pages.ts | 30 ++++++++++++++++++++++++++++++ 2 files changed, 30 insertions(+), 1 deletion(-) delete mode 100644 docs/.vitepress/.gitignore create mode 100644 docs/.vitepress/api-pages.ts (limited to 'docs') 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' }, +]; -- cgit v1.2.3