From c82d34b659266a538cc82fb32832937be0de371d Mon Sep 17 00:00:00 2001 From: Debanjum Singh Solanky Date: Mon, 8 Jan 2024 01:07:47 +0530 Subject: [PATCH] Add Docs footer, nav pane links. Fix tagline, Remove announcement topbar --- documentation/docusaurus.config.js | 62 ++++++++++++++++++++---------- 1 file changed, 42 insertions(+), 20 deletions(-) diff --git a/documentation/docusaurus.config.js b/documentation/docusaurus.config.js index 88308d84..b808c332 100644 --- a/documentation/docusaurus.config.js +++ b/documentation/docusaurus.config.js @@ -9,7 +9,7 @@ import {themes as prismThemes} from 'prism-react-renderer'; /** @type {import('@docusaurus/types').Config} */ const config = { title: 'Khoj AI', - tagline: 'Merge AI with your brain.', + tagline: 'An AI copilot for your Second Brain', staticDirectories: ['assets'], @@ -67,12 +67,7 @@ const config = { themeConfig: /** @type {import('@docusaurus/preset-classic').ThemeConfig} */ ({ - // Replace with your project's social card image: 'img/khoj-logo-sideways-500.png', - announcementBar: { - backgroundColor: '#fcc50b', - content: "Give us a star on GitHub!" - }, metadata: [ {name: 'keywords', content: 'khoj, khoj ai, chatgpt, open ai, open source, productivity'}, {name: 'og:title', content: 'Khoj Documentation'}, @@ -90,16 +85,19 @@ const config = { src: 'img/favicon-128x128.ico', }, items: [ - { - type: 'docSidebar', - position: 'left', - label: 'Docs', - sidebarId: 'tutorialSidebar', - }, - // {to: '/blog', label: 'Blog', position: 'left'}, { href: 'https://github.com/khoj-ai/khoj', - label: 'Khoj', + label: '📜 Code', + position: 'right', + }, + { + href: 'https://app.khoj.dev/login', + label: '🌍 Cloud', + position: 'right', + }, + { + href: 'https://discord.gg/BDgyabRM6e', + label: '💬 Discord', position: 'right', }, ], @@ -114,6 +112,22 @@ const config = { label: 'Get Started', to: '/', }, + { + label: 'Features', + to: '/features/all_features', + }, + { + label: 'Client Apps', + to: '/category/clients', + }, + { + label: 'Self-Hosting', + to: '/get-started/setup', + }, + { + label: 'Contributing', + to: '/contributing/development', + }, ], }, { @@ -123,14 +137,14 @@ const config = { label: 'Discord', href: 'https://discord.gg/BDgyabRM6e', }, - { - label: 'Twitter', - href: 'https://twitter.com/sabaimran_go', - }, { label: 'LinkedIn', href: 'https://www.linkedin.com/company/khoj-ai/' - } + }, + { + label: 'Twitter', + href: 'https://twitter.com/khoj_ai', + }, ], }, { @@ -141,9 +155,17 @@ const config = { // to: '/blog', // }, { - label: 'GitHub', + label: 'Cloud', + href: 'https://app.khoj.dev/login', + }, + { + label: 'Code', href: 'https://github.com/khoj-ai/khoj', }, + { + label: 'Website', + href: 'https://khoj.dev', + }, ], }, ],