import {themes as prismThemes} from 'prism-react-renderer';
const config = {
title: 'LLM Client (lc)',
tagline: 'A fast, Rust-based CLI for interacting with Large Language Models',
favicon: 'img/favicon.ico',
url: 'https://lc.viwq.dev',
baseUrl: '/',
organizationName: 'rajashekar', projectName: 'lc',
onBrokenLinks: 'warn',
onBrokenMarkdownLinks: 'warn',
i18n: {
defaultLocale: 'en',
locales: ['en'],
},
presets: [
[
'classic',
({
docs: {
sidebarPath: './sidebars.js',
routeBasePath: '/', editUrl:
'https://github.com/rajashekar/lc/tree/main/docs-site/',
},
blog: false, theme: {
customCss: './src/css/custom.css',
},
}),
],
],
themeConfig:
({
image: 'img/logo.jpeg',
navbar: {
title: 'LLM Client',
logo: {
alt: 'LLM Client Logo',
src: 'img/logo.svg',
srcDark: 'img/logo.svg', width: 32,
height: 32,
},
items: [
{
type: 'docSidebar',
sidebarId: 'tutorialSidebar',
position: 'left',
label: 'Documentation',
},
{
href: 'https://github.com/rajashekar/lc',
label: 'GitHub',
position: 'right',
},
],
},
footer: {
style: 'dark',
links: [
{
title: 'Docs',
items: [
{
label: 'Quick Start',
to: '/getting-started/quick-start',
},
{
label: 'Installation',
to: '/getting-started/installation',
},
],
},
{
title: 'Community',
items: [
{
label: 'GitHub',
href: 'https://github.com/rajashekar/lc',
},
{
label: 'Issues',
href: 'https://github.com/rajashekar/lc/issues',
},
],
},
{
title: 'More',
items: [
{
label: 'Changelog',
href: 'https://github.com/rajashekar/lc/releases',
},
],
},
],
copyright: `Copyright © ${new Date().getFullYear()} LLM Client. Built with Docusaurus.`,
},
prism: {
theme: prismThemes.github,
darkTheme: prismThemes.dracula,
additionalLanguages: ['bash', 'rust', 'toml', 'json'],
},
algolia: {
appId: 'YOUR_APP_ID',
apiKey: 'YOUR_SEARCH_API_KEY',
indexName: 'lc-docs',
contextualSearch: true,
},
}),
};
export default config;