docs/astro.config.mjs

114 lines
3.4 KiB
JavaScript
Raw Normal View History

2024-03-17 03:25:35 +01:00
import { defineConfig } from 'astro/config';
import starlight from '@astrojs/starlight';
// https://astro.build/config
export default defineConfig({
2024-03-17 04:15:56 +01:00
site: 'https://docs.web3privacy.info',
2024-03-17 03:25:35 +01:00
integrations: [
starlight({
title: 'Web3Privacy Now Docs',
social: {
github: 'https://github.com/web3privacy',
twitter: 'https://twitter.com/web3privacy',
},
logo: {
2024-03-17 06:26:56 +01:00
src: './public/logo.png',
2024-03-17 03:25:35 +01:00
replacesTitle: true
},
2024-03-17 05:41:28 +01:00
editLink: {
baseUrl: 'https://github.com/web3privacy/docs/tree/main/',
},
lastUpdated: true,
favicon: '/favicon.ico',
2024-03-17 04:15:56 +01:00
customCss: [
'./src/styles/custom.css'
],
2024-03-17 03:25:35 +01:00
sidebar: [
{ label: 'Introduction', link: '/' },
{
2024-03-17 05:41:28 +01:00
label: 'About us',
2024-03-17 03:25:35 +01:00
items: [
// Each item here is one entry in the navigation menu.
{ label: 'Manifesto', link: '/manifesto' },
{ label: 'Roadmap', link: '/roadmap' },
{ label: 'History', link: '/history' },
{ label: 'Brand', link: '/brand' },
{ label: 'Contact us', link: '/contacts' },
],
},
{
2024-03-17 05:45:00 +01:00
label: '🔬 Research',
collapsed: true,
autogenerate: { directory: 'research' },
},
{
2024-07-18 20:20:56 +02:00
label: '🗓️ Events',
2024-03-17 05:45:00 +01:00
collapsed: true,
autogenerate: { directory: 'events' },
},
{
2024-07-18 20:20:56 +02:00
label: '🏗️ Projects',
2024-03-17 03:25:35 +01:00
items: [
// Each item here is one entry in the navigation menu.
2024-07-19 19:22:08 +02:00
{ label: 'Privacy Explorer 👁️', link: '/projects/privacy-explorer' },
{ label: 'Week in the Privacy 📰', link: '/news/week-in-the-privacy' },
{ label: 'Privacy Tech Awards 🏆', link: '/projects/privacy-tech-awards' },
{ label: 'Privacy Academy 👩‍🏫', link: '/projects/privacy-academy' },
2024-03-17 03:25:35 +01:00
],
},
{
label: 'Community',
items: [
{ label: 'Follow us', link: '/follow-us' },
{ label: 'Get involved', link: '/get-involved' },
2024-03-17 23:26:59 +01:00
{ label: 'Donate', link: '/donate' },
2024-03-17 03:25:35 +01:00
{
label: 'Membership',
link: '/membership',
items: [
{ label: 'Personal benefits', link: '/membership/personal-benefits' }
]
},
2024-03-17 23:26:59 +01:00
{ label: 'Communication tools', link: '/communication' },
2024-03-17 03:25:35 +01:00
{ label: 'Code of conduct', link: '/code-of-conduct' },
]
},
2024-03-17 05:41:28 +01:00
{
2024-03-17 23:26:59 +01:00
label: 'For contributors',
2024-03-17 05:41:28 +01:00
items: [
2024-03-17 23:26:59 +01:00
{ label: 'Contributors guide', link: '/contributors' },
{ label: 'Workgroups', link: '/workgroups' },
2024-03-17 05:41:28 +01:00
{ label: 'Git repositories', link: '/git' },
2024-03-17 23:26:59 +01:00
]
},
{
label: 'Shared resources',
collapsed: true,
badge: { text: 'wip' },
items: [
{ label: 'Developers', link: '/resources/developers' },
{ label: 'Community outreach', link: '/resources/outreach' },
{ label: 'Funding', link: '/resources/funding' },
{ label: 'Design', link: '/resources/design' },
{ label: 'IT Infrastructure', link: '/resources/it-infrastructure' },
{ label: 'Partners', link: '/resources/partners' },
{ label: 'Training and Education', link: '/resources/training-education' },
{ label: 'Legal assistance', link: '/resources/legal-assistance' },
2024-03-17 05:41:28 +01:00
]
},
2024-03-17 03:25:35 +01:00
{
label: 'Governance',
items: [
2024-03-17 06:17:06 +01:00
{ label: 'Governance structure', link: '/governance' },
2024-03-17 03:25:35 +01:00
{ label: 'Congress', link: '/congress' },
{ label: 'Core Team', link: '/core-team' },
{ label: 'Association', link: '/association' },
2024-03-17 23:26:59 +01:00
{ label: 'Treasury', link: '/treasury' },
2024-07-19 19:52:20 +02:00
{ label: 'Core Contributors', link: '/core-contributors' },
2024-03-17 03:25:35 +01:00
]
}
],
}),
],
});