-
-
Notifications
You must be signed in to change notification settings - Fork 23
/
Copy pathconfig.mts
103 lines (99 loc) · 3.35 KB
/
config.mts
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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
import { defineConfig } from "vitepress";
// https://vitepress.dev/reference/site-config
export default defineConfig({
title: "Protomaps Docs",
head: [
["link", { rel: "icon", type: "image/png", href: "/favicon.png" }],
["link", { rel: "apple-touch-icon", type: "image/jpg", href:"https://protomaps.com//apple-touch-icon.jpg" }],
["meta", { property: "og:image", content: "https://protomaps.com/docs_opengraph.jpg" }]
],
description: "Technical Documentation for Protomaps",
cleanUrls: true,
markdown: {
theme: {
light: 'github-light-high-contrast',
dark: 'github-dark-high-contrast'
}
},
themeConfig: {
logo: "/logo.svg",
// https://vitepress.dev/reference/default-theme-config
nav: [
{ text: "Guides", link: "/" },
{ text: "protomaps.com", link: "https://protomaps.com" },
{
text: "Sponsor on GitHub",
link: "https://github.com/sponsors/protomaps",
},
],
sidebar: [
{
text: "Introduction",
collapsed: true,
items: [
{ text: "What is Protomaps?", link: "/" },
{ text: "Getting Started", link: "/guide/getting-started" },
{ text: "Security and Privacy", link: "/guide/security-privacy" },
],
},
{
text: "PMTiles",
collapsed: true,
items: [
{ text: "Concepts", link: "/pmtiles/" },
{ text: "Creating PMTiles", link: "/pmtiles/create" },
{ text: "Cloud Storage", link: "/pmtiles/cloud-storage" },
{ text: "pmtiles CLI", link: "/pmtiles/cli" },
],
},
{
text: "PMTiles in the browser",
collapsed: true,
items: [
{ text: "MapLibre GL", link: "/pmtiles/maplibre" },
{ text: "Leaflet", link: "/pmtiles/leaflet" },
{ text: "OpenLayers", link: "/pmtiles/openlayers" },
],
},
{
text: "Accelerating PMTiles",
collapsed: true,
items: [
{ text: "Overview", link: "/deploy/" },
{ text: "Cost Calculator", link: "/deploy/cost" },
{ text: "AWS", link: "/deploy/aws" },
{ text: "Cloudflare", link: "/deploy/cloudflare" },
{ text: "Google Cloud", link: "/deploy/google-cloud" },
{ text: "Azure", link: "/deploy/azure" },
{ text: "Server", link: "/deploy/server" },
],
},
{
text: "OSM Basemaps",
collapsed: true,
items: [
{ text: "Downloads", link: "/basemaps/downloads" },
{ text: "Basemap Layers", link: "/basemaps/layers" },
{ text: "Basemap Flavors", link: "/basemaps/flavors" },
{ text: "Basemap Localization", link: "/basemaps/localization" },
{ text: "Building Tiles", link: "/basemaps/build" },
{ text: "MapLibre GL", link: "/basemaps/maplibre" },
{ text: "Leaflet", link: "/basemaps/leaflet" },
],
},
],
socialLinks: [
{ icon: "github", link: "https://github.com/protomaps" },
{ icon: "mastodon", link: "https://mapstodon.space/@protomaps" },
{ icon: "bluesky", link: "https://bsky.app/profile/protomaps.com" },
],
search: {
provider: "local",
},
footer: {
message:
"An open source mapping system released under the BSD and ODbL licenses.",
copyright: "© 2019-present Protomaps LLC",
},
},
});