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