docs: redesign table of content (#12647)
* implement toc * added to projects * fixes and adapt for references * added product frontmatter * remove action menu from 404 pages
This commit is contained in:
1 parent
490bd7647f
commit
009d00f27d
293 files changed
+1975
-506
No files matched your search
@@ -1,5 +1,6 @@
|
||||
import { DocsConfig } from "types"
|
||||
import { globalConfig } from "docs-ui"
|
||||
import { basePathUrl } from "../utils/base-path-url"
|
||||
|
||||
const baseUrl = process.env.NEXT_PUBLIC_BASE_URL || "http://localhost:3000"
|
||||
|
||||
@@ -22,4 +23,11 @@ export const config: DocsConfig = {
|
||||
],
|
||||
},
|
||||
logo: `${process.env.NEXT_PUBLIC_BASE_PATH}/images/logo.png`,
|
||||
version: {
|
||||
...globalConfig.version,
|
||||
bannerImage: {
|
||||
light: basePathUrl("/images/get-started-card.png"),
|
||||
dark: basePathUrl("/images/get-started-card-dark.png"),
|
||||
},
|
||||
},
|
||||
}
|
||||
Reference in new issue
Block a user