2021-09-18 09:59:24 -07:00
|
|
|
const path = require('path');
|
|
|
|
|
2020-10-05 02:33:12 -07:00
|
|
|
module.exports = {
|
2021-06-05 10:27:33 -07: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",
|
2021-09-18 09:59:24 -07:00
|
|
|
plugins: [path.resolve(__dirname, 'plugins', 'appinsights')],
|
2020-10-05 02:33:12 -07:00
|
|
|
themeConfig: {
|
|
|
|
prism: {
|
2020-12-23 06:24:26 -08:00
|
|
|
theme: require("prism-react-renderer/themes/duotoneLight"),
|
|
|
|
darkTheme: require("prism-react-renderer/themes/oceanicNext"),
|
2021-11-13 04:30:41 -08:00
|
|
|
additionalLanguages: ['powershell', 'lua'],
|
2020-10-05 02:33:12 -07:00
|
|
|
},
|
|
|
|
navbar: {
|
2021-06-05 10:27:33 -07:00
|
|
|
title: "Oh My Posh",
|
2020-10-05 02:33:12 -07:00
|
|
|
logo: {
|
2021-06-05 10:27:33 -07:00
|
|
|
alt: "Oh My Posh Logo",
|
2020-10-05 02:33:12 -07:00
|
|
|
src: "img/logo.svg",
|
|
|
|
},
|
|
|
|
items: [
|
|
|
|
{
|
|
|
|
to: "docs/",
|
|
|
|
activeBasePath: "docs",
|
|
|
|
label: "Docs",
|
|
|
|
position: "left",
|
|
|
|
},
|
2021-05-04 11:58:27 -07:00
|
|
|
{
|
|
|
|
href: "https://github.com/sponsors/JanDeDobbeleer",
|
|
|
|
label: "Sponsor",
|
|
|
|
position: "left",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
href: "https://www.gitkraken.com/invite/nQmDPR9D",
|
|
|
|
label: "GitKraken",
|
|
|
|
position: "left",
|
|
|
|
},
|
2020-10-05 02:33:12 -07:00
|
|
|
{
|
2021-02-15 23:36:37 -08:00
|
|
|
href: "https://github.com/jandedobbeleer/oh-my-posh",
|
2021-10-28 06:27:25 -07:00
|
|
|
className: 'header-github-link',
|
|
|
|
'aria-label': 'GitHub repository',
|
2020-10-05 02:33:12 -07:00
|
|
|
position: "right",
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
footer: {
|
|
|
|
style: "dark",
|
|
|
|
links: [
|
|
|
|
{
|
|
|
|
title: "How to",
|
|
|
|
items: [
|
|
|
|
{
|
|
|
|
label: "Getting started",
|
|
|
|
to: "docs/",
|
|
|
|
},
|
2020-10-06 12:01:42 -07:00
|
|
|
{
|
|
|
|
label: "Contributing",
|
2021-05-04 11:58:27 -07:00
|
|
|
to: "docs/contributing_started",
|
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
|
|
|
{
|
2021-05-04 10:54:55 -07:00
|
|
|
label: "Sponsor",
|
|
|
|
href: "https://github.com/sponsors/JanDeDobbeleer",
|
2020-10-22 05:10:33 -07:00
|
|
|
},
|
2021-05-04 11:58:27 -07:00
|
|
|
{
|
|
|
|
label: "GitKraken",
|
|
|
|
href: "https://www.gitkraken.com/invite/nQmDPR9D",
|
|
|
|
},
|
2020-10-05 02:33:12 -07:00
|
|
|
{
|
|
|
|
label: "Docusaurus",
|
|
|
|
href: "https://github.com/facebook/docusaurus",
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
],
|
2021-07-01 12:05:51 -07:00
|
|
|
copyright: `Copyright © ${new Date().getFullYear()} <a href="https://github.com/sponsors/JanDeDobbeleer" target="_blank">Jan De Dobbeleer</a> and <a href="/docs/contributors">contributors</a>.`,
|
2020-10-05 02:33:12 -07:00
|
|
|
},
|
2021-09-18 09:59:24 -07:00
|
|
|
appInsights: {
|
|
|
|
instrumentationKey: "72804848-dc30-4856-8245-4fa1450b041f",
|
2021-10-21 10:53:38 -07:00
|
|
|
},
|
|
|
|
algolia: {
|
|
|
|
appId: 'BH4D9OD16A',
|
|
|
|
apiKey: '539391a0be386508c6a80cb2bca8ebfe',
|
|
|
|
indexName: 'ohmyposh',
|
|
|
|
},
|
2020-10-05 02:33:12 -07:00
|
|
|
},
|
|
|
|
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"),
|
|
|
|
},
|
|
|
|
},
|
|
|
|
],
|
|
|
|
],
|
|
|
|
};
|