This commit is contained in:
2025-01-01 22:50:11 +01:00
parent df8e1066b5
commit 6be65fc7d6
146 changed files with 19487 additions and 1 deletions

26
navigation/footer.ts Normal file
View File

@@ -0,0 +1,26 @@
import type { ThemeConfig } from '@docusaurus/preset-classic';
export const footer: ThemeConfig['footer'] = {
style: 'dark',
links: [
{
title: 'Veda Nile',
items: [
{
label: 'Introduction',
to: '/intro',
},
],
},
{
title: 'Website',
items: [
{
label: 'Why',
to: 'https://www.veda-egypt.com/',
},
],
},
],
copyright: `Copyright © ${new Date().getFullYear()} Veda Egypt`,
};

35
navigation/navbar.ts Normal file
View File

@@ -0,0 +1,35 @@
import type { ThemeConfig } from '@docusaurus/preset-classic';
export const navbar: ThemeConfig['navbar'] = {
title: '',
logo: {
alt: 'Logo',
src: 'img/logo.svg',
srcDark: 'img/logo.svg', // Use same logo for dark mode
},
items: [
{
type: 'docSidebar',
sidebarId: 'autogenSidebar',
position: 'left',
label: 'Veda',
},
{
type: 'docSidebar',
sidebarId: 'appendixSidebar',
position: 'left',
label: 'More Info',
},
// {
// to: '/blog',
// label: 'Blog',
// position: 'left',
// },
// {
// type: 'docSidebar',
// sidebarId: 'tutorialSidebar',
// position: 'left',
// label: 'Tutorial',
// }
],
};

37
navigation/sidebars.ts Normal file
View File

@@ -0,0 +1,37 @@
import type {SidebarsConfig} from '@docusaurus/plugin-content-docs';
/**
* Creating a sidebar enables you to:
- create an ordered group of docs
- render a sidebar for each doc of that group
- provide next/previous navigation
The sidebars can be generated from the filesystem, or explicitly defined here.
Create as many sidebars as you want.
*/
const sidebars: SidebarsConfig = {
// By default, Docusaurus generates a sidebar from the docs folder structure
autogenSidebar: [
{
type: 'autogenerated',
dirName: 'main'
}
],
appendixSidebar: [
{
type: 'autogenerated',
dirName: 'appendix'
}
],
// tutorialSidebar: [
// 'intro',
// {
// type: 'category',
// label: 'Tutorial',
// items: ['intro'],
// },
// ],
};
export default sidebars;