docs: show latest version in docs + update automatically (#9753)
This commit is contained in:
@@ -1,9 +1,11 @@
|
||||
import { DocsConfig, SidebarItem } from "types"
|
||||
import { generatedSidebar } from "../generated/sidebar.mjs"
|
||||
import { globalConfig } from "docs-ui"
|
||||
|
||||
const baseUrl = process.env.NEXT_PUBLIC_BASE_URL || "http://localhost:3000"
|
||||
|
||||
export const config: DocsConfig = {
|
||||
...globalConfig,
|
||||
titleSuffix: "Medusa Development Resources",
|
||||
baseUrl,
|
||||
basePath: process.env.NEXT_PUBLIC_BASE_PATH,
|
||||
|
||||
Reference in New Issue
Block a user