mirror of
https://github.com/numtide/treefmt.git
synced 2024-09-11 08:55:33 +03:00
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
e252f6bd0c
commit
894f90f084
3
.gitignore
vendored
3
.gitignore
vendored
@ -13,4 +13,5 @@ repl-result-*
|
||||
|
||||
# docs
|
||||
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",
|
||||
themeConfig: {
|
||||
|
||||
logo: '../assets/logo.svg',
|
||||
logo: '/logo.svg',
|
||||
|
||||
// https://vitepress.dev/reference/default-theme-config
|
||||
nav: [
|
||||
|
@ -6,7 +6,7 @@ hero:
|
||||
name: "Treefmt"
|
||||
text: "One CLI to format your repo"
|
||||
image:
|
||||
src: ./assets/fmt.gif
|
||||
src: /fmt.gif
|
||||
alt: Treefmt
|
||||
actions:
|
||||
- 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
|
||||
|
||||
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
|
||||
'';
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user