-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use completely isolated docusaurus configs
- Loading branch information
Showing
4 changed files
with
251 additions
and
10 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 |
---|---|---|
@@ -1,6 +1,124 @@ | ||
const base = require('./docusaurus.config'); | ||
|
||
module.exports = { | ||
...base, | ||
title: 'Effection', | ||
tagline: 'Structured Concurrency for JavaScript', | ||
url: 'https://frontside.com', | ||
baseUrl: '/v2/', | ||
} | ||
onBrokenLinks: 'throw', | ||
favicon: 'images/favicon-effection.png', | ||
organizationName: 'thefrontside', | ||
projectName: 'effection', | ||
themeConfig: { | ||
colorMode: { | ||
disableSwitch: true, | ||
respectPrefersColorScheme: true, | ||
}, | ||
prism: { | ||
theme: require('prism-react-renderer/themes/nightOwl'), | ||
}, | ||
navbar: { | ||
title: 'Effection', | ||
logo: { | ||
alt: 'Effection', | ||
src: 'images/effection-logo.svg' | ||
}, | ||
items: [ | ||
{ | ||
to: '/docs', | ||
label: 'Guides', | ||
position: "right", | ||
}, | ||
{ | ||
href: 'https://frontside.com/effection/api/index.html', | ||
label: 'API Reference', | ||
position: 'right', | ||
}, | ||
{ | ||
href: 'https://github.com/thefrontside/effection', | ||
label: 'GitHub', | ||
position: 'right', | ||
}, | ||
{ | ||
href: 'https://discord.gg/r6AvtnU', | ||
label: 'Discord', | ||
position: 'right', | ||
} | ||
], | ||
}, | ||
footer: { | ||
style: 'light', | ||
links: [ | ||
{ | ||
title: 'About', | ||
items: [ | ||
{ | ||
label: "Maintained by Frontside", | ||
href: "https://frontside.com/", | ||
}, | ||
] | ||
}, | ||
{ | ||
title: "OSS Projects", | ||
items: [ | ||
{ | ||
label: "Interactors", | ||
href: "https://frontside.com/effection", | ||
}, | ||
{ | ||
label: "Bigtest", | ||
href: "https://frontside.com/bigtest", | ||
}, | ||
{ | ||
label: "Effection", | ||
to: "/", | ||
}, | ||
], | ||
}, | ||
{ | ||
title: 'Community', | ||
items: [ | ||
{ | ||
label: 'Discord', | ||
href: 'https://discord.gg/r6AvtnU', | ||
}, | ||
{ | ||
label: 'GitHub', | ||
href: 'https://github.com/thefrontside/effection', | ||
} | ||
], | ||
} | ||
], | ||
copyright: `Copyright © ${new Date().getFullYear()} The Frontside Software, Inc.`, | ||
}, | ||
image: 'images/meta-effection.png' | ||
}, | ||
presets: [ | ||
[ | ||
'@docusaurus/preset-classic', | ||
{ | ||
docs: { | ||
sidebarPath: require.resolve('./sidebars.js'), | ||
}, | ||
theme: { | ||
customCss: require.resolve('./src/css/custom.css'), | ||
}, | ||
}, | ||
], | ||
], | ||
stylesheets: ["https://use.typekit.net/ugs0ewy.css"], | ||
plugins: [ | ||
[ | ||
require.resolve("./plugins/docusaurus-plugin-vanilla-extract"), | ||
{ | ||
/* options */ | ||
}, | ||
], | ||
], | ||
scripts: [ | ||
{ | ||
src: "https://plausible.io/js/plausible.js", | ||
async: true, | ||
defer: true, | ||
"data-domain": "frontside.com/effection", | ||
}, | ||
], | ||
}; |
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 |
---|---|---|
@@ -1,6 +1,124 @@ | ||
const base = require('./docusaurus.config'); | ||
|
||
module.exports = { | ||
...base, | ||
baseUrl: 'effection/v2/', | ||
} | ||
title: 'Effection', | ||
tagline: 'Structured Concurrency for JavaScript', | ||
url: 'https://frontside.com', | ||
baseUrl: '/effection/v2/', | ||
onBrokenLinks: 'throw', | ||
favicon: 'images/favicon-effection.png', | ||
organizationName: 'thefrontside', | ||
projectName: 'effection', | ||
themeConfig: { | ||
colorMode: { | ||
disableSwitch: true, | ||
respectPrefersColorScheme: true, | ||
}, | ||
prism: { | ||
theme: require('prism-react-renderer/themes/nightOwl'), | ||
}, | ||
navbar: { | ||
title: 'Effection', | ||
logo: { | ||
alt: 'Effection', | ||
src: 'images/effection-logo.svg' | ||
}, | ||
items: [ | ||
{ | ||
to: '/docs', | ||
label: 'Guides', | ||
position: "right", | ||
}, | ||
{ | ||
href: 'https://frontside.com/effection/api/index.html', | ||
label: 'API Reference', | ||
position: 'right', | ||
}, | ||
{ | ||
href: 'https://github.com/thefrontside/effection', | ||
label: 'GitHub', | ||
position: 'right', | ||
}, | ||
{ | ||
href: 'https://discord.gg/r6AvtnU', | ||
label: 'Discord', | ||
position: 'right', | ||
} | ||
], | ||
}, | ||
footer: { | ||
style: 'light', | ||
links: [ | ||
{ | ||
title: 'About', | ||
items: [ | ||
{ | ||
label: "Maintained by Frontside", | ||
href: "https://frontside.com/", | ||
}, | ||
] | ||
}, | ||
{ | ||
title: "OSS Projects", | ||
items: [ | ||
{ | ||
label: "Interactors", | ||
href: "https://frontside.com/effection", | ||
}, | ||
{ | ||
label: "Bigtest", | ||
href: "https://frontside.com/bigtest", | ||
}, | ||
{ | ||
label: "Effection", | ||
to: "/", | ||
}, | ||
], | ||
}, | ||
{ | ||
title: 'Community', | ||
items: [ | ||
{ | ||
label: 'Discord', | ||
href: 'https://discord.gg/r6AvtnU', | ||
}, | ||
{ | ||
label: 'GitHub', | ||
href: 'https://github.com/thefrontside/effection', | ||
} | ||
], | ||
} | ||
], | ||
copyright: `Copyright © ${new Date().getFullYear()} The Frontside Software, Inc.`, | ||
}, | ||
image: 'images/meta-effection.png' | ||
}, | ||
presets: [ | ||
[ | ||
'@docusaurus/preset-classic', | ||
{ | ||
docs: { | ||
sidebarPath: require.resolve('./sidebars.js'), | ||
}, | ||
theme: { | ||
customCss: require.resolve('./src/css/custom.css'), | ||
}, | ||
}, | ||
], | ||
], | ||
stylesheets: ["https://use.typekit.net/ugs0ewy.css"], | ||
plugins: [ | ||
[ | ||
require.resolve("./plugins/docusaurus-plugin-vanilla-extract"), | ||
{ | ||
/* options */ | ||
}, | ||
], | ||
], | ||
scripts: [ | ||
{ | ||
src: "https://plausible.io/js/plausible.js", | ||
async: true, | ||
defer: true, | ||
"data-domain": "frontside.com/effection", | ||
}, | ||
], | ||
}; |
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
db37427
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Failed to deploy:
db37427
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Failed to deploy: