nodeguy/website/docusaurus.config.js
Atul R eca218ac79
Adds new doc site (#124)
* Adds base template for new docs site

* Adds Apis to docs

* add some css from rn

* Fix right side sidebar functionality

* Basic docs

* adds old docs

* Cleans up unnecessary files

* Chane links

* Adds docusaurus v2

* Styling fixes

* adds wip and new assets

* adds code image

* Add FAQ link

* Adds analytics

* adds cname

* cleanup blogs
2019-09-29 20:14:35 +02:00

93 lines
2.2 KiB
JavaScript
Executable File

module.exports = {
title: "NodeGui",
tagline:
"Build performant, native, cross platform desktop apps with JavaScript and CSS 🚀",
url: "https://nodegui.org",
baseUrl: "/",
favicon: "img/favicon.ico",
organizationName: "nodegui", // Usually your GitHub org/user name.
projectName: "nodegui", // Usually your repo name.
themeConfig: {
navbar: {
title: "NodeGui",
logo: {
alt: "NodeGui Logo",
src: "img/logo-circle.png"
},
links: [
{ to: "docs/guides/getting-started", label: "Docs", position: "right" },
{ to: "docs/api/QApplication", label: "API", position: "right" },
{ to: "blog", label: "Blog", position: "right" },
{
href: "https://github.com/nodegui/nodegui",
label: "GitHub",
position: "right"
}
]
},
footer: {
style: "dark",
links: [
{
title: "Docs",
items: [
{ to: "docs/guides/getting-started", label: "Getting Started" },
{ to: "docs/api/QApplication", label: "API" }
]
},
{
title: "Community",
items: [
{
label: "Spectrum",
href: "https://spectrum.chat/nodegui"
},
{
label: "Twitter",
to: "https://twitter.com/node_gui"
},
{
label: "Medium",
to: "https://medium.com/nodegui"
}
]
},
{
title: "More",
items: [
{
label: "Blog",
to: "blog"
},
{
label: "React NodeGui",
to: "https://react.nodegui.org"
},
{
label: "FAQ",
to: "docs/faq"
}
]
}
],
copyright: `Copyright © ${new Date().getFullYear()} NodeGui`
},
googleAnalytics: {
trackingID: "UA-145065218-1"
}
},
presets: [
[
"@docusaurus/preset-classic",
{
docs: {
sidebarPath: require.resolve("./sidebars.js")
},
theme: {
customCss: require.resolve("./src/css/custom.css")
}
}
]
]
};