-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathastro.config.mjs
More file actions
89 lines (88 loc) · 2.58 KB
/
astro.config.mjs
File metadata and controls
89 lines (88 loc) · 2.58 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
// @ts-check
import { defineConfig } from "astro/config";
import starlight from "@astrojs/starlight";
import tailwindcss from "@tailwindcss/vite";
import rehypeExternalLinks from "rehype-external-links";
import { externalLinkIcon } from "./external-link-icon.js";
// https://astro.build/config
export default defineConfig({
site: "https://fileglancer-docs.janelia.org",
base: ".",
markdown: {
rehypePlugins: [
[
rehypeExternalLinks,
{
target: "_blank",
rel: ["noopener", "noreferrer"],
content: externalLinkIcon,
},
],
],
},
integrations: [
starlight({
title: "Fileglancer User Guide",
description:
"Comprehensive documentation for the Fileglancer scientific imaging file browser and sharing platform at Janelia Research Campus.",
logo: {
src: "./src/assets/logo.svg",
},
favicon: "/favicon.svg",
customCss: ["./src/styles/global.css", "./src/styles/custom.css"],
sidebar: [
{
label: "Getting Started",
items: [
{
label: "Introduction to Fileglancer",
slug: "getting-started/introduction",
},
{ label: "Quick Start Guide", slug: "getting-started/quick-start" },
],
},
{
label: "Core Workflows",
items: [
{ label: "Navigating Files", slug: "workflows/navigation" },
{ label: "Creating Data Links", slug: "workflows/data-links" },
{
label: "Neuroglancer Short Links",
slug: "workflows/ng-links",
},
{
label: "Apps and Jobs",
slug: "workflows/apps-and-jobs",
},
{
label: "File Conversion Requests",
slug: "workflows/file-conversion",
},
],
},
{
label: "Features",
items: [
{ label: "File Browser", slug: "features/file-browser" },
{ label: "Data Sharing", slug: "features/data-sharing" },
{
label: "Modern Imaging Format Support",
slug: "features/image-support",
},
],
},
{
label: "Help & Support",
items: [
{ label: "Tutorials", slug: "support/tutorials" },
{ label: "Troubleshooting", slug: "support/troubleshooting" },
{ label: "Getting Help", slug: "support/getting-help" },
],
},
],
}),
],
vite: {
plugins: [tailwindcss()],
},
});