diff --git a/.vitepress/config.ts b/.vitepress/config.ts index 9b19d5a..afef17f 100644 --- a/.vitepress/config.ts +++ b/.vitepress/config.ts @@ -2,10 +2,38 @@ import { defineConfig } from "vitepress"; // https://vitepress.dev/reference/site-config export default defineConfig({ + // Surprised this isn't the default. 🤷‍♂️ + srcExclude: ["**/README.md", "**/CONTRIBUTING.md"], + + // https://vitejs.dev/config/ + vite: {}, + + // https://vitepress.dev/guide/sitemap-generation + sitemap: { + hostname: "https://1brc.dev", + }, + title: "1BRC", description: "1 Billion Row Challenge", + + head: [ + // https://github.com/vuejs/vitepress/issues/560 + ["link", { rel: "icon", href: "/favicon.ico" }], + + // https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/rel#license + [ + "link", + { + rel: "license", + href: "https://github.com/1brc/1brc.github.io/blob/main/LICENSE", + }, + ], + ], + + // https://vitepress.dev/reference/default-theme-config themeConfig: { - // https://vitepress.dev/reference/default-theme-config + logo: "/logo.png", + nav: [ // { text: 'Home', link: '/' }, // { text: 'Examples', link: '/markdown-examples' } @@ -24,5 +52,17 @@ export default defineConfig({ socialLinks: [ { icon: "github", link: "https://github.com/1brc/1brc.github.io" }, ], + + // https://vitepress.dev/reference/default-theme-edit-link + editLink: { + pattern: "https://github.com/1brc/1brc.github.io/edit/main/:path", + }, + + // https://github.com/vuejs/vitepress/issues/1037 + footer: { + message: + 'Released under the 0BSD License.', + copyright: "Copyright © 2023 The One Billion Row Challenge", + }, }, }); diff --git a/LICENSE b/LICENSE index 28742cf..d06e6d5 100644 --- a/LICENSE +++ b/LICENSE @@ -1,21 +1,14 @@ -MIT License +BSD Zero Clause License Copyright (c) 2024 The One Billion Row Challenge -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted. -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. diff --git a/public/favicon.ico b/public/favicon.ico new file mode 100644 index 0000000..0a7d121 Binary files /dev/null and b/public/favicon.ico differ