doc: move assets into public folder
Fixes issues with built version of the site Signed-off-by: Brian McGee <brian@bmcgee.ie>
This commit is contained in:
parent
6bdfb8b000
commit
3d65d6d61a
1
.gitignore
vendored
1
.gitignore
vendored
@ -14,3 +14,4 @@ repl-result-*
|
|||||||
# docs
|
# docs
|
||||||
node_modules
|
node_modules
|
||||||
docs/.vitepress/cache
|
docs/.vitepress/cache
|
||||||
|
docs/.vitepress/dist
|
@ -6,7 +6,7 @@ export default defineConfig({
|
|||||||
description: "one CLI to format your repo",
|
description: "one CLI to format your repo",
|
||||||
themeConfig: {
|
themeConfig: {
|
||||||
|
|
||||||
logo: '../assets/logo.svg',
|
logo: '/logo.svg',
|
||||||
|
|
||||||
// https://vitepress.dev/reference/default-theme-config
|
// https://vitepress.dev/reference/default-theme-config
|
||||||
nav: [
|
nav: [
|
||||||
|
@ -6,7 +6,7 @@ hero:
|
|||||||
name: "Treefmt"
|
name: "Treefmt"
|
||||||
text: "One CLI to format your repo"
|
text: "One CLI to format your repo"
|
||||||
image:
|
image:
|
||||||
src: ./assets/fmt.gif
|
src: /fmt.gif
|
||||||
alt: Treefmt
|
alt: Treefmt
|
||||||
actions:
|
actions:
|
||||||
- theme: brand
|
- theme: brand
|
||||||
|
Before Width: | Height: | Size: 87 KiB After Width: | Height: | Size: 87 KiB |
Before Width: | Height: | Size: 7.0 KiB After Width: | Height: | Size: 7.0 KiB |
@ -21,7 +21,7 @@ _: {
|
|||||||
set -xeuo pipefail
|
set -xeuo pipefail
|
||||||
|
|
||||||
for tape in $PRJ_ROOT/docs/vhs/*; do
|
for tape in $PRJ_ROOT/docs/vhs/*; do
|
||||||
vhs $tape -o "$PRJ_ROOT/docs/assets/$(basename $tape .tape).gif"
|
vhs $tape -o "$PRJ_ROOT/docs/public/$(basename $tape .tape).gif"
|
||||||
done
|
done
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user