Skip to content

Commit

Permalink
chore: update docusaurus template
Browse files Browse the repository at this point in the history
Signed-off-by: aeneasr <aeneasr@users.noreply.github.com>
  • Loading branch information
aeneasr committed Sep 21, 2020
1 parent 68b28ea commit 31e7885
Show file tree
Hide file tree
Showing 6 changed files with 1,175 additions and 590 deletions.
11 changes: 5 additions & 6 deletions docs/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,13 @@ const config = require('./contrib/config.js')
const fs = require('fs')
const admonitions = require('remark-admonitions')

const githubRepoName =
config.projectSlug === 'ecosystem' ? 'docs' : config.projectSlug
const githubRepoName = config.projectSlug === 'ecosystem'
? 'docs'
: config.projectSlug

const links = [
{
to: '/',
to: "/",
activeBasePath: `${config.projectSlug}/docs`,
label: `Docs`,
position: 'left'
Expand Down Expand Up @@ -79,9 +80,7 @@ module.exports = {
logo: {
alt: config.projectName,
src: `img/logo-${config.projectSlug}.svg`,
href: `https://www.ory.sh/${
config.projectSlug === 'ecosystem' ? '' : config.projectSlug
}`
href: `https://www.ory.sh/${config.projectSlug === 'ecosystem' ? '' : config.projectSlug}`
},
items: links
},
Expand Down

0 comments on commit 31e7885

Please sign in to comment.