-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8 from PixiEditor/fix-links
Update packages and disable trailing slash
- Loading branch information
Showing
3 changed files
with
18,709 additions
and
14,097 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,143 @@ | ||
module.exports = | ||
{ | ||
favicon: 'img/favicon.ico', | ||
title: "PixiEditor", | ||
tagline: 'A beautiful pixel art editor', | ||
url: 'https://pixieditor.net', // Your website URL | ||
baseUrl: '/', // Base URL for your project */ | ||
projectName: "pixieditor.github.io", | ||
organizationName: 'PixiEditor', | ||
scripts: [{ | ||
src: "https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js", | ||
async: true, | ||
["data-ad-client"]: "ca-pub-8372287848779618" | ||
}, | ||
{ | ||
src: "https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-8372287848779618", | ||
async: true, | ||
crossOrigin: "anonymous" | ||
}], | ||
presets: [ | ||
[ | ||
'@docusaurus/preset-classic', | ||
{ | ||
docs: { | ||
// Docs folder path relative to website dir. | ||
path: '../docs', | ||
// Sidebars file relative to website dir. | ||
sidebarPath: require.resolve('./sidebars.json'), | ||
}, | ||
googleAnalytics: { | ||
trackingID: 'G-XLN6FQ07LW', | ||
anonymizeIP: true, | ||
}, | ||
gtag: { | ||
trackingID: 'G-XLN6FQ07LW', | ||
anonymizeIP: true, | ||
}, | ||
theme: { | ||
customCss: [require.resolve('./src/css/theme.css')], | ||
} | ||
// ... | ||
}, | ||
], | ||
], | ||
|
||
themeConfig: { | ||
prism:{ | ||
theme: require('prism-react-renderer/themes/dracula'), | ||
additionalLanguages: ['csharp'], | ||
}, | ||
colorMode: { | ||
defaultMode: "dark", | ||
disableSwitch: true | ||
}, | ||
navbar: { | ||
title: "PixiEditor", | ||
logo: { | ||
alt: "PixiEditor Logo", | ||
src: "img/favicon-96x96.png" | ||
}, | ||
items: [ | ||
{to: 'docs/introduction', label: 'Docs', position: 'left'}, | ||
{to: 'help', label: 'Help', position: 'left'}, | ||
{ | ||
href: 'https://github.com/PixiEditor/PixiEditor', | ||
label: 'GitHub', | ||
position: 'right', | ||
}, | ||
{ | ||
href: 'https://opencollective.com/pixieditor', | ||
label: 'Donate ✨', | ||
position: 'right', | ||
}, | ||
{to: 'blog', label: 'Blog', position: 'left'}, | ||
{to: "colorpicker", label: "Color Picker", position: 'left'} | ||
], | ||
}, | ||
footer: { | ||
logo: { | ||
alt: "PixiEditor Logo", | ||
src: "img/favicon-96x96.png", | ||
href: "/" | ||
}, | ||
links: [ | ||
{ | ||
title: "Docs", | ||
items: [ | ||
{ | ||
label: "Getting started", | ||
to: "docs/Introduction" | ||
} | ||
], | ||
}, | ||
{ | ||
title: "Community", | ||
items: [ | ||
{ | ||
label: "Reddit", | ||
href: "https://www.reddit.com/r/PixiEditor/" | ||
}, | ||
{ | ||
label: "Twitter", | ||
href: "https://twitter.com/PixiEditor" | ||
}, | ||
{ | ||
label: "Discord", | ||
href: "https://discord.gg/qSRMYmq" | ||
}, | ||
{ | ||
label: "YouTube", | ||
href: "https://www.youtube.com/channel/UCT5XvyvX1q5PAIaXfWmpsMQ" | ||
}, | ||
{ | ||
label: "Instagram", | ||
href: "https://instagram.com/pixi.editor" | ||
} | ||
] | ||
}, | ||
{ | ||
title: "More", | ||
items: [ | ||
{ | ||
label: "Donate", | ||
href: "https://opencollective.com/pixieditor" | ||
} | ||
] | ||
}, | ||
{ | ||
title: "Legal", | ||
items: [ | ||
{ | ||
label: "Privacy Policy", | ||
to: "docs/privacy-policy" | ||
} | ||
] | ||
} | ||
], | ||
copyright: `Copyright © ${new Date().getFullYear()} PixiEditor Organization`, | ||
}, | ||
image: "img/PixiEditorBanner.png", | ||
sidebarCollapse: false | ||
}, | ||
}; |
Oops, something went wrong.