docs: add company page
This commit is contained in:
parent
9698acb21f
commit
2e636d8fd6
@ -2,5 +2,5 @@
|
||||
sidebar_position: 1
|
||||
---
|
||||
|
||||
# Overview
|
||||
# Changelog
|
||||
TODO
|
||||
6
docs/docs/company/README.md
Normal file
6
docs/docs/company/README.md
Normal file
@ -0,0 +1,6 @@
|
||||
---
|
||||
sidebar_position: 1
|
||||
---
|
||||
|
||||
# Company Handbook
|
||||
TODO
|
||||
@ -2,5 +2,5 @@
|
||||
sidebar_position: 1
|
||||
---
|
||||
|
||||
# Overview
|
||||
# Developer
|
||||
TODO
|
||||
@ -3,5 +3,5 @@ sidebar_position: 1
|
||||
slug: /
|
||||
---
|
||||
|
||||
# Welcome
|
||||
# Getting Started
|
||||
Hi there
|
||||
@ -2,5 +2,5 @@
|
||||
sidebar_position: 1
|
||||
---
|
||||
|
||||
# Overview
|
||||
# Guides
|
||||
TODO
|
||||
@ -2,5 +2,5 @@
|
||||
sidebar_position: 1
|
||||
---
|
||||
|
||||
# Overview
|
||||
# Reference
|
||||
TODO
|
||||
@ -76,7 +76,7 @@ const config = {
|
||||
type: 'docSidebar',
|
||||
sidebarId: 'quickstartSidebar',
|
||||
position: 'left',
|
||||
label: 'Quickstart',
|
||||
label: 'Getting Started',
|
||||
},
|
||||
{
|
||||
type: 'docSidebar',
|
||||
@ -102,6 +102,12 @@ const config = {
|
||||
position: 'left',
|
||||
label: 'Changelog',
|
||||
},
|
||||
{
|
||||
type: 'docSidebar',
|
||||
sidebarId: 'companySidebar',
|
||||
position: 'right',
|
||||
label: 'Company',
|
||||
},
|
||||
// Navbar right
|
||||
{
|
||||
href: 'https://github.com/janhq/jan/docs',
|
||||
@ -114,41 +120,57 @@ const config = {
|
||||
style: 'dark',
|
||||
links: [
|
||||
{
|
||||
title: 'Quickstart',
|
||||
title: 'Documentation',
|
||||
items: [
|
||||
{
|
||||
label: 'Quickstart',
|
||||
to: '/quickstart/overview',
|
||||
label: 'Getting Started',
|
||||
to: '/',
|
||||
},
|
||||
{
|
||||
label: 'Guides',
|
||||
to: '/guides',
|
||||
},
|
||||
{
|
||||
label: 'Developer',
|
||||
to: '/developer',
|
||||
},
|
||||
{
|
||||
label: 'Reference',
|
||||
to: '/reference',
|
||||
},
|
||||
{
|
||||
label: 'Changelog',
|
||||
to: '/changelog',
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
title: 'Community',
|
||||
items: [
|
||||
{
|
||||
label: 'Stack Overflow',
|
||||
href: 'https://stackoverflow.com/questions/tagged/docusaurus',
|
||||
},
|
||||
{
|
||||
label: 'Discord',
|
||||
href: 'https://discordapp.com/invite/docusaurus',
|
||||
href: 'https://discord.gg/FTk2MvZwJH',
|
||||
},
|
||||
{
|
||||
label: 'Twitter',
|
||||
href: 'https://twitter.com/docusaurus',
|
||||
href: 'https://twitter.com/askjanai',
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
title: 'More',
|
||||
items: [
|
||||
{
|
||||
label: 'Company',
|
||||
to: '/company',
|
||||
},
|
||||
{
|
||||
label: 'Blog',
|
||||
to: '/blog',
|
||||
href: 'https://blog.jan.ai',
|
||||
},
|
||||
{
|
||||
label: 'GitHub',
|
||||
href: 'https://github.com/facebook/docusaurus',
|
||||
href: 'https://github.com/janhq/jan',
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
@ -15,12 +15,13 @@
|
||||
const sidebars = {
|
||||
// By default, Docusaurus generates a sidebar from the docs folder structure
|
||||
quickstartSidebar: [{
|
||||
type: 'autogenerated', dirName: 'quickstart',
|
||||
type: 'autogenerated', dirName: 'getting-started',
|
||||
}],
|
||||
guidesSidebar: [{ type: 'autogenerated', dirName: 'guides' }],
|
||||
developerSidebar: [{ type: 'autogenerated', dirName: 'developer' }],
|
||||
referenceSidebar: [{ type: 'autogenerated', dirName: 'reference' }],
|
||||
changelogSidebar: [{ type: 'autogenerated', dirName: 'changelog' }],
|
||||
companySidebar: [{ type: 'autogenerated', dirName: 'company' }],
|
||||
|
||||
// But you can create a sidebar manually
|
||||
/*
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user