docs: show latest version in docs + update automatically (#9753)

This commit is contained in:
Shahed Nasser
2024-10-24 14:03:34 +03:00
committed by GitHub
parent 669adbcdc9
commit 04cec64fa1
14 changed files with 232 additions and 1 deletions

View File

@@ -1,3 +1,4 @@
import { globalConfig } from "docs-ui"
import { DocsConfig } from "types"
type SiteConfig = {
@@ -9,6 +10,7 @@ type SiteConfig = {
const baseUrl = process.env.NEXT_PUBLIC_DOCS_URL || "http://localhost:3000"
export const siteConfig: SiteConfig = {
...globalConfig,
name: "Medusa UI",
baseUrl,
basePath: process.env.NEXT_PUBLIC_BASE_PATH,