mirror of
https://github.com/sissbruecker/linkding.git
synced 2025-08-08 11:18:28 +02:00
Fix docs build
This commit is contained in:
@@ -1,55 +1,57 @@
|
|||||||
// @ts-check
|
// @ts-check
|
||||||
import { defineConfig } from 'astro/config';
|
import { defineConfig } from "astro/config";
|
||||||
import starlight from '@astrojs/starlight';
|
import starlight from "@astrojs/starlight";
|
||||||
|
|
||||||
// https://astro.build/config
|
// https://astro.build/config
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
integrations: [
|
integrations: [
|
||||||
starlight({
|
starlight({
|
||||||
title: 'linkding',
|
title: "linkding",
|
||||||
logo: {
|
logo: {
|
||||||
src: './src/assets/logo.svg',
|
src: "./src/assets/logo.svg",
|
||||||
},
|
},
|
||||||
social: {
|
social: [
|
||||||
github: 'https://github.com/sissbruecker/linkding',
|
{
|
||||||
},
|
icon: "github",
|
||||||
sidebar: [
|
label: "GitHub",
|
||||||
{
|
href: "https://github.com/sissbruecker/linkding",
|
||||||
label: 'Getting Started',
|
},
|
||||||
items: [
|
],
|
||||||
{ label: 'Installation', slug: 'installation' },
|
sidebar: [
|
||||||
{ label: 'Options', slug: 'options' },
|
{
|
||||||
{ label: 'Managed Hosting', slug: 'managed-hosting' },
|
label: "Getting Started",
|
||||||
{ label: 'Browser Extension', slug: 'browser-extension' },
|
items: [
|
||||||
],
|
{ label: "Installation", slug: "installation" },
|
||||||
},
|
{ label: "Options", slug: "options" },
|
||||||
{
|
{ label: "Managed Hosting", slug: "managed-hosting" },
|
||||||
label: 'Guides',
|
{ label: "Browser Extension", slug: "browser-extension" },
|
||||||
items: [
|
],
|
||||||
{ label: 'Backups', slug: 'backups' },
|
},
|
||||||
{ label: 'Archiving', slug: 'archiving' },
|
{
|
||||||
{ label: 'Auto Tagging', slug: 'auto-tagging' },
|
label: "Guides",
|
||||||
{ label: 'Keyboard Shortcuts', slug: 'shortcuts' },
|
items: [
|
||||||
{ label: 'How To', slug: 'how-to' },
|
{ label: "Backups", slug: "backups" },
|
||||||
{ label: 'Troubleshooting', slug: 'troubleshooting' },
|
{ label: "Archiving", slug: "archiving" },
|
||||||
{ label: 'Admin', slug: 'admin' },
|
{ label: "Auto Tagging", slug: "auto-tagging" },
|
||||||
{ label: 'REST API', slug: 'api' },
|
{ label: "Keyboard Shortcuts", slug: "shortcuts" },
|
||||||
],
|
{ label: "How To", slug: "how-to" },
|
||||||
},
|
{ label: "Troubleshooting", slug: "troubleshooting" },
|
||||||
{
|
{ label: "Admin", slug: "admin" },
|
||||||
label: 'Resources',
|
{ label: "REST API", slug: "api" },
|
||||||
items: [
|
],
|
||||||
{ label: 'Community', slug: 'community' },
|
},
|
||||||
{ label: 'Acknowledgements', slug: 'acknowledgements' },
|
{
|
||||||
],
|
label: "Resources",
|
||||||
},
|
items: [
|
||||||
],
|
{ label: "Community", slug: "community" },
|
||||||
customCss: [
|
{ label: "Acknowledgements", slug: "acknowledgements" },
|
||||||
'./src/styles/custom.css',
|
],
|
||||||
],
|
},
|
||||||
editLink: {
|
],
|
||||||
baseUrl: 'https://github.com/sissbruecker/linkding/edit/master/docs/',
|
customCss: ["./src/styles/custom.css"],
|
||||||
},
|
editLink: {
|
||||||
}),
|
baseUrl: "https://github.com/sissbruecker/linkding/edit/master/docs/",
|
||||||
],
|
},
|
||||||
|
}),
|
||||||
|
],
|
||||||
});
|
});
|
||||||
|
@@ -4,22 +4,14 @@
|
|||||||
--sl-text-xs: var(--sl-text-sm);
|
--sl-text-xs: var(--sl-text-sm);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Colors (dark mode) */
|
||||||
:root,
|
:root,
|
||||||
::backdrop {
|
::backdrop {
|
||||||
/* Colors (dark mode) */
|
|
||||||
--sl-color-white: hsl(0, 0%, 97%); /* “white” */
|
|
||||||
--sl-color-gray-1: hsl(224, 20%, 94%);
|
|
||||||
--sl-color-gray-2: hsl(224, 6%, 85%);
|
|
||||||
--sl-color-gray-3: hsl(224, 6%, 70%);
|
|
||||||
--sl-color-gray-4: hsl(224, 7%, 36%);
|
|
||||||
--sl-color-gray-5: hsl(224, 10%, 23%);
|
|
||||||
--sl-color-gray-6: hsl(224, 14%, 16%);
|
|
||||||
--sl-color-black: hsl(224, 10%, 10%);
|
|
||||||
|
|
||||||
--sl-color-accent: hsl(241, 75%, 64%);
|
--sl-color-accent: hsl(241, 75%, 64%);
|
||||||
--sl-color-text-accent: hsl(241, 90%, 82%);
|
--sl-color-text-accent: hsl(241, 90%, 82%);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Colors (light mode) */
|
||||||
:root[data-theme='light'],
|
:root[data-theme='light'],
|
||||||
[data-theme='light'] ::backdrop {
|
[data-theme='light'] ::backdrop {
|
||||||
--sl-color-accent: hsl(241, 63%, 59%);
|
--sl-color-accent: hsl(241, 63%, 59%);
|
||||||
|
Reference in New Issue
Block a user