Skip to content

Commit

Permalink
change base to root (#53)
Browse files Browse the repository at this point in the history
## Description
Changes vitepress base to `/`

## Motivation and Context
Previously, when serving this from gh pages with the default gh pages
domain `astriaorg.github.io/docs`, we needed the base to be `/docs` to
account for the gh pages path.
Now we are using a custom domain, so the extra base path is no longer
needed, and it breaks the css.

## Types of changes
vitepress changes
  • Loading branch information
steezeburger authored Apr 15, 2024
1 parent 74394c2 commit fa72a22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/.vitepress/config.mts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { defineConfig } from 'vitepress'
const { BASE: base = "/docs" } = process.env;
const { BASE: base = "/" } = process.env;

// https://vitepress.dev/reference/site-config
export default defineConfig({
Expand Down

0 comments on commit fa72a22

Please sign in to comment.