* remove everything v1 and make v2 default * move main v2 rewrites to book * move rewrites to book + other fixes
6 lines
160 B
TypeScript
6 lines
160 B
TypeScript
import { getLinkWithBasePath } from "docs-ui"
|
|
|
|
export function basePathUrl(path = "") {
|
|
return getLinkWithBasePath(path, process.env.NEXT_PUBLIC_BASE_PATH)
|
|
}
|