Skip to content
This repository was archived by the owner on Feb 3, 2025. It is now read-only.

Commit b2b324c

Browse files
authored
icons
1 parent 5842d53 commit b2b324c

File tree

3 files changed

+51
-18
lines changed

3 files changed

+51
-18
lines changed

Diff for: .vitepress/config.ts

+41-1
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,38 @@ import { defineConfig } from "vitepress";
22

33
// https://vitepress.dev/reference/site-config
44
export default defineConfig({
5+
// Surprised this isn't the default. 🤷‍♂️
6+
srcExclude: ["**/README.md", "**/CONTRIBUTING.md"],
7+
8+
// https://vitejs.dev/config/
9+
vite: {},
10+
11+
// https://vitepress.dev/guide/sitemap-generation
12+
sitemap: {
13+
hostname: "https://1brc.dev",
14+
},
15+
516
title: "1BRC",
617
description: "1 Billion Row Challenge",
18+
19+
head: [
20+
// https://github.com/vuejs/vitepress/issues/560
21+
["link", { rel: "icon", href: "/favicon.ico" }],
22+
23+
// https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/rel#license
24+
[
25+
"link",
26+
{
27+
rel: "license",
28+
href: "https://github.com/1brc/1brc.github.io/blob/main/LICENSE",
29+
},
30+
],
31+
],
32+
33+
// https://vitepress.dev/reference/default-theme-config
734
themeConfig: {
8-
// https://vitepress.dev/reference/default-theme-config
35+
logo: "/logo.png",
36+
937
nav: [
1038
// { text: 'Home', link: '/' },
1139
// { text: 'Examples', link: '/markdown-examples' }
@@ -24,5 +52,17 @@ export default defineConfig({
2452
socialLinks: [
2553
{ icon: "github", link: "https://github.com/1brc/1brc.github.io" },
2654
],
55+
56+
// https://vitepress.dev/reference/default-theme-edit-link
57+
editLink: {
58+
pattern: "https://github.com/1brc/1brc.github.io/edit/main/:path",
59+
},
60+
61+
// https://github.com/vuejs/vitepress/issues/1037
62+
footer: {
63+
message:
64+
'Released under the <a href="https://github.com/1brc/1brc.github.io/blob/main/LICENSE">0BSD License</a>.',
65+
copyright: "Copyright © 2023 The One Billion Row Challenge",
66+
},
2767
},
2868
});

Diff for: LICENSE

+10-17
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,14 @@
1-
MIT License
1+
BSD Zero Clause License
22

33
Copyright (c) 2024 The One Billion Row Challenge
44

5-
Permission is hereby granted, free of charge, to any person obtaining a copy
6-
of this software and associated documentation files (the "Software"), to deal
7-
in the Software without restriction, including without limitation the rights
8-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9-
copies of the Software, and to permit persons to whom the Software is
10-
furnished to do so, subject to the following conditions:
5+
Permission to use, copy, modify, and/or distribute this software for any
6+
purpose with or without fee is hereby granted.
117

12-
The above copyright notice and this permission notice shall be included in all
13-
copies or substantial portions of the Software.
14-
15-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21-
SOFTWARE.
8+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
9+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
10+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
11+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
12+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
13+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
14+
PERFORMANCE OF THIS SOFTWARE.

Diff for: public/favicon.ico

15 KB
Binary file not shown.

0 commit comments

Comments
 (0)