docs: change configurations to make v2 the main docs (#9729)
* docs: change configurations to make v2 the main docs * move api routes to top level * remove api prefix * update opengraph images * show v1 link * add redirect to v1
This commit is contained in:
1 parent
471f7e4a10
commit
88f2d17a24
40 files changed
+115
-128
No files matched your search
Binary file not shown.
|
After Width: | Height: | Size: 161 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 161 KiB |
@@ -34,7 +34,7 @@ const withMDX = mdx({
|
||||
},
|
||||
api: {
|
||||
url: process.env.NEXT_PUBLIC_API_URL,
|
||||
path: "v2/api",
|
||||
path: "api",
|
||||
},
|
||||
},
|
||||
useBaseUrl:
|
||||
@@ -82,7 +82,7 @@ const nextConfig = {
|
||||
|
||||
transpilePackages: ["docs-ui"],
|
||||
// TODO uncomment if we decide on baes path
|
||||
basePath: process.env.NEXT_PUBLIC_BASE_PATH || "/v2/user-guide",
|
||||
basePath: process.env.NEXT_PUBLIC_BASE_PATH || "/user-guide",
|
||||
}
|
||||
|
||||
export default withMDX(nextConfig)
|
||||
Reference in new issue
Block a user