-
Notifications
You must be signed in to change notification settings - Fork 24
Expand file tree
/
Copy pathconfig.mjs
More file actions
67 lines (66 loc) · 1.69 KB
/
config.mjs
File metadata and controls
67 lines (66 loc) · 1.69 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
import { defineConfig } from "vitepress";
import { tabsMarkdownPlugin } from "vitepress-plugin-tabs";
// https://vitepress.dev/reference/site-config
export default defineConfig({
title: "zarrita.js",
description: "Zarr building blocks for JavaScript",
head: [
[
"link",
{
rel: "icon",
type: "image/svg+xml",
href: "/favicon.svg",
},
],
],
themeConfig: {
logo: {
light: "/logo-light.svg",
dark: "/logo-dark.svg",
},
// https://vitepress.dev/reference/default-theme-config
nav: [
{ text: "Home", link: "/" },
{ text: "Guide", link: "/what-is-zarrita" },
],
sidebar: [
{
text: "Introduction",
items: [
{ text: "What is zarrita.js?", link: "/what-is-zarrita" },
{ text: "Get Started", link: "/get-started" },
{ text: "Slicing and Indexing", link: "/slicing" },
{ text: "Supported Types", link: "/supported-types" },
{ text: "Cookbook", link: "/cookbook" },
{ text: "Store Middleware", link: "/store-middleware" },
],
},
{
text: "Packages",
collapsed: false,
items: [
{ text: "zarrita", link: "/packages/zarrita" },
{ text: "@zarrita/storage", link: "/packages/storage" },
{ text: "@zarrita/ndarray", link: "/packages/ndarray" },
],
},
],
socialLinks: [
{ icon: "github", link: "https://github.com/manzt/zarrita.js" },
],
search: {
provider: "local",
},
footer: {
message:
"Released under the <a style='text-decoration:underline;' href='https://github.com/manzt/zarrita.js/blob/main/LICENSE'>MIT License</a>.",
copyright: `Copyright 2020–${new Date().getUTCFullYear()} Trevor Manz`,
},
},
markdown: {
config(md) {
md.use(tabsMarkdownPlugin);
},
},
});