Skip to content

Commit

Permalink
fix: update docs website configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
Kyle Pfromer committed Sep 9, 2020
1 parent 5efb6c0 commit ed8fcdf
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 27 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -225,3 +225,5 @@ build/
# example project
example/dist
example/node_modules

.docusaurus
54 changes: 27 additions & 27 deletions website/docusaurus.config.js
Original file line number Diff line number Diff line change
@@ -1,50 +1,50 @@
module.exports = {
title: 'nestjs-typegoose',
tagline: 'Combine NestJS with Typegoose to reduce clutter',
url: 'https://kpfromer.github.io',
baseUrl: '/nestjs-typegoose/',
favicon: 'img/favicon.ico',
organizationName: 'kpfromer',
projectName: 'nestjs-typegoose',
title: "nestjs-typegoose",
tagline: "Combine NestJS with Typegoose to reduce clutter",
url: "https://kpfromer.github.io",
baseUrl: "/nestjs-typegoose/",
favicon: "img/favicon.ico",
organizationName: "kpfromer",
projectName: "nestjs-typegoose",
themeConfig: {
navbar: {
title: 'Nestjs Typegoose',
title: "Nestjs Typegoose",
// logo: {
// alt: 'My Site Logo',
// src: 'img/logo.svg',
// },
links: [
{to: 'docs/install', label: 'Docs', position: 'left'},
items: [
{ to: "docs/install", label: "Docs", position: "left" },
{
href: 'https://github.com/kpfromer/nestjs-typegoose',
label: 'GitHub',
position: 'right',
href: "https://github.com/kpfromer/nestjs-typegoose",
label: "GitHub",
position: "right",
},
],
},
footer: {
style: 'dark',
style: "dark",
links: [
{
title: 'Docs',
title: "Docs",
items: [
{
label: 'Installation',
to: 'docs/install',
label: "Installation",
to: "docs/install",
},
{
label: 'Getting Started',
to: 'docs/usage',
label: "Getting Started",
to: "docs/usage",
},
],
},
{
title: 'Social',
title: "Social",
items: [
{
label: 'GitHub',
href: 'https://github.com/kpfromer/nestjs-typegoose',
}
label: "GitHub",
href: "https://github.com/kpfromer/nestjs-typegoose",
},
],
},
],
Expand All @@ -53,15 +53,15 @@ module.exports = {
},
presets: [
[
'@docusaurus/preset-classic',
"@docusaurus/preset-classic",
{
docs: {
sidebarPath: require.resolve('./sidebars.js'),
sidebarPath: require.resolve("./sidebars.js"),
editUrl:
'https://github.com/kpfromer/nestjs-typegoose/edit/master/website/',
"https://github.com/kpfromer/nestjs-typegoose/edit/master/website/",
},
theme: {
customCss: require.resolve('./src/css/custom.css'),
customCss: require.resolve("./src/css/custom.css"),
},
},
],
Expand Down

0 comments on commit ed8fcdf

Please sign in to comment.