From 6fadeb30ffe7476495b3724ed3b16bbc24a3fae5 Mon Sep 17 00:00:00 2001 From: Rock070 Date: Mon, 18 Sep 2023 02:32:44 +0800 Subject: [PATCH] doc: add header, footer --- docs/app.config.ts | 24 ++++++++++++++++++++++++ docs/components/content/Logo.vue | 3 +++ 2 files changed, 27 insertions(+) create mode 100644 docs/app.config.ts create mode 100644 docs/components/content/Logo.vue diff --git a/docs/app.config.ts b/docs/app.config.ts new file mode 100644 index 0000000..654c226 --- /dev/null +++ b/docs/app.config.ts @@ -0,0 +1,24 @@ +export default defineAppConfig({ + docus: { + socials: { + github: 'Rock070/vue3-noti', + }, + aside: { + level: 1, + }, + header: { + showLinkIcon: false, + logo: 'Logo', + exclude: ['/playground'], + }, + footer: { + credits: { + icon: 'IconDocus', + text: 'Powered by Docus', + href: 'https://docus.dev', + }, + textLinks: [], + iconLinks: [], + }, + }, +}) diff --git a/docs/components/content/Logo.vue b/docs/components/content/Logo.vue new file mode 100644 index 0000000..fe30f36 --- /dev/null +++ b/docs/components/content/Logo.vue @@ -0,0 +1,3 @@ +