Files
wanderer/docs/astro.config.mjs
slothful-vassal 485ec53f6d feat: add plugin system (#1034)
* feat: add plugin system

* fix db docker build

* fix hammerhead readme, add strava subscription news to docs

* fixes and sdk improvements

* fix: reduce Meilisearch load, debounce federation sync (#1012)

* optimize meili trail index

* several fixes

---------

Co-authored-by: Flomp <Flomp@users.noreply.github.com>

* Bump svelte from 5.55.5 to 5.56.0 in /docs (#1032)

Bumps [svelte](https://github.com/sveltejs/svelte/tree/HEAD/packages/svelte) from 5.55.5 to 5.56.0.
- [Release notes](https://github.com/sveltejs/svelte/releases)
- [Changelog](https://github.com/sveltejs/svelte/blob/main/packages/svelte/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/svelte/commits/svelte@5.56.0/packages/svelte)

---
updated-dependencies:
- dependency-name: svelte
  dependency-version: 5.56.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Flomp <Flomp@users.noreply.github.com>

* Release v0.19.2 (#1035)

* chore: release v0.19.2

* add changelog

---------

Co-authored-by: Flomp <26000991+Flomp@users.noreply.github.com>
Co-authored-by: Christian Beutel <>

* speed up plugin sync and several small fixes

* concepts for security improvements and process stability

* improve concept

* security concept implemented

* remove insecure TLS

* worker concept implemented

* fixes and cleanup

* fixes

* docu

* mermaid, namings

* WASM plugin host improvements, plugin logging

* fix db migration

* Improve plugin config and category mapping UI

* fixes

* further fixes

* remove manual test sync

* fix db migration and strava mapping

* type added, UI improvements

* fix plugin card toggle clickable area

* optimize synch status card layout

* plugin type 'trails' instead of 'integration'

* session auth validation in UI

* fix komoot date and waypoints

* improve category mapping

* fix send to hammerhead: trail name

* plugin setup error handling improved

* fix review findings

* re-mapping added

* rename remote_category

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Flomp <Flomp@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Flomp <26000991+Flomp@users.noreply.github.com>
2026-06-22 15:00:44 +02:00

165 lines
4.7 KiB
JavaScript

import { defineConfig } from 'astro/config';
import starlight from '@astrojs/starlight';
import node from "@astrojs/node";
import starlightOpenAPI, { openAPISidebarGroups } from 'starlight-openapi'
import tailwindcss from "@tailwindcss/vite";
import svelte from '@astrojs/svelte';
// 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: [
{ icon: 'github', label: 'GitHub', href: 'https://github.com/open-wanderer/wanderer' },
],
components: {
Footer: './src/components/footer.astro'
},
plugins: [
starlightOpenAPI([
{
base: 'api-reference',
label: 'API Reference',
schema: 'wanderer.openapi.json',
sidebar: {
operations: {
}
}
},
]),
],
sidebar: [
{
label: 'Welcome to wanderer',
link: '/welcome'
},
{
label: 'Using wanderer',
items: [{
label: 'Authentication',
link: '/use/authentication/'
}, {
label: 'Create/Edit a trail',
link: '/use/create-a-trail/'
},
{
label: 'Summit logs',
link: '/use/summit-logs/'
},
{
label: 'Merge trails',
link: '/use/merge-trails/'
},
{
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: 'Plugins',
link: '/use/plugins/'
},
]
},
{
label: 'Running wanderer',
items: [
{
label: 'Installation',
items: [
{ label: 'Quickstart', link: '/run/installation/quick' },
{ label: 'Manual Docker Setup', link: '/run/installation/docker' },
{ label: 'Install from Source', link: '/run/installation/from-source' },
{ label: 'Plugin installation', link: '/run/installation/plugins' },
]
},
{
label: 'Environment configuration',
link: '/run/environment-configuration/'
},
{
label: 'Frontend configuration',
items: [
{ label: 'Edit the "About" section', link: '/run/frontend-configuration/about' },
]
},
{
label: 'Backend configuration',
items: [
{ label: 'Overview', link: '/run/backend-configuration/' },
{ label: 'SMTP', link: '/run/backend-configuration/smtp/' },
{ label: 'Authentication Providers', link: '/run/backend-configuration/auth-providers/' },
{ label: 'Backing up your server', link: '/run/backend-configuration/backup-server/' },
{ label: 'Custom categories', link: '/run/backend-configuration/custom-categories/' },
{ label: 'Adjust Filesize Limits', link: '/run/backend-configuration/adjust-filesize-limits/' },
]
}
]
},
{
label: 'Develop wanderer',
items: [
{
label: 'Local development',
link: '/develop/local-development/'
},
{
label: 'API',
link: '/develop/api/'
},
{
label: 'Federation',
link: '/develop/federation/'
},
{
label: 'Plugin System',
link: '/develop/plugin-system/'
},
]
},
...openAPISidebarGroups,
{
label: 'Changelog',
link: '/changelog/',
}],
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']
}), svelte()],
output: "server",
vite: { plugins: [tailwindcss()] },
adapter: node({
mode: "standalone"
}),
redirects: {
'/run/changelog/': '/changelog/',
'/run/backup-server/': '/run/backend-configuration/backup-server/',
'/run/custom-categories/': '/run/backend-configuration/custom-categories/',
},
});