Add Docs footer, nav pane links. Fix tagline, Remove announcement topbar

This commit is contained in:
Debanjum Singh Solanky 2024-01-08 01:07:47 +05:30
parent d920e4d0a7
commit c82d34b659

View file

@ -9,7 +9,7 @@ import {themes as prismThemes} from 'prism-react-renderer';
/** @type {import('@docusaurus/types').Config} */ /** @type {import('@docusaurus/types').Config} */
const config = { const config = {
title: 'Khoj AI', title: 'Khoj AI',
tagline: 'Merge AI with your brain.', tagline: 'An AI copilot for your Second Brain',
staticDirectories: ['assets'], staticDirectories: ['assets'],
@ -67,12 +67,7 @@ const config = {
themeConfig: themeConfig:
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */ /** @type {import('@docusaurus/preset-classic').ThemeConfig} */
({ ({
// Replace with your project's social card
image: 'img/khoj-logo-sideways-500.png', image: 'img/khoj-logo-sideways-500.png',
announcementBar: {
backgroundColor: '#fcc50b',
content: "Give us a star on <a target='_blank' rel='noopener noreferrer' href='https://github.com/khoj-ai/khoj'>GitHub</a>!"
},
metadata: [ metadata: [
{name: 'keywords', content: 'khoj, khoj ai, chatgpt, open ai, open source, productivity'}, {name: 'keywords', content: 'khoj, khoj ai, chatgpt, open ai, open source, productivity'},
{name: 'og:title', content: 'Khoj Documentation'}, {name: 'og:title', content: 'Khoj Documentation'},
@ -90,16 +85,19 @@ const config = {
src: 'img/favicon-128x128.ico', src: 'img/favicon-128x128.ico',
}, },
items: [ items: [
{
type: 'docSidebar',
position: 'left',
label: 'Docs',
sidebarId: 'tutorialSidebar',
},
// {to: '/blog', label: 'Blog', position: 'left'},
{ {
href: 'https://github.com/khoj-ai/khoj', 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', position: 'right',
}, },
], ],
@ -114,6 +112,22 @@ const config = {
label: 'Get Started', label: 'Get Started',
to: '/', 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', label: 'Discord',
href: 'https://discord.gg/BDgyabRM6e', href: 'https://discord.gg/BDgyabRM6e',
}, },
{
label: 'Twitter',
href: 'https://twitter.com/sabaimran_go',
},
{ {
label: 'LinkedIn', label: 'LinkedIn',
href: 'https://www.linkedin.com/company/khoj-ai/' href: 'https://www.linkedin.com/company/khoj-ai/'
} },
{
label: 'Twitter',
href: 'https://twitter.com/khoj_ai',
},
], ],
}, },
{ {
@ -141,9 +155,17 @@ const config = {
// to: '/blog', // to: '/blog',
// }, // },
{ {
label: 'GitHub', label: 'Cloud',
href: 'https://app.khoj.dev/login',
},
{
label: 'Code',
href: 'https://github.com/khoj-ai/khoj', href: 'https://github.com/khoj-ai/khoj',
}, },
{
label: 'Website',
href: 'https://khoj.dev',
},
], ],
}, },
], ],