diff --git a/khatru/docs/.gitignore b/khatru/docs/.gitignore index 3c3629e..7aa6f9f 100644 --- a/khatru/docs/.gitignore +++ b/khatru/docs/.gitignore @@ -1 +1,2 @@ node_modules +.netlify diff --git a/khatru/docs/justfile b/khatru/docs/justfile index 1f160a9..2a1bee2 100644 --- a/khatru/docs/justfile +++ b/khatru/docs/justfile @@ -6,3 +6,6 @@ dev: build: vitepress build cp logo.png .vitepress/dist/ + +deploy: build + netlify deploy .vitepress/dist --prod diff --git a/khatru/docs/netlify.toml b/khatru/docs/netlify.toml new file mode 100644 index 0000000..1706e4b --- /dev/null +++ b/khatru/docs/netlify.toml @@ -0,0 +1,8 @@ +[build] +publish = ".vitepress/dist" +command = "ls .vitepress/dist/" + +[[redirects]] +from = "/*" +to = "/index.html" +status = 200