Files
linkding/docs/astro.config.mjs
Sascha Ißbrücker 051bd39256 Add new search engine that supports logical expressions (and, or, not) (#1198)
* parser implementation

* add support for quoted strings

* add support for tags

* ignore empty tags

* implicit and

* prepare query conversion by disabling tests

* convert query logic

* fix nested combined tag searches

* simplify query logic

* Add special keyword support to parser

* Add special keyword support to query builder

* Handle invalid queries in query builder

* Notify user about invalid queries

* Add helper to strip tags from search query

* Make tag cloud show all tags from search query

* Use new method for extracting tags

* Add query for getting tags from search query

* Get selected tags through specific context

* Properly remove selected tags from complex queries

* cleanup

* Clarify bundle search terms

* Add documentation draft

* Improve adding tags to search query

* Add option to switch back to the old search
2025-10-05 12:51:08 +02:00

59 lines
1.7 KiB
JavaScript

// @ts-check
import { defineConfig } from "astro/config";
import starlight from "@astrojs/starlight";
// https://astro.build/config
export default defineConfig({
integrations: [
starlight({
title: "linkding",
logo: {
src: "./src/assets/logo.svg",
},
social: [
{
icon: "github",
label: "GitHub",
href: "https://github.com/sissbruecker/linkding",
},
],
sidebar: [
{
label: "Getting Started",
items: [
{ label: "Installation", slug: "installation" },
{ label: "Options", slug: "options" },
{ label: "Managed Hosting", slug: "managed-hosting" },
{ label: "Browser Extension", slug: "browser-extension" },
],
},
{
label: "Guides",
items: [
{ label: "Backups", slug: "backups" },
//{ label: "Bookmark Search", slug: "search" },
{ label: "Archiving", slug: "archiving" },
{ label: "Auto Tagging", slug: "auto-tagging" },
{ label: "Keyboard Shortcuts", slug: "shortcuts" },
{ label: "How To", slug: "how-to" },
{ label: "Troubleshooting", slug: "troubleshooting" },
{ label: "Admin", slug: "admin" },
{ label: "REST API", slug: "api" },
],
},
{
label: "Resources",
items: [
{ label: "Community", slug: "community" },
{ label: "Acknowledgements", slug: "acknowledgements" },
],
},
],
customCss: ["./src/styles/custom.css"],
editLink: {
baseUrl: "https://github.com/sissbruecker/linkding/edit/master/docs/",
},
}),
],
});