docs/astro.config.mjs

117 lines
3.9 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.
2024-08-14 21:33:27 +02:00
{ label: 'Manifesto', link: '/about-us/manifesto' },
{ label: 'Roadmap', link: '/about-us/roadmap' },
{ label: 'History', link: '/about-us/history' },
{ label: 'Brand', link: '/about-us/brand' },
{ label: 'Contact us', link: '/about-us/contact-us' },
2024-08-15 10:31:18 +02:00
{ label: 'Follow us', link: '/ecosystem/follow-us' },
2024-03-17 03:25:35 +01:00
],
},
{
2024-08-15 10:31:18 +02:00
label: 'Research',
2024-03-17 05:45:00 +01:00
collapsed: true,
autogenerate: { directory: 'research' },
},
{
2024-08-15 10:31:18 +02:00
label: 'Events',
2024-03-17 05:45:00 +01:00
collapsed: true,
autogenerate: { directory: 'events' },
},
{
2024-08-15 10:31:18 +02:00
label: 'Projects',
2024-03-17 03:25:35 +01:00
items: [
2024-08-14 23:12:18 +02:00
// 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-08-15 10:31:18 +02:00
{ label: 'Hackathon Use Cases Generator ✨', link: '/projects/hackathon-use-cases-generator' },
{ label: 'Women in Privacy 💃', link: '/projects/women-in-privacy' },
2024-03-17 03:25:35 +01:00
],
},
2024-08-14 21:33:27 +02:00
{
label: 'Get Involved',
items: [
// Each item here is one entry in the navigation menu.
{ label: 'Introduction', link: '/get-involved/index' },
2024-08-15 10:31:18 +02:00
{ label: 'Ecosystem', link: '/get-involved/partnership' },
{ label: 'Membership Organisations', link: '/get-involved/org-benefits' },
{ label: 'Membership Indivisuals', link: '/get-involved/personal-benefits' },
2024-08-14 21:33:27 +02:00
{ label: 'Donate', link: '/get-involved/donate' },
],
},
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-08-14 21:33:27 +02:00
{ label: 'Contributors guide', link: '/contributors/index' },
{ label: 'Workgroups', link: '/contributors/workgroups' },
{ label: 'Git repositories', link: '/contributors/git' },
{ label: 'Guide: how to deploy event website', link: '/contributors/deploy-event-website' },
2024-08-15 10:31:18 +02:00
{ label: 'Code of conduct', link: '/ecosystem/code-of-conduct' },
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-08-14 21:33:27 +02:00
{ label: 'Structure', link: '/governance/governance' },
{ label: 'Core Team', link: '/governance/core-team' },
{ label: 'Core Contributors', link: '/governance/core-contributors' },
2024-08-15 10:31:18 +02:00
{ label: 'Communication tools', link: '/ecosystem/communication' },
2024-08-14 21:33:27 +02:00
{ label: 'Treasury', link: '/governance/treasury' },
2024-03-17 03:25:35 +01:00
]
2024-08-14 21:33:27 +02:00
},
{
label: 'News',
collapsed: true,
autogenerate: { directory: 'news' },
},
2024-03-17 03:25:35 +01:00
],
}),
],
});