From 0d44b7804a58f1fa6cac7affc72f9297f289c8a2 Mon Sep 17 00:00:00 2001 From: Shinigami92 Date: Fri, 3 Jun 2022 22:56:10 +0200 Subject: [PATCH] docs: update --- docs/.vitepress/config.ts | 10 ++-------- docs/index.md | 7 ++++--- 2 files changed, 6 insertions(+), 11 deletions(-) diff --git a/docs/.vitepress/config.ts b/docs/.vitepress/config.ts index c3f582e5a2c..9b013d2ebd4 100644 --- a/docs/.vitepress/config.ts +++ b/docs/.vitepress/config.ts @@ -61,9 +61,7 @@ export default defineConfig({ logo: '/logo.svg', editLink: { - repo: 'faker-js/faker', - branch: 'main', - dir: 'docs', + pattern: 'https://github.com/faker-js/faker/edit/main/docs/:path', text: 'Suggest changes to this page', }, @@ -89,11 +87,7 @@ export default defineConfig({ // { text: 'Playground', link: '/playground/' }, { text: 'Ecosystem', - items: [ - { text: 'Discord ', link: 'https://chat.fakerjs.dev' }, - { text: 'StackBlitz ', link: 'https://fakerjs.dev/new' }, - { text: 'Twitter ', link: 'https://twitter.com/faker_js' }, - ], + items: [{ text: 'StackBlitz ', link: 'https://fakerjs.dev/new' }], }, { text: 'About', diff --git a/docs/index.md b/docs/index.md index 066e0193248..8f5f6b552af 100644 --- a/docs/index.md +++ b/docs/index.md @@ -4,15 +4,16 @@ layout: home hero: name: Faker text: '' - image: /logo.svg - imageAlt: 'Cartoon logo of a panda magician' tagline: Generate massive amounts of fake (but realistic) data for testing and development. + image: + src: /logo.svg + alt: Cartoon logo of a panda magician actions: - theme: brand text: Get Started link: /guide/ - theme: alt - text: GitHub + text: View on GitHub link: https://github.com/faker-js/faker features: