Add supporting themes required for Lotusdocs

This commit is contained in:
Abner Coimbre
2026-01-11 16:48:19 -08:00
parent 8a4d04db58
commit f8d40c4e41
1289 changed files with 234948 additions and 0 deletions

View File

@@ -0,0 +1,33 @@
import { defineConfig } from 'astro/config'
import { bootstrap } from './src/libs/astro'
import { getConfig } from './src/libs/config'
import { algoliaPlugin } from './src/plugins/algolia-plugin'
import { stackblitzPlugin } from './src/plugins/stackblitz-plugin'
const isDev = process.env.NODE_ENV === 'development'
const site = isDev
? // In development mode, use the local dev server.
'http://localhost:9001'
: process.env.DEPLOY_PRIME_URL !== undefined
? // If deploying on Netlify, use the `DEPLOY_PRIME_URL` environment variable.
process.env.DEPLOY_PRIME_URL
: // Otherwise, use the `baseURL` value defined in the `config.yml` file.
getConfig().baseURL
// https://astro.build/config
export default defineConfig({
build: {
assets: `docs/${getConfig().docs_version}/assets`
},
integrations: [bootstrap()],
markdown: {
smartypants: false,
syntaxHighlight: 'prism'
},
site,
vite: {
plugins: [algoliaPlugin(), stackblitzPlugin()]
}
})