From a97b74d9048d0cf99b38a1df5c6cb4b4a746b44b Mon Sep 17 00:00:00 2001 From: jonaslagoni Date: Sat, 1 Aug 2026 16:16:02 +0200 Subject: [PATCH] update footer --- website/docusaurus.config.ts | 105 ++++++++++++++++++++++++++++++++--- 1 file changed, 97 insertions(+), 8 deletions(-) diff --git a/website/docusaurus.config.ts b/website/docusaurus.config.ts index 1b4c0151..b8ec5590 100644 --- a/website/docusaurus.config.ts +++ b/website/docusaurus.config.ts @@ -201,31 +201,120 @@ const config: Config = { }, footer: { style: 'dark', + logo: { + alt: 'The Codegen Project Logo', + src: 'assets/images/logo.jpg', + href: '/', + width: 48, + height: 48, + }, links: [ { - title: 'Resources', + title: 'Docs', items: [ { - label: 'Docs', - to: '/docs', + label: 'Getting started', + to: '/docs/getting-started', }, { - label: 'Blog', - to: '/blog', + label: 'Generators', + to: '/docs/generators', + }, + { + label: 'Inputs', + to: '/docs/inputs', + }, + { + label: 'Protocols', + to: '/docs/protocols', + }, + { + label: 'Configuration', + to: '/docs/configurations', }, ], }, { - title: 'More', + title: 'Reference', + items: [ + { + label: 'CLI commands', + to: '/docs/usage', + }, + { + label: 'API reference', + to: '/docs/api', + }, + { + label: 'Integrations', + // The integrations category has no `slug` in its `_category_.json`, + // so its generated index lives under /docs/category/. + to: '/docs/category/integrations', + }, + { + label: 'AI assistants & MCP', + to: '/docs/ai-assistants', + }, + { + label: 'Migrations', + to: '/docs/migrations', + }, + ], + }, + { + title: 'Community', items: [ { label: 'GitHub', - href: 'https://github.com/the-codegen-project', + href: 'https://github.com/the-codegen-project/cli', + }, + { + label: 'Discussions', + href: 'https://github.com/the-codegen-project/cli/discussions', + }, + { + label: 'Report an issue', + href: 'https://github.com/the-codegen-project/cli/issues', + }, + { + label: 'Contributing', + to: '/docs/contributing', + }, + { + label: 'Code of Conduct', + href: 'https://github.com/the-codegen-project/cli/blob/main/CODE_OF_CONDUCT.md', + }, + ], + }, + { + title: 'More', + items: [ + { + label: 'Playground', + to: '/playground', + }, + { + label: 'Blog', + to: '/blog', + }, + { + label: 'RSS', + // The feed is a build artifact rather than a route, so it has to be + // prefixed with `pathname://` to skip the broken-link check. + href: 'pathname:///blog/rss.xml', + }, + { + label: 'npm package', + href: 'https://www.npmjs.com/package/@the-codegen-project/cli', + }, + { + label: 'Security policy', + href: 'https://github.com/the-codegen-project/cli/security/policy', }, ], }, ], - copyright: `Copyright © ${new Date().getFullYear()} The Codegen Project Community`, + copyright: `Copyright © ${new Date().getFullYear()} The Codegen Project Community. Apache-2.0 licensed. Telemetry is documented here.`, }, prism: { theme: prismThemes.github,