Skip to content

Commit

Permalink
chore: update docusaurus template (#1492)
Browse files Browse the repository at this point in the history
Signed-off-by: aeneasr <[email protected]>

Co-authored-by: aeneasr <[email protected]>
  • Loading branch information
aeneasr and aeneasr authored Jul 5, 2021
1 parent af54d5b commit 445f6ef
Show file tree
Hide file tree
Showing 4 changed files with 2,760 additions and 2,525 deletions.
4 changes: 2 additions & 2 deletions docs/contrib/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
margin: 32px;
}

.menu__link[href*="https://"]:after
{
.menu__link[href*="https://"] svg,
svg[class*="iconExternalLink"] {
display: none !important;
}
3 changes: 2 additions & 1 deletion docs/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,8 @@ module.exports = {
? 'contrib/docs'
: 'docs',
sidebarPath: require.resolve('./contrib/sidebar.js'),
editUrl: `https://github.com/ory/${githubRepoName}/edit/master/docs`,
editUrl: ({ docPath }) =>
`https://github.com/ory/${githubRepoName}/edit/master/docs/docs/${docPath}`,
routeBasePath: '/',
showLastUpdateAuthor: true,
showLastUpdateTime: true,
Expand Down
Loading

0 comments on commit 445f6ef

Please sign in to comment.