oh-my-posh/docs/docusaurus.config.js

101 lines
2.4 KiB
JavaScript
Raw Normal View History

2020-10-05 02:33:12 -07:00
module.exports = {
2021-02-15 23:36:37 -08:00
title: "Oh my Posh",
2020-10-05 02:33:12 -07:00
tagline: "A prompt theme engine for any shell.",
url: "https://ohmyposh.dev",
baseUrl: "/",
favicon: "img/favicon.ico",
organizationName: "jandedobbeleer",
2021-02-15 23:36:37 -08:00
projectName: "oh-my-posh",
2020-10-05 02:33:12 -07:00
onBrokenLinks: "ignore",
themeConfig: {
sidebarCollapsible: false,
prism: {
2020-12-23 06:24:26 -08:00
theme: require("prism-react-renderer/themes/duotoneLight"),
darkTheme: require("prism-react-renderer/themes/oceanicNext"),
2020-10-05 02:33:12 -07:00
},
navbar: {
title: "Oh my Posh",
logo: {
alt: "Oh my Posh Logo",
src: "img/logo.svg",
},
items: [
{
to: "docs/",
activeBasePath: "docs",
label: "Docs",
position: "left",
},
{
2021-02-15 23:36:37 -08:00
href: "https://github.com/jandedobbeleer/oh-my-posh",
2020-10-05 02:33:12 -07:00
label: "GitHub",
position: "right",
},
],
},
footer: {
style: "dark",
links: [
{
title: "How to",
items: [
{
label: "Getting started",
to: "docs/",
},
{
label: "Packages",
to: "docs/powershell",
2020-10-06 12:01:42 -07:00
},
{
label: "Contributing",
2020-10-22 05:10:33 -07:00
to: "docs/contributing_segment",
2020-10-05 02:33:12 -07:00
},
],
},
{
title: "Social",
items: [
{
label: "GitHub",
2021-02-15 23:36:37 -08:00
href: "https://github.com/jandedobbeleer/oh-my-posh",
2020-10-05 02:33:12 -07:00
},
{
label: "Twitter",
href: "https://twitter.com/jandedobbeleer",
},
],
},
{
2020-10-22 05:10:33 -07:00
title: "Links",
2020-10-05 02:33:12 -07:00
items: [
2020-10-22 05:10:33 -07:00
{
label: "Support",
href: "/docs/#-support-",
},
2020-10-05 02:33:12 -07:00
{
label: "Docusaurus",
href: "https://github.com/facebook/docusaurus",
},
],
},
],
copyright: `Copyright © ${new Date().getFullYear()} Jan De Dobbeleer.`,
},
},
presets: [
[
"@docusaurus/preset-classic",
{
docs: {
sidebarPath: require.resolve("./sidebars.js"),
2021-02-15 23:36:37 -08:00
editUrl: "https://github.com/jandedobbeleer/oh-my-posh/edit/main/docs/",
2020-10-05 02:33:12 -07:00
},
theme: {
customCss: require.resolve("./src/css/custom.css"),
},
},
],
],
};