...
This commit is contained in:
		
							
								
								
									
										26
									
								
								navigation/footer.ts
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										26
									
								
								navigation/footer.ts
									
									
									
									
									
										Normal 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
									
								
							
							
						
						
									
										35
									
								
								navigation/navbar.ts
									
									
									
									
									
										Normal 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
									
								
							
							
						
						
									
										37
									
								
								navigation/sidebars.ts
									
									
									
									
									
										Normal 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; | ||||
		Reference in New Issue
	
	Block a user