Federation (#327)
* initial commit federation * more federation * more federation * more federation * completes follow, accept, undo * add trail create activity * process trail create activity * more trail create activity * adds missing endpoints * adds update and delete activity * adds comment activities * adds activities back * adds summit logs activities * deletes follow counts table * fixes migrations * fixes migrations * fixes migrations * fixes migrations * adds remote profiles * ctd * ctd * we are getting closer... * adds public summit logs * fixes federated trails in lists * adds remote lists * adds list activites * fixes lists * adds notifications * adds iri redirect * fixes comments and summitlogs * fixes follows and profiles * adds asynchronous send * fixes list search * adds encryption key * bug fixes * fixes activity signing * removes custon activity object types * adds html editor * fixes html editor * fixes display issues on mastodon * adds federated sharing * finishes announcements * fixes small summit log issues * adds trail likes * finalizes likes * fixes images for komoot * add disable federation option * adds private profiles * updates docs * adds federated comments * adds trail and comments actvitiypub routes * adds mentions to editor * adds mentions to trails, comments, summit logs * updates theme * updates theme * update docs * update docs * updates docs * fixes various frontend problems * fixes activitypub follows api * updates docs * updates docs --------- Co-authored-by: Christian Beutel <>
This commit is contained in:
@@ -1,95 +1,132 @@
|
||||
import { defineConfig } from 'astro/config';
|
||||
import starlight from '@astrojs/starlight';
|
||||
import tailwind from '@astrojs/tailwind';
|
||||
|
||||
import node from "@astrojs/node";
|
||||
|
||||
import starlightOpenAPI, { openAPISidebarGroups } from 'starlight-openapi'
|
||||
import tailwindcss from "@tailwindcss/vite";
|
||||
|
||||
// https://astro.build/config
|
||||
export default defineConfig({
|
||||
integrations: [starlight({
|
||||
title: 'wanderer Documentation',
|
||||
logo: {
|
||||
light: '/src/assets/logo_text_dark.svg',
|
||||
dark: '/src/assets/logo_text_light.svg',
|
||||
replacesTitle: true
|
||||
},
|
||||
social: {
|
||||
github: 'https://github.com/flomp/wanderer'
|
||||
},
|
||||
components: {
|
||||
Footer: './src/components/footer.astro'
|
||||
},
|
||||
plugins: [
|
||||
starlightOpenAPI([
|
||||
integrations: [
|
||||
starlight({
|
||||
title: 'wanderer Documentation',
|
||||
logo: {
|
||||
light: '/src/assets/logo_text_dark.svg',
|
||||
dark: '/src/assets/logo_text_light.svg',
|
||||
replacesTitle: true
|
||||
},
|
||||
social: [
|
||||
{ icon: 'github', label: 'GitHub', href: 'https://github.com/flomp/wanderer' },
|
||||
],
|
||||
components: {
|
||||
Footer: './src/components/footer.astro'
|
||||
},
|
||||
plugins: [
|
||||
starlightOpenAPI([
|
||||
{
|
||||
base: 'api-reference',
|
||||
label: 'API Reference',
|
||||
schema: 'wanderer.openapi.yaml',
|
||||
},
|
||||
]),
|
||||
],
|
||||
sidebar: [
|
||||
{
|
||||
base: 'api-reference',
|
||||
label: 'API Reference',
|
||||
schema: 'wanderer.openapi.yaml',
|
||||
label: 'Welcome to wanderer',
|
||||
link: '/welcome'
|
||||
},
|
||||
]),
|
||||
],
|
||||
sidebar: [{
|
||||
label: 'Getting Started',
|
||||
items: [{
|
||||
label: 'Installation',
|
||||
link: '/getting-started/installation/'
|
||||
}, {
|
||||
label: 'Configuration',
|
||||
link: '/getting-started/configuration/'
|
||||
}, {
|
||||
label: 'Local development',
|
||||
link: '/getting-started/local-development/'
|
||||
}, {
|
||||
label: 'Changelog',
|
||||
link: '/getting-started/changelog/'
|
||||
}]
|
||||
}, {
|
||||
label: 'Guides',
|
||||
items: [{
|
||||
label: 'Authentication',
|
||||
link: '/guides/authentication/'
|
||||
}, {
|
||||
label: 'Create a trail',
|
||||
link: '/guides/create-a-trail/'
|
||||
}, {
|
||||
label: 'Share trails',
|
||||
link: '/guides/share-trails/'
|
||||
}, {
|
||||
label: 'Lists',
|
||||
link: '/guides/lists/'
|
||||
},
|
||||
{
|
||||
label: 'Statistics',
|
||||
link: '/guides/statistics/'
|
||||
},
|
||||
{
|
||||
label: 'Custom categories',
|
||||
link: '/guides/custom-categories/'
|
||||
},
|
||||
{
|
||||
label: 'Customize the map',
|
||||
link: '/guides/customize-map/'
|
||||
},
|
||||
{
|
||||
label: 'Import/Export',
|
||||
link: '/guides/import-export/'
|
||||
},
|
||||
{
|
||||
label: 'Integrations',
|
||||
link: '/guides/integrations/'
|
||||
},
|
||||
{
|
||||
label: 'API',
|
||||
link: '/guides/api/'
|
||||
}]
|
||||
},
|
||||
...openAPISidebarGroups,],
|
||||
customCss: ['./src/custom.css', './src/tailwind.css', '@fontsource/ibm-plex-sans/400.css', '@fontsource/ibm-plex-sans/600.css', '@fontsource/ibm-plex-mono/400.css', '@fontsource/ibm-plex-mono/600.css']
|
||||
}), tailwind({
|
||||
applyBaseStyles: false
|
||||
})],
|
||||
{
|
||||
label: 'Using wanderer',
|
||||
items: [{
|
||||
label: 'Authentication',
|
||||
link: '/use/authentication/'
|
||||
}, {
|
||||
label: 'Create a trail',
|
||||
link: '/use/create-a-trail/'
|
||||
},
|
||||
{
|
||||
label: 'Summit logs',
|
||||
link: '/use/summit-logs/'
|
||||
},
|
||||
{
|
||||
label: 'Interact with the community',
|
||||
link: '/use/community-interaction/'
|
||||
},
|
||||
{
|
||||
label: 'Share trails',
|
||||
link: '/use/share-trails/'
|
||||
}, {
|
||||
label: 'Lists',
|
||||
link: '/use/lists/'
|
||||
},
|
||||
{
|
||||
label: 'Statistics',
|
||||
link: '/use/statistics/'
|
||||
},
|
||||
{
|
||||
label: 'Customize the map',
|
||||
link: '/use/customize-map/'
|
||||
},
|
||||
{
|
||||
label: 'Import/Export',
|
||||
link: '/use/import-export/'
|
||||
},
|
||||
{
|
||||
label: 'Integrations',
|
||||
link: '/use/integrations/'
|
||||
},
|
||||
]
|
||||
},
|
||||
{
|
||||
label: 'Running wanderer',
|
||||
items: [
|
||||
{
|
||||
label: 'Installation',
|
||||
link: '/run/installation/'
|
||||
},
|
||||
{
|
||||
label: 'Environment configuration',
|
||||
link: '/run/environment-configuration/'
|
||||
},
|
||||
{
|
||||
label: 'Backend configuration',
|
||||
link: '/run/backend-configuration/'
|
||||
},
|
||||
{
|
||||
label: 'Custom categories',
|
||||
link: '/run/custom-categories/'
|
||||
},
|
||||
{
|
||||
label: 'Backing up your server',
|
||||
link: '/run/backup-server/'
|
||||
},
|
||||
{
|
||||
label: 'Changelog',
|
||||
link: '/run/changelog/'
|
||||
}]
|
||||
}, {
|
||||
label: 'Develop wanderer',
|
||||
items: [
|
||||
{
|
||||
label: 'Local development',
|
||||
link: '/develop/local-development/'
|
||||
},
|
||||
{
|
||||
label: 'API',
|
||||
link: '/develop/api/'
|
||||
},
|
||||
{
|
||||
label: 'Federation',
|
||||
link: '/develop/federation/'
|
||||
},
|
||||
]
|
||||
},
|
||||
...openAPISidebarGroups,],
|
||||
customCss: ['./src/custom.css', './src/tailwind.css', '@fontsource/ibm-plex-sans/400.css', '@fontsource/ibm-plex-sans/600.css', '@fontsource/ibm-plex-mono/400.css', '@fontsource/ibm-plex-mono/600.css']
|
||||
})],
|
||||
output: "server",
|
||||
vite: { plugins: [tailwindcss()] },
|
||||
adapter: node({
|
||||
mode: "standalone"
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user