docs: update api-reference project for v2 (#7307)
* remove everything v1 and make v2 default * move main v2 rewrites to book * move rewrites to book + other fixes
This commit is contained in:
5
www/apps/api-reference/utils/base-path-url.ts
Normal file
5
www/apps/api-reference/utils/base-path-url.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
import { getLinkWithBasePath } from "docs-ui"
|
||||
|
||||
export default function basePathUrl(path: string) {
|
||||
return getLinkWithBasePath(path, process.env.NEXT_PUBLIC_BASE_PATH)
|
||||
}
|
||||
Reference in New Issue
Block a user