2021-02-15 18:59:01 +00:00
|
|
|
module.exports = {
|
2021-03-26 13:53:12 +00:00
|
|
|
title: 'Premake',
|
|
|
|
tagline: 'Powerfully simple build configuration',
|
|
|
|
url: 'https://premake.github.io/',
|
|
|
|
baseUrl: '/',
|
2021-03-30 14:02:26 +00:00
|
|
|
scripts: [
|
|
|
|
'https://use.fontawesome.com/dd1c9cd9ff.js'
|
|
|
|
],
|
2021-03-26 13:53:12 +00:00
|
|
|
onBrokenLinks: 'throw',
|
|
|
|
onBrokenMarkdownLinks: 'throw',
|
2021-03-30 14:02:26 +00:00
|
|
|
favicon: 'img/favicon.ico',
|
2021-03-26 13:53:12 +00:00
|
|
|
organizationName: 'premake',
|
|
|
|
projectName: 'premake.github.io',
|
|
|
|
themeConfig: {
|
|
|
|
prism: {
|
|
|
|
additionalLanguages: ['lua'],
|
|
|
|
},
|
2021-04-10 14:55:52 +00:00
|
|
|
algolia: {
|
2021-12-10 18:32:42 +00:00
|
|
|
appId: 'BZ59R9HF86',
|
2022-02-28 19:12:09 +00:00
|
|
|
apiKey: '5c08cdec7a7243eecb271c06cdba3b9f',
|
2021-04-10 14:55:52 +00:00
|
|
|
indexName: 'premake',
|
|
|
|
},
|
2021-03-26 13:53:12 +00:00
|
|
|
navbar: {
|
|
|
|
title: 'Premake',
|
|
|
|
logo: {
|
|
|
|
alt: 'Premake Logo',
|
|
|
|
src: 'img/premake-logo.png',
|
|
|
|
},
|
|
|
|
items: [
|
|
|
|
{
|
|
|
|
to: '/docs/',
|
|
|
|
activeBasePath: 'docs',
|
|
|
|
label: 'Docs',
|
|
|
|
position: 'left',
|
|
|
|
},
|
2021-04-11 13:35:51 +00:00
|
|
|
{
|
|
|
|
to: '/blog',
|
|
|
|
label: 'News',
|
|
|
|
|
|
|
|
},
|
2021-03-26 13:53:12 +00:00
|
|
|
{
|
|
|
|
to: '/community/support',
|
|
|
|
label: 'Community',
|
|
|
|
position: 'left',
|
|
|
|
activeBaseRegex: `/community/`
|
|
|
|
},
|
2021-03-30 14:02:26 +00:00
|
|
|
{
|
|
|
|
href: 'https://twitter.com/premakeapp',
|
|
|
|
position: 'right',
|
|
|
|
className: 'fa fa-twitter fa-2x',
|
|
|
|
'aria-label': 'Premake on Twitter',
|
|
|
|
},
|
2021-03-26 13:53:12 +00:00
|
|
|
{
|
|
|
|
href: 'https://github.com/premake/premake-core',
|
2021-03-30 14:02:26 +00:00
|
|
|
position: 'right',
|
|
|
|
className: 'fa fa-github fa-2x',
|
|
|
|
'aria-label': 'GitHub repository'
|
2021-03-26 13:53:12 +00:00
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
footer: {
|
|
|
|
style: 'dark',
|
|
|
|
links: [
|
|
|
|
{
|
2021-03-30 14:02:26 +00:00
|
|
|
title: 'Learn',
|
2021-03-26 13:53:12 +00:00
|
|
|
items: [
|
|
|
|
{
|
2021-03-30 14:02:26 +00:00
|
|
|
label: 'Introduction',
|
|
|
|
to: '/docs/What-Is-Premake'
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'Download',
|
|
|
|
to: '/download'
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'Your First Script',
|
|
|
|
to: '/docs/Your-First-Script'
|
2021-03-26 13:53:12 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'Premake 4.x',
|
|
|
|
to: 'https://github.com/premake/premake-4.x/wiki',
|
2021-03-30 14:02:26 +00:00
|
|
|
}
|
2021-03-26 13:53:12 +00:00
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
title: 'Community',
|
|
|
|
items: [
|
|
|
|
{
|
2021-03-30 14:02:26 +00:00
|
|
|
label: 'Discussions',
|
|
|
|
href: 'https://github.com/premake/premake-core/discussions',
|
2021-03-26 13:53:12 +00:00
|
|
|
},
|
|
|
|
{
|
2021-03-30 14:02:26 +00:00
|
|
|
label: 'Stack Overflow',
|
|
|
|
href: 'https://stackoverflow.com/questions/tagged/premake',
|
2021-03-26 13:53:12 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'Help',
|
|
|
|
to: '/community/support'
|
|
|
|
}
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
title: 'More',
|
|
|
|
items: [
|
2021-04-11 13:35:51 +00:00
|
|
|
{
|
|
|
|
label: 'Blog',
|
|
|
|
to: '/blog'
|
|
|
|
},
|
2021-03-26 13:53:12 +00:00
|
|
|
{
|
|
|
|
label: 'GitHub',
|
|
|
|
href: 'https://github.com/premake/premake-core/',
|
|
|
|
},
|
2021-03-30 14:02:26 +00:00
|
|
|
{
|
|
|
|
label: 'Twitter',
|
|
|
|
href: 'https://twitter.com/premakeapp',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'OpenCollective',
|
|
|
|
href: 'https://opencollective.com/premake',
|
|
|
|
}
|
2021-03-26 13:53:12 +00:00
|
|
|
],
|
|
|
|
},
|
|
|
|
],
|
|
|
|
copyright: `Copyright © ${new Date().getFullYear()} Premake`,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
presets: [
|
|
|
|
[
|
|
|
|
'@docusaurus/preset-classic',
|
|
|
|
{
|
|
|
|
docs: {
|
|
|
|
sidebarPath: require.resolve('./sidebars.js'),
|
|
|
|
editUrl: 'https://github.com/premake/premake-core/edit/master/website/',
|
|
|
|
showLastUpdateAuthor: true,
|
|
|
|
showLastUpdateTime: true,
|
|
|
|
},
|
2021-04-11 13:35:51 +00:00
|
|
|
blog: {
|
|
|
|
blogSidebarTitle: 'Posts',
|
|
|
|
},
|
2021-03-26 13:53:12 +00:00
|
|
|
theme: {
|
|
|
|
customCss: require.resolve('./src/css/custom.css'),
|
|
|
|
},
|
2021-04-11 13:35:51 +00:00
|
|
|
}
|
2021-03-26 13:53:12 +00:00
|
|
|
],
|
|
|
|
],
|
|
|
|
plugins: [
|
|
|
|
[
|
|
|
|
'@docusaurus/plugin-content-docs',
|
|
|
|
{
|
|
|
|
id: 'community',
|
|
|
|
path: 'community',
|
|
|
|
editUrl: 'https://github.com/premake/premake-core/edit/master/website/',
|
|
|
|
routeBasePath: 'community',
|
|
|
|
sidebarPath: require.resolve('./sidebars-community.js'),
|
|
|
|
showLastUpdateAuthor: true,
|
|
|
|
showLastUpdateTime: true,
|
|
|
|
}
|
|
|
|
]
|
2021-12-09 18:01:42 +00:00
|
|
|
],
|
|
|
|
scripts: [
|
|
|
|
{
|
|
|
|
src: '/js/localizeLastUpdatedDate.js',
|
|
|
|
async: true,
|
|
|
|
defer: true
|
|
|
|
}
|
2021-03-26 13:53:12 +00:00
|
|
|
]
|
2021-02-15 18:59:01 +00:00
|
|
|
};
|