nodeguy/website/docusaurus.config.js
Atul R 392aa3cd4c
Adds automatic docs for now (#308)
* adds basic typedoc

* backup

* Adds all docs to source code

* Adds autogenerated docs

* Fixes doc links

* Updates docs
2019-12-29 00:42:06 +05:30

92 lines
3.0 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/manual/synopsis', 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/manual/synopsis', 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'),
},
},
],
],
};