mirror of
https://github.com/netbirdio/docs.git
synced 2026-04-24 19:36:36 +00:00
Move docs to root
This commit is contained in:
@@ -17,54 +17,54 @@ const navigation = [
|
||||
title: 'Introduction',
|
||||
links: [
|
||||
{ title: 'Getting started', href: '/' },
|
||||
{ title: 'Installation', href: '/docs/installation' },
|
||||
{ title: 'Installation', href: '/installation' },
|
||||
],
|
||||
},
|
||||
{
|
||||
title: 'Core concepts',
|
||||
links: [
|
||||
{ title: 'Understanding caching', href: '/docs/understanding-caching' },
|
||||
{ title: 'Understanding caching', href: '/understanding-caching' },
|
||||
{
|
||||
title: 'Predicting user behavior',
|
||||
href: '/docs/predicting-user-behavior',
|
||||
href: '/predicting-user-behavior',
|
||||
},
|
||||
{ title: 'Basics of time-travel', href: '/docs/basics-of-time-travel' },
|
||||
{ title: 'Basics of time-travel', href: '/basics-of-time-travel' },
|
||||
{
|
||||
title: 'Introduction to string theory',
|
||||
href: '/docs/introduction-to-string-theory',
|
||||
href: '/introduction-to-string-theory',
|
||||
},
|
||||
{ title: 'The butterfly effect', href: '/docs/the-butterfly-effect' },
|
||||
{ title: 'The butterfly effect', href: '/the-butterfly-effect' },
|
||||
],
|
||||
},
|
||||
{
|
||||
title: 'Advanced guides',
|
||||
links: [
|
||||
{ title: 'Writing plugins', href: '/docs/writing-plugins' },
|
||||
{ title: 'Neuralink integration', href: '/docs/neuralink-integration' },
|
||||
{ title: 'Temporal paradoxes', href: '/docs/temporal-paradoxes' },
|
||||
{ title: 'Testing', href: '/docs/testing' },
|
||||
{ title: 'Compile-time caching', href: '/docs/compile-time-caching' },
|
||||
{ title: 'Writing plugins', href: '/writing-plugins' },
|
||||
{ title: 'Neuralink integration', href: '/neuralink-integration' },
|
||||
{ title: 'Temporal paradoxes', href: '/temporal-paradoxes' },
|
||||
{ title: 'Testing', href: '/testing' },
|
||||
{ title: 'Compile-time caching', href: '/compile-time-caching' },
|
||||
{
|
||||
title: 'Predictive data generation',
|
||||
href: '/docs/predictive-data-generation',
|
||||
href: '/predictive-data-generation',
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
title: 'API reference',
|
||||
links: [
|
||||
{ title: 'CacheAdvance.predict()', href: '/docs/cacheadvance-predict' },
|
||||
{ title: 'CacheAdvance.flush()', href: '/docs/cacheadvance-flush' },
|
||||
{ title: 'CacheAdvance.revert()', href: '/docs/cacheadvance-revert' },
|
||||
{ title: 'CacheAdvance.regret()', href: '/docs/cacheadvance-regret' },
|
||||
{ title: 'CacheAdvance.predict()', href: '/cacheadvance-predict' },
|
||||
{ title: 'CacheAdvance.flush()', href: '/cacheadvance-flush' },
|
||||
{ title: 'CacheAdvance.revert()', href: '/cacheadvance-revert' },
|
||||
{ title: 'CacheAdvance.regret()', href: '/cacheadvance-regret' },
|
||||
],
|
||||
},
|
||||
{
|
||||
title: 'Contributing',
|
||||
links: [
|
||||
{ title: 'How to contribute', href: '/docs/how-to-contribute' },
|
||||
{ title: 'Architecture guide', href: '/docs/architecture-guide' },
|
||||
{ title: 'Design principles', href: '/docs/design-principles' },
|
||||
{ title: 'How to contribute', href: '/how-to-contribute' },
|
||||
{ title: 'Architecture guide', href: '/architecture-guide' },
|
||||
{ title: 'Design principles', href: '/design-principles' },
|
||||
],
|
||||
},
|
||||
]
|
||||
@@ -159,7 +159,7 @@ export function Layout({ children, title, tableOfContents }) {
|
||||
</div>
|
||||
<Header />
|
||||
{router.route.startsWith("/ipa") && <NavigationAPI className="hidden lg:mt-10 lg:block" tableOfContents={tableOfContents} />}
|
||||
{router.route.startsWith("/docs") && <NavigationDocs className="hidden lg:mt-10 lg:block" />}
|
||||
{!router.route.startsWith("/ipa") && <NavigationDocs className="hidden lg:mt-10 lg:block" />}
|
||||
</div>
|
||||
</motion.header>
|
||||
<div className="min-w-0 max-w-2xl flex-auto px-4 py-16 lg:max-w-none lg:pl-8 lg:pr-0 xl:px-5">
|
||||
|
||||
Reference in New Issue
Block a user