|
| 1 | + |
| 2 | +import { defineConfig } from 'astro/config'; |
| 3 | +import starlight from '@astrojs/starlight'; |
| 4 | + |
| 5 | +export default defineConfig({ |
| 6 | + integrations: [ |
| 7 | + starlight({ |
| 8 | + title: 'macOS Security Compliance Project', |
| 9 | + favicon: '/favicon.png', |
| 10 | + logo: { |
| 11 | + src: './src/assets/logo.png', |
| 12 | + }, |
| 13 | + customCss: [ |
| 14 | + // Path to your custom CSS file |
| 15 | + './src/styles/custom.css', |
| 16 | + ], |
| 17 | +head: [ |
| 18 | + { |
| 19 | + tag: 'link', |
| 20 | + attrs: { |
| 21 | + rel: 'stylesheet', |
| 22 | + href: './nist-combined.css', |
| 23 | + }, |
| 24 | + }, |
| 25 | + { |
| 26 | + tag: 'script', |
| 27 | + attrs: { |
| 28 | + src: './nist-header-footer.js', |
| 29 | + type: 'text/javascript', |
| 30 | + defer: 'defer', |
| 31 | + }, |
| 32 | + }, |
| 33 | + ], |
| 34 | + social: { |
| 35 | + slack: 'https://macadmins.slack.com/archives/C0158JKQTC5', |
| 36 | + github: 'https://github.com/usnistgov/macos_security', |
| 37 | + }, |
| 38 | + sidebar: [ |
| 39 | + { |
| 40 | + label: 'Introduction', |
| 41 | + items: [ |
| 42 | + { label: 'Home', link: '/' }, |
| 43 | + { label: 'Introduction', link: '/guides/introduction/' }, |
| 44 | + { label: 'Getting Started', link: '/guides/getting-started/' }, |
| 45 | + ], |
| 46 | + }, |
| 47 | + { |
| 48 | + label: 'How To', |
| 49 | + collapsed: false, |
| 50 | + items: [ |
| 51 | + { label: 'Generate a Baseline', link: '/guides/how-to/generate-baseline/' }, |
| 52 | + { label: 'Tailoring', link: '/guides/how-to/tailoring/' }, |
| 53 | + { label: 'Generate Guidance', link: '/guides/how-to/generate-guidance/' }, |
| 54 | + { label: 'Generate Configuration Profiles', link: '/guides/how-to/generate-profiles/' }, |
| 55 | + { label: 'Generate DDM Components', link: '/guides/how-to/generate-declarative/' }, |
| 56 | + { label: 'Compliance Script', link: '/guides/how-to/compliance-script/' }, |
| 57 | + { label: 'Exemptions', link: '/guides/how-to/exemptions/' }, |
| 58 | + { label: 'Customization', link: '/guides/how-to/customization/' }, |
| 59 | + { label: 'Generate Mapping', link: '/guides/how-to/generate-mapping/' }, |
| 60 | + { label: 'Generate SCAP', link: '/guides/how-to/generate-scap/' }, |
| 61 | + ], |
| 62 | + }, |
| 63 | + { |
| 64 | + label: 'Repository', |
| 65 | + collapsed: true, |
| 66 | + items: [ |
| 67 | + { label: 'Layout', link: '/reference/layout/' }, |
| 68 | + { label: 'Baselines', link: '/reference/baselines/' }, |
| 69 | + { label: 'Includes', link: '/reference/includes/' }, |
| 70 | + { label: 'Rules', link: '/reference/rules/' }, |
| 71 | + { label: 'Sections', link: '/reference/sections/' }, |
| 72 | + { label: 'Scripts', link: '/reference/scripts/' }, |
| 73 | + ], |
| 74 | + }, |
| 75 | + { |
| 76 | + label: 'More Information', |
| 77 | + collapsed: true, |
| 78 | + items: [ |
| 79 | + { label: 'mSCP Resources', link: '/reference/more/resources/' }, |
| 80 | + { label: 'Contributing', link: '/reference/more/contributing/' }, |
| 81 | + { label: 'Vendor Attribution', link: '/reference/more/vendor-attribution/' }, |
| 82 | + { label: 'FAQ', link: '/reference/more/faq/' }, |
| 83 | + ], |
| 84 | + }, |
| 85 | + ], |
| 86 | + }), |
| 87 | + ], |
| 88 | +}); |
0 commit comments