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 - +