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

97 lines
2.2 KiB
JavaScript
Raw Normal View History

2020-10-05 02:33:12 -07:00
module.exports = {
title: "Oh my Posh 3",
tagline: "A prompt theme engine for any shell.",
url: "https://ohmyposh.dev",
baseUrl: "/",
favicon: "img/favicon.ico",
organizationName: "jandedobbeleer",
projectName: "oh-my-posh3",
onBrokenLinks: "ignore",
themeConfig: {
sidebarCollapsible: false,
prism: {
theme: require("prism-react-renderer/themes/github"),
darkTheme: require("prism-react-renderer/themes/dracula"),
},
navbar: {
title: "Oh my Posh",
logo: {
alt: "Oh my Posh Logo",
src: "img/logo.svg",
},
items: [
{
to: "docs/",
activeBasePath: "docs",
label: "Docs",
position: "left",
},
{
href: "https://github.com/jandedobbeleer/oh-my-posh3",
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",
to: "docs/contributing",
2020-10-05 02:33:12 -07:00
},
],
},
{
title: "Social",
items: [
{
label: "GitHub",
href: "https://github.com/jandedobbeleer/oh-my-posh3",
},
{
label: "Twitter",
href: "https://twitter.com/jandedobbeleer",
},
],
},
{
title: "Built with",
items: [
{
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"),
2020-10-05 10:44:46 -07:00
editUrl: "https://github.com/jandedobbeleer/oh-my-posh3/edit/main/docs/",
2020-10-05 02:33:12 -07:00
},
theme: {
customCss: require.resolve("./src/css/custom.css"),
},
},
],
],
};