|
| 1 | +import { defineConfig } from 'astro/config'; |
| 2 | +import starlight from '@astrojs/starlight'; |
| 3 | + |
| 4 | +export default defineConfig({ |
| 5 | + site: 'https://devcloudninjas.github.io', |
| 6 | + base: '/DevOps-Projects', |
| 7 | + integrations: [ |
| 8 | + starlight({ |
| 9 | + title: 'DevOps Projects', |
| 10 | + description: |
| 11 | + 'A student-first DevOps learning portal with 54 hands-on projects, guided paths, safety runbooks, and portfolio-ready proof.', |
| 12 | + customCss: ['./src/styles/portal.css'], |
| 13 | + favicon: '/favicon.svg', |
| 14 | + lastUpdated: true, |
| 15 | + pagefind: true, |
| 16 | + social: [ |
| 17 | + { |
| 18 | + icon: 'github', |
| 19 | + label: 'GitHub repository', |
| 20 | + href: 'https://github.com/DevCloudNinjas/DevOps-Projects', |
| 21 | + }, |
| 22 | + ], |
| 23 | + tableOfContents: { |
| 24 | + minHeadingLevel: 2, |
| 25 | + maxHeadingLevel: 3, |
| 26 | + }, |
| 27 | + sidebar: [ |
| 28 | + { label: 'Home', link: '/' }, |
| 29 | + { |
| 30 | + label: 'Start Here', |
| 31 | + items: [ |
| 32 | + { label: 'Catalog Overview', link: '/catalog/' }, |
| 33 | + { label: 'Project Picker', link: '/catalog/project-picker/' }, |
| 34 | + { label: 'Run Safely', link: '/runbooks/' }, |
| 35 | + ], |
| 36 | + }, |
| 37 | + { |
| 38 | + label: 'Projects', |
| 39 | + collapsed: true, |
| 40 | + items: [ |
| 41 | + { label: 'All Projects', link: '/projects/' }, |
| 42 | + { label: 'Project Picker', link: '/catalog/project-picker/' }, |
| 43 | + { label: 'ArgoCD GitOps Home Lab', link: '/projects/50-argocd-gitops-home-lab/' }, |
| 44 | + { label: 'OpenTelemetry Home Lab', link: '/projects/51-opentelemetry-observability-home-lab/' }, |
| 45 | + { label: 'OpenTofu Free-Tier Lab', link: '/projects/52-opentofu-aws-free-tier-lab/' }, |
| 46 | + { label: 'Supply Chain Security Lab', link: '/projects/53-supply-chain-security-lab/' }, |
| 47 | + { label: 'Progressive Delivery Lab', link: '/projects/54-progressive-delivery-home-lab/' }, |
| 48 | + ], |
| 49 | + }, |
| 50 | + { |
| 51 | + label: 'Learning Paths', |
| 52 | + items: [{ autogenerate: { directory: 'learning-paths' } }], |
| 53 | + }, |
| 54 | + { |
| 55 | + label: 'Runbooks', |
| 56 | + collapsed: true, |
| 57 | + items: [ |
| 58 | + { label: 'Student Guide', link: '/runbooks/student-implementation-guide/' }, |
| 59 | + { label: 'Credentials & Cost Safety', link: '/runbooks/credentials-and-cost-safety/' }, |
| 60 | + { label: 'IaC and Kubernetes', link: '/iac-kubernetes-solid-runbook/' }, |
| 61 | + ], |
| 62 | + }, |
| 63 | + { |
| 64 | + label: 'Reference', |
| 65 | + collapsed: true, |
| 66 | + items: [ |
| 67 | + { label: 'Security Baselines', link: '/security-baselines/' }, |
| 68 | + { label: 'Project README Template', link: '/project-readme-template/' }, |
| 69 | + { label: 'Flagship Docs', link: '/flagship/' }, |
| 70 | + { label: 'Community', link: '/community/' }, |
| 71 | + { label: 'Marketing', link: '/marketing/' }, |
| 72 | + ], |
| 73 | + }, |
| 74 | + ], |
| 75 | + }), |
| 76 | + ], |
| 77 | +}); |
0 commit comments