Compare commits

...

2 Commits

Author SHA1 Message Date
b83c13852e
doc: move assets into public folder
Fixes issues with built version of the site

Signed-off-by: Brian McGee <brian@bmcgee.ie>
2024-04-29 14:46:53 +01:00
1aac5ffda8
doc: fix bad formatter spec link
Signed-off-by: Brian McGee <brian@bmcgee.ie>
2024-04-29 14:42:01 +01:00
7 changed files with 6 additions and 5 deletions

3
.gitignore vendored
View File

@ -13,4 +13,5 @@ repl-result-*
# docs
node_modules
docs/.vitepress/cache
docs/.vitepress/cache
docs/.vitepress/dist

View File

@ -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: [

View File

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

View File

Before

Width:  |  Height:  |  Size: 87 KiB

After

Width:  |  Height:  |  Size: 87 KiB

View File

Before

Width:  |  Height:  |  Size: 7.0 KiB

After

Width:  |  Height:  |  Size: 7.0 KiB

View File

@ -11,4 +11,4 @@ To run `treefmt` in your project, please follow these steps:
In the following sections we will guide you through installing and configuring `treefmt` in detail.
[install]: installation.md
[here]: formatters-spec.md
[here]: formatter-spec.md

View File

@ -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
'';
}