This repository was archived by the owner on Jan 19, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocusaurus.config.js
More file actions
73 lines (71 loc) · 1.81 KB
/
docusaurus.config.js
File metadata and controls
73 lines (71 loc) · 1.81 KB
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
/**
* Copyright (c) 2017-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
const [latestVersion] = require("./versions.json");
module.exports = {
title: "flightpkg",
tagline: "The only package manager you will ever need.",
url: "https://flightpkg.js.org/",
baseUrl: "/",
favicon: "https://github.com/flightpkg.png",
organizationName: "flightpkg",
projectName: "flight",
themeConfig: {
navbar: {
title: "flightpkg",
logo: {
alt: "flightpkg Logo",
src: "/img/logo-white.svg"
},
items: [
{
to: "versions",
label: `v${latestVersion}`,
position: "left",
style: {
whiteSpace: "nowrap",
padding: "0.25rem 0.5rem 0.2rem 0.25rem",
fontSize: "calc(0.9 * var(--ifm-font-size-base))",
textDecoration: "underline"
}
},
{
to: "docs/introduction/getting-started",
label: "Docs",
position: "left"
},
{
href: "https://www.npmjs.com/package/@flightpkg/cli",
label: "Npm",
position: "right"
},
{
href: "https://github.com/flightpkg/flight",
label: "Github",
position: "right"
}
]
},
footer: {
style: "dark",
// logo: { alt: "Open Source Logo", src: "/static/img/open-source.svg" },
copyright: `Copyright © ${new Date().getFullYear()} flightpkg.`
}
},
presets: [
[
"@docusaurus/preset-classic",
{
docs: {
sidebarPath: require.resolve("./sidebars.js")
},
theme: {
customCss: require.resolve("./src/styles/global.css")
}
}
]
]
};