Skip to content

Commit

Permalink
Update docs template
Browse files Browse the repository at this point in the history
  • Loading branch information
edoardocavazza committed Mar 18, 2024
1 parent b7b251b commit ad7f53c
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
/packages/*/demo
.nyc_output
coverage
public
/public
tsconfig.tsbuildinfo
docs/.vitepress/dist
docs/.vitepress/cache
6 changes: 3 additions & 3 deletions docs/.vitepress/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand All @@ -28,7 +28,7 @@ export default defineConfig({
link: '/guide/',
},
{
text: 'Chialab.io',
text: 'Chialab Open Source',
link: 'https://www.chialab.io',
},
],
Expand Down
4 changes: 2 additions & 2 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
14 changes: 14 additions & 0 deletions docs/public/chialab.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/public/favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions docs/public/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit ad7f53c

Please sign in to comment.