2021-09-18 09:59:24 -07:00
|
|
|
const path = require('path');
|
|
|
|
|
2020-10-05 02:33:12 -07:00
|
|
|
module.exports = {
|
2022-03-20 13:25:47 -07:00
|
|
|
title: 'Oh My Posh',
|
|
|
|
tagline: 'A prompt theme engine for any shell.',
|
|
|
|
url: 'https://ohmyposh.dev',
|
|
|
|
baseUrl: '/',
|
2024-09-09 23:33:36 -07:00
|
|
|
favicon: 'img/favicons.svg',
|
2022-03-20 13:25:47 -07:00
|
|
|
organizationName: 'jandedobbeleer',
|
|
|
|
projectName: 'oh-my-posh',
|
|
|
|
onBrokenLinks: 'ignore',
|
2022-01-10 08:39:41 -08:00
|
|
|
plugins: [
|
|
|
|
path.resolve(__dirname, 'plugins', 'appinsights'),
|
|
|
|
'docusaurus-node-polyfills'
|
|
|
|
],
|
2022-07-27 04:24:48 -07:00
|
|
|
stylesheets: [
|
|
|
|
"https://rsms.me/inter/inter.css",
|
|
|
|
"https://fonts.googleapis.com/css2?family=Fira+Code&display=swap"
|
|
|
|
],
|
2020-10-05 02:33:12 -07:00
|
|
|
themeConfig: {
|
2024-08-30 23:37:37 -07:00
|
|
|
colorMode: {
|
|
|
|
defaultMode: 'light',
|
|
|
|
disableSwitch: false,
|
|
|
|
respectPrefersColorScheme: true,
|
|
|
|
},
|
2020-10-05 02:33:12 -07:00
|
|
|
prism: {
|
2023-11-19 02:58:42 -08:00
|
|
|
additionalLanguages: ['powershell', 'lua', 'jsstacktrace', 'toml', 'json', 'yaml'],
|
2020-10-05 02:33:12 -07:00
|
|
|
},
|
|
|
|
navbar: {
|
2022-03-20 13:25:47 -07:00
|
|
|
title: 'Oh My Posh',
|
2020-10-05 02:33:12 -07:00
|
|
|
logo: {
|
2022-03-20 13:25:47 -07:00
|
|
|
alt: 'Oh My Posh Logo',
|
2024-09-02 16:15:55 -07:00
|
|
|
src: 'img/logo-dark.svg',
|
|
|
|
srcDark: 'img/logo-light.svg',
|
2020-10-05 02:33:12 -07:00
|
|
|
},
|
|
|
|
items: [
|
|
|
|
{
|
2022-03-20 13:25:47 -07:00
|
|
|
to: 'docs',
|
|
|
|
activeBasePath: 'docs',
|
|
|
|
label: 'Docs',
|
|
|
|
position: 'left',
|
2020-10-05 02:33:12 -07:00
|
|
|
},
|
2021-05-04 11:58:27 -07:00
|
|
|
{
|
2022-03-20 13:25:47 -07:00
|
|
|
to: 'blog',
|
|
|
|
label: 'Blog',
|
|
|
|
position: 'left'
|
2021-05-04 11:58:27 -07:00
|
|
|
},
|
2022-03-18 12:15:06 -07:00
|
|
|
{
|
2022-03-20 13:25:47 -07:00
|
|
|
href: 'https://github.com/sponsors/JanDeDobbeleer',
|
|
|
|
label: 'Sponsor',
|
|
|
|
position: 'left',
|
2022-03-18 12:15:06 -07:00
|
|
|
},
|
2020-10-05 02:33:12 -07:00
|
|
|
{
|
2022-03-20 13:25:47 -07:00
|
|
|
href: 'https://swag.ohmyposh.dev',
|
|
|
|
label: 'Swag',
|
|
|
|
position: 'left',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
href: 'https://github.com/jandedobbeleer/oh-my-posh',
|
2021-10-28 06:27:25 -07:00
|
|
|
className: 'header-github-link',
|
|
|
|
'aria-label': 'GitHub repository',
|
2022-03-20 13:25:47 -07:00
|
|
|
position: 'right',
|
2020-10-05 02:33:12 -07:00
|
|
|
},
|
2021-12-22 05:43:10 -08:00
|
|
|
{
|
2022-03-20 13:25:47 -07:00
|
|
|
href: 'https://www.gitkraken.com/invite/nQmDPR9D',
|
2021-12-22 05:43:10 -08:00
|
|
|
className: 'header-gk-link',
|
|
|
|
'aria-label': 'GitKraken',
|
2022-03-20 13:25:47 -07:00
|
|
|
position: 'right',
|
2021-12-22 05:43:10 -08:00
|
|
|
},
|
2022-12-23 04:24:53 -08:00
|
|
|
{
|
|
|
|
href: 'https://discord.gg/n7E3DkXssv',
|
|
|
|
className: 'header-discord-link',
|
|
|
|
'aria-label': 'Discord',
|
|
|
|
position: 'right',
|
2023-04-29 11:48:56 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
href: 'https://staging.bsky.app/profile/ohmyposh.dev',
|
|
|
|
className: 'header-bluesky-link',
|
|
|
|
'aria-label': 'Bluesky',
|
|
|
|
position: 'right',
|
2021-12-22 05:00:21 -08:00
|
|
|
}
|
2020-10-05 02:33:12 -07:00
|
|
|
],
|
|
|
|
},
|
|
|
|
footer: {
|
2022-03-20 13:25:47 -07:00
|
|
|
style: 'dark',
|
2020-10-05 02:33:12 -07:00
|
|
|
links: [
|
|
|
|
{
|
2022-03-20 13:25:47 -07:00
|
|
|
title: 'How to',
|
2020-10-05 02:33:12 -07:00
|
|
|
items: [
|
|
|
|
{
|
2022-03-20 13:25:47 -07:00
|
|
|
label: 'Getting started',
|
|
|
|
to: 'docs/',
|
2020-10-05 02:33:12 -07:00
|
|
|
},
|
2020-10-06 12:01:42 -07:00
|
|
|
{
|
2022-03-20 13:25:47 -07:00
|
|
|
label: 'Contributing',
|
2022-05-04 16:46:05 -07:00
|
|
|
to: 'docs/contributing/started',
|
2020-10-05 02:33:12 -07:00
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
2022-03-20 13:25:47 -07:00
|
|
|
title: 'Social',
|
2020-10-05 02:33:12 -07:00
|
|
|
items: [
|
|
|
|
{
|
2022-03-20 13:25:47 -07:00
|
|
|
label: 'GitHub',
|
|
|
|
href: 'https://github.com/jandedobbeleer/oh-my-posh',
|
2020-10-05 02:33:12 -07:00
|
|
|
},
|
|
|
|
{
|
2023-04-29 11:48:56 -07:00
|
|
|
label: 'Discord',
|
|
|
|
href: 'https://discord.gg/n7E3DkXssv',
|
2020-10-05 02:33:12 -07:00
|
|
|
},
|
2022-11-29 00:39:26 -08:00
|
|
|
{
|
2023-04-29 11:48:56 -07:00
|
|
|
label: 'Bluesky',
|
|
|
|
href: 'https://staging.bsky.app/profile/ohmyposh.dev',
|
2022-11-29 00:39:26 -08:00
|
|
|
}
|
2020-10-05 02:33:12 -07:00
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
2022-03-20 13:25:47 -07:00
|
|
|
title: 'Links',
|
2020-10-05 02:33:12 -07:00
|
|
|
items: [
|
2020-10-22 05:10:33 -07:00
|
|
|
{
|
2022-03-20 13:25:47 -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
|
|
|
{
|
2022-03-20 13:25:47 -07:00
|
|
|
label: 'GitKraken',
|
|
|
|
href: 'https://www.gitkraken.com/invite/nQmDPR9D',
|
2021-05-04 11:58:27 -07:00
|
|
|
},
|
2020-10-05 02:33:12 -07:00
|
|
|
{
|
2022-03-20 13:25:47 -07:00
|
|
|
label: 'Docusaurus',
|
|
|
|
href: 'https://github.com/facebook/docusaurus',
|
2020-10-05 02:33:12 -07:00
|
|
|
},
|
2023-05-08 04:15:23 -07:00
|
|
|
{
|
|
|
|
label: 'Privacy',
|
|
|
|
href: '/privacy',
|
|
|
|
},
|
2020-10-05 02:33:12 -07:00
|
|
|
],
|
|
|
|
},
|
|
|
|
],
|
2022-03-20 13:25:47 -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
|
|
|
},
|
2024-06-12 00:38:45 -07:00
|
|
|
announcementBar: {
|
|
|
|
id: 'support_us',
|
|
|
|
content:
|
2024-06-21 07:14:15 -07:00
|
|
|
'If you\'re enjoying Oh My Posh, consider becoming a <a target="_blank" rel="noopener noreferrer" href="https://github.com/sponsors/JanDeDobbeleer">sponsor</a> to keep the project going strong 💪',
|
2024-06-12 00:38:45 -07:00
|
|
|
backgroundColor: '#2c7ae0',
|
|
|
|
textColor: '#ffffff',
|
|
|
|
isCloseable: false,
|
|
|
|
},
|
2021-09-18 09:59:24 -07:00
|
|
|
appInsights: {
|
2023-02-02 05:05:55 -08:00
|
|
|
instrumentationKey: '51741aa7-e087-4e80-b7b0-0863d467462a',
|
2021-10-21 10:53:38 -07:00
|
|
|
},
|
|
|
|
algolia: {
|
2022-02-03 02:55:07 -08:00
|
|
|
appId: 'XIR4RB3TM1',
|
|
|
|
apiKey: '15c5f4340520612ed98fe21d15882029',
|
2021-10-21 10:53:38 -07:00
|
|
|
indexName: 'ohmyposh',
|
|
|
|
},
|
2020-10-05 02:33:12 -07:00
|
|
|
},
|
|
|
|
presets: [
|
|
|
|
[
|
2022-03-20 13:25:47 -07:00
|
|
|
'@docusaurus/preset-classic',
|
2020-10-05 02:33:12 -07:00
|
|
|
{
|
|
|
|
docs: {
|
2022-03-20 13:25:47 -07:00
|
|
|
sidebarPath: require.resolve('./sidebars.js'),
|
2022-05-12 22:54:59 -07:00
|
|
|
editUrl: 'https://github.com/jandedobbeleer/oh-my-posh/edit/main/website/',
|
2020-10-05 02:33:12 -07:00
|
|
|
},
|
|
|
|
theme: {
|
2022-01-10 12:59:49 -08:00
|
|
|
customCss: [
|
2022-07-27 04:24:48 -07:00
|
|
|
require.resolve('./src/css/prism-rose-pine-moon.css'),
|
|
|
|
require.resolve('./src/css/custom.css')
|
2022-01-10 12:59:49 -08:00
|
|
|
],
|
2020-10-05 02:33:12 -07:00
|
|
|
},
|
2024-09-02 02:52:44 -07:00
|
|
|
blog: {
|
|
|
|
onInlineAuthors: 'ignore'
|
|
|
|
},
|
2020-10-05 02:33:12 -07:00
|
|
|
},
|
|
|
|
],
|
|
|
|
],
|
|
|
|
};
|