-
-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #16 from protomaps/favicon
add favicon
- Loading branch information
Showing
2 changed files
with
50 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,84 +1,89 @@ | ||
import { defineConfig } from 'vitepress' | ||
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" }]], | ||
description: "Technical Documentation for Protomaps", | ||
cleanUrls: true, | ||
themeConfig: { | ||
logo: '/logo.svg', | ||
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' } | ||
{ text: "Guides", link: "/" }, | ||
{ text: "protomaps.com", link: "https://protomaps.com" }, | ||
{ | ||
text: "Sponsor on GitHub", | ||
link: "https://github.com/sponsors/protomaps", | ||
}, | ||
], | ||
sidebar: [ | ||
{ | ||
text: 'Introduction', | ||
text: "Introduction", | ||
collapsed: true, | ||
items: [ | ||
{ text: 'What is Protomaps?', link: '/' }, | ||
{ text: 'Getting Started', link: '/guide/getting-started' } | ||
] | ||
{ text: "What is Protomaps?", link: "/" }, | ||
{ text: "Getting Started", link: "/guide/getting-started" }, | ||
], | ||
}, | ||
{ | ||
text: 'PMTiles', | ||
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: "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', | ||
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: "MapLibre GL", link: "/pmtiles/maplibre" }, | ||
{ text: "Leaflet", link: "/pmtiles/leaflet" }, | ||
{ text: "OpenLayers", link: "/pmtiles/openlayers" }, | ||
], | ||
}, | ||
{ | ||
text: 'Accelerating PMTiles', | ||
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: 'Server (Caddy)', link: '/deploy/server' } | ||
] | ||
{ text: "Overview", link: "/deploy/" }, | ||
{ text: "Cost Calculator", link: "/deploy/cost" }, | ||
{ text: "AWS", link: "/deploy/aws" }, | ||
{ text: "Cloudflare", link: "/deploy/cloudflare" }, | ||
{ text: "Server (Caddy)", link: "/deploy/server" }, | ||
], | ||
}, | ||
{ | ||
text: 'OSM Basemaps', | ||
text: "OSM Basemaps", | ||
collapsed: true, | ||
items: [ | ||
{ text: 'Downloads', link: '/basemaps/downloads' }, | ||
{ text: 'Basemap Layers', link: '/basemaps/layers' }, | ||
{ text: 'Basemap Styles', link: '/basemaps/styles' }, | ||
{ text: 'MapLibre GL', link: '/basemaps/maplibre' }, | ||
{ text: 'Leaflet', link: '/basemaps/leaflet' }, | ||
{ text: 'OpenLayers', link: '/basemaps/openlayers' } | ||
] | ||
} | ||
{ text: "Downloads", link: "/basemaps/downloads" }, | ||
{ text: "Basemap Layers", link: "/basemaps/layers" }, | ||
{ text: "Basemap Styles", link: "/basemaps/styles" }, | ||
{ text: "MapLibre GL", link: "/basemaps/maplibre" }, | ||
{ text: "Leaflet", link: "/basemaps/leaflet" }, | ||
{ text: "OpenLayers", link: "/basemaps/openlayers" }, | ||
], | ||
}, | ||
], | ||
|
||
socialLinks: [ | ||
{ icon: 'github', link: 'https://github.com/protomaps' }, | ||
{ icon: 'mastodon', link: 'https://mapstodon.space/@protomaps' }, | ||
{ icon: 'twitter', link: 'https://twitter.com/protomaps' }, | ||
{ icon: "github", link: "https://github.com/protomaps" }, | ||
{ icon: "mastodon", link: "https://mapstodon.space/@protomaps" }, | ||
{ icon: "twitter", link: "https://twitter.com/protomaps" }, | ||
], | ||
|
||
search: { | ||
provider: 'local' | ||
provider: "local", | ||
}, | ||
|
||
footer: { | ||
message: 'An open source mapping system released under the BSD and ODbL licenses.', | ||
copyright: '© 2019-present Protomaps LLC' | ||
} | ||
} | ||
}) | ||
message: | ||
"An open source mapping system released under the BSD and ODbL licenses.", | ||
copyright: "© 2019-present Protomaps LLC", | ||
}, | ||
}, | ||
}); |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.