From 771ce3b6e77135a3c98de52d8028d56c89b1046b Mon Sep 17 00:00:00 2001 From: davay Date: Thu, 19 Jan 2023 15:28:14 +0700 Subject: [PATCH] with docs --- .gitignore | 4 +- docs/.vitepress/config.js | 12 + docs/index.md | 5 + index.html | 7 +- package.json | 17 +- pnpm-lock.yaml | 455 ++++++++++++++++++++++++++++++++------ vite.config.js | 28 ++- windi.config.js | 6 - 8 files changed, 437 insertions(+), 97 deletions(-) create mode 100644 docs/.vitepress/config.js create mode 100644 docs/index.md delete mode 100644 windi.config.js diff --git a/.gitignore b/.gitignore index f2314d5..24f5286 100644 --- a/.gitignore +++ b/.gitignore @@ -2,4 +2,6 @@ node_modules .DS_Store dist demo -public/types \ No newline at end of file +public/types +public/docs +docs/.vitepress/cache \ No newline at end of file diff --git a/docs/.vitepress/config.js b/docs/.vitepress/config.js new file mode 100644 index 0000000..0420a9d --- /dev/null +++ b/docs/.vitepress/config.js @@ -0,0 +1,12 @@ +import { defineConfig } from "vitepress"; + +export default defineConfig({ + title: 'Gun-avatar', + titleTemplate: "Gun-avatar public key visualizer", + outDir: "../public/docs/", + lang: 'en-US', + lastUpdated: true, + themeConfig: { + repo: "https://github.com/defucc/gun-avatar", + } +}) \ No newline at end of file diff --git a/docs/index.md b/docs/index.md new file mode 100644 index 0000000..613430b --- /dev/null +++ b/docs/index.md @@ -0,0 +1,5 @@ +--- +title: Gun-avatar +--- + +Welcome! diff --git a/index.html b/index.html index bfa0020..c664b8a 100644 --- a/index.html +++ b/index.html @@ -375,11 +375,10 @@

MIT 2020-present
by davay - +