-
Notifications
You must be signed in to change notification settings - Fork 103
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
32 changed files
with
2,709 additions
and
1,962 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,80 +1,80 @@ | ||
interface Favicon { | ||
rel: string | null; | ||
dimensions: [number, number]; | ||
image_format: string; | ||
prefix: string; | ||
rel: string | null; | ||
dimensions: [number, number]; | ||
image_format: string; | ||
prefix: string; | ||
} | ||
|
||
export default [ | ||
{ dimensions: [64, 64], image_format: 'ico', prefix: 'favicon', rel: null }, | ||
{ dimensions: [16, 16], image_format: 'png', prefix: 'favicon', rel: 'icon' }, | ||
{ dimensions: [32, 32], image_format: 'png', prefix: 'favicon', rel: 'icon' }, | ||
{ dimensions: [64, 64], image_format: 'png', prefix: 'favicon', rel: 'icon' }, | ||
{ dimensions: [96, 96], image_format: 'png', prefix: 'favicon', rel: 'icon' }, | ||
{ dimensions: [180, 180], image_format: 'png', prefix: 'favicon', rel: 'icon' }, | ||
{ | ||
dimensions: [57, 57], | ||
image_format: 'png', | ||
prefix: 'apple-touch-icon', | ||
rel: 'apple-touch-icon', | ||
}, | ||
{ | ||
dimensions: [60, 60], | ||
image_format: 'png', | ||
prefix: 'apple-touch-icon', | ||
rel: 'apple-touch-icon', | ||
}, | ||
{ | ||
dimensions: [72, 72], | ||
image_format: 'png', | ||
prefix: 'apple-touch-icon', | ||
rel: 'apple-touch-icon', | ||
}, | ||
{ | ||
dimensions: [76, 76], | ||
image_format: 'png', | ||
prefix: 'apple-touch-icon', | ||
rel: 'apple-touch-icon', | ||
}, | ||
{ | ||
dimensions: [114, 114], | ||
image_format: 'png', | ||
prefix: 'apple-touch-icon', | ||
rel: 'apple-touch-icon', | ||
}, | ||
{ | ||
dimensions: [120, 120], | ||
image_format: 'png', | ||
prefix: 'apple-touch-icon', | ||
rel: 'apple-touch-icon', | ||
}, | ||
{ | ||
dimensions: [144, 144], | ||
image_format: 'png', | ||
prefix: 'apple-touch-icon', | ||
rel: 'apple-touch-icon', | ||
}, | ||
{ | ||
dimensions: [152, 152], | ||
image_format: 'png', | ||
prefix: 'apple-touch-icon', | ||
rel: 'apple-touch-icon', | ||
}, | ||
{ | ||
dimensions: [167, 167], | ||
image_format: 'png', | ||
prefix: 'apple-touch-icon', | ||
rel: 'apple-touch-icon', | ||
}, | ||
{ | ||
dimensions: [180, 180], | ||
image_format: 'png', | ||
prefix: 'apple-touch-icon', | ||
rel: 'apple-touch-icon', | ||
}, | ||
{ dimensions: [70, 70], image_format: 'png', prefix: 'mstile', rel: null }, | ||
{ dimensions: [270, 270], image_format: 'png', prefix: 'mstile', rel: null }, | ||
{ dimensions: [310, 310], image_format: 'png', prefix: 'mstile', rel: null }, | ||
{ dimensions: [310, 150], image_format: 'png', prefix: 'mstile', rel: null }, | ||
{ dimensions: [196, 196], image_format: 'png', prefix: 'favicon', rel: 'shortcut icon' }, | ||
{ dimensions: [48, 48], image_format: "ico", prefix: "favicon", rel: null }, | ||
{ dimensions: [16, 16], image_format: "png", prefix: "favicon", rel: "icon" }, | ||
{ dimensions: [32, 32], image_format: "png", prefix: "favicon", rel: "icon" }, | ||
{ dimensions: [64, 64], image_format: "png", prefix: "favicon", rel: "icon" }, | ||
{ dimensions: [96, 96], image_format: "png", prefix: "favicon", rel: "icon" }, | ||
{ dimensions: [180, 180], image_format: "png", prefix: "favicon", rel: "icon" }, | ||
{ | ||
dimensions: [57, 57], | ||
image_format: "png", | ||
prefix: "apple-touch-icon", | ||
rel: "apple-touch-icon", | ||
}, | ||
{ | ||
dimensions: [60, 60], | ||
image_format: "png", | ||
prefix: "apple-touch-icon", | ||
rel: "apple-touch-icon", | ||
}, | ||
{ | ||
dimensions: [72, 72], | ||
image_format: "png", | ||
prefix: "apple-touch-icon", | ||
rel: "apple-touch-icon", | ||
}, | ||
{ | ||
dimensions: [76, 76], | ||
image_format: "png", | ||
prefix: "apple-touch-icon", | ||
rel: "apple-touch-icon", | ||
}, | ||
{ | ||
dimensions: [114, 114], | ||
image_format: "png", | ||
prefix: "apple-touch-icon", | ||
rel: "apple-touch-icon", | ||
}, | ||
{ | ||
dimensions: [120, 120], | ||
image_format: "png", | ||
prefix: "apple-touch-icon", | ||
rel: "apple-touch-icon", | ||
}, | ||
{ | ||
dimensions: [144, 144], | ||
image_format: "png", | ||
prefix: "apple-touch-icon", | ||
rel: "apple-touch-icon", | ||
}, | ||
{ | ||
dimensions: [152, 152], | ||
image_format: "png", | ||
prefix: "apple-touch-icon", | ||
rel: "apple-touch-icon", | ||
}, | ||
{ | ||
dimensions: [167, 167], | ||
image_format: "png", | ||
prefix: "apple-touch-icon", | ||
rel: "apple-touch-icon", | ||
}, | ||
{ | ||
dimensions: [180, 180], | ||
image_format: "png", | ||
prefix: "apple-touch-icon", | ||
rel: "apple-touch-icon", | ||
}, | ||
{ dimensions: [70, 70], image_format: "png", prefix: "mstile", rel: null }, | ||
{ dimensions: [270, 270], image_format: "png", prefix: "mstile", rel: null }, | ||
{ dimensions: [310, 310], image_format: "png", prefix: "mstile", rel: null }, | ||
{ dimensions: [310, 150], image_format: "png", prefix: "mstile", rel: null }, | ||
{ dimensions: [196, 196], image_format: "png", prefix: "favicon", rel: "shortcut icon" }, | ||
] as Favicon[]; |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,35 @@ | ||
import fs from "node:fs"; | ||
import path from "node:path"; | ||
import { fileURLToPath } from "node:url"; | ||
import withNextra from "nextra"; | ||
|
||
function copyChangelog() { | ||
const dir = path.dirname(fileURLToPath(import.meta.url)); | ||
const src = path.resolve(dir, "..", "CHANGELOG.md"); | ||
const data = fs.readFileSync(src); | ||
const replaced = data.toString().replace("# Changelog\n\n", ""); | ||
const dst = path.resolve(dir, "pages", "changelog.mdx"); | ||
fs.writeFileSync(dst, replaced); | ||
} | ||
|
||
copyChangelog(); | ||
|
||
/** | ||
* @type {import('nextra').NextraConfig} | ||
*/ | ||
const nextraConfig = { | ||
theme: "nextra-theme-docs", | ||
themeConfig: "./theme.config.tsx", | ||
}; | ||
|
||
/** | ||
* @type {import('next').NextConfig} | ||
*/ | ||
const config = { | ||
images: { | ||
unoptimized: true, | ||
}, | ||
output: "export", | ||
}; | ||
|
||
export default withNextra(nextraConfig)(config); |
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
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,38 @@ | ||
export default { | ||
index: { title: "Introduction", theme: { breadcrumb: false } }, | ||
"---": { | ||
type: "separator", | ||
}, | ||
installation: "Installation", | ||
configuration: "Configuration", | ||
platforms: "Platforms", | ||
plugins: "Plugins", | ||
documentation: { | ||
title: "Documentation", | ||
type: "menu", | ||
items: { | ||
installation: { | ||
title: "Installation", | ||
href: "/installation", | ||
}, | ||
configuration: { | ||
title: "Configuration", | ||
href: "/configuration", | ||
}, | ||
plugins: { | ||
title: "Plugins", | ||
href: "/plugins", | ||
}, | ||
changelog: { | ||
title: "Changelog", | ||
href: "/changelog", | ||
}, | ||
}, | ||
}, | ||
demo: { | ||
title: "Demo", | ||
type: "page", | ||
href: "https://demo.hyperglass.dev", | ||
newWindow: true, | ||
}, | ||
}; |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
export default { | ||
overview: "Overview", | ||
config: "Config File", | ||
devices: "Devices File", | ||
directives: "Directives File", | ||
examples: "Examples", | ||
}; |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
export default { | ||
"api-docs": "API Docs", | ||
caching: "Caching", | ||
logging: "Logging & Webhooks", | ||
messages: "Messages", | ||
"structured-output": "Structured Output", | ||
"web-ui": "Web UI", | ||
}; |
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
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
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.