diff --git a/.gitignore b/.gitignore index 294fe870..da51ef59 100644 --- a/.gitignore +++ b/.gitignore @@ -13,7 +13,7 @@ /packages/*/demo .nyc_output coverage -public +/public tsconfig.tsbuildinfo docs/.vitepress/dist docs/.vitepress/cache diff --git a/docs/.vitepress/config.js b/docs/.vitepress/config.js index f71b962e..a5b44c1f 100644 --- a/docs/.vitepress/config.js +++ b/docs/.vitepress/config.js @@ -7,10 +7,10 @@ export default defineConfig({ base: '/rna/', outDir: '../public', - head: [['link', { rel: 'icon', href: 'https://www.chialab.it/favicon.png' }]], + head: [['link', { rel: 'icon', href: '/rna/favicon.png' }]], themeConfig: { - logo: 'https://raw.githubusercontent.com/chialab/rna/main/logo.svg', + logo: '/chialab.svg', editLink: { pattern: 'https://github.com/chialab/rna/edit/main/docs/:path', @@ -28,7 +28,7 @@ export default defineConfig({ link: '/guide/', }, { - text: 'Chialab.io', + text: 'Chialab Open Source', link: 'https://www.chialab.io', }, ], diff --git a/docs/index.md b/docs/index.md index 71f6334e..7102faf8 100644 --- a/docs/index.md +++ b/docs/index.md @@ -9,11 +9,11 @@ hero: name: 'RNA' tagline: 'Build tools for modern web modules and applications' image: - src: https://raw.githubusercontent.com/chialab/rna/main/logo.svg + src: /logo.svg alt: RNA logo actions: - theme: brand - text: npm i -D @chialab/rna + text: Get started link: /guide/ features: diff --git a/docs/public/chialab.svg b/docs/public/chialab.svg new file mode 100644 index 00000000..5f90f3f6 --- /dev/null +++ b/docs/public/chialab.svg @@ -0,0 +1,14 @@ + + + + + + + diff --git a/docs/public/favicon.png b/docs/public/favicon.png new file mode 100644 index 00000000..dfffb843 Binary files /dev/null and b/docs/public/favicon.png differ diff --git a/docs/public/logo.svg b/docs/public/logo.svg new file mode 100644 index 00000000..4b5b9a00 --- /dev/null +++ b/docs/public/logo.svg @@ -0,0 +1,4 @@ + + + +