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 Jul 29, 2021
1 parent a0a1329 commit 7ad4f56
Show file tree
Hide file tree
Showing 4 changed files with 309 additions and 308 deletions.
4 changes: 3 additions & 1 deletion docs/contrib/sidebar.js
Expand Up @@ -86,6 +86,8 @@ const resolveRefs = (node) => {

const result = resolveRefs(base)

const docs = [...resolveRefs({ $slug: 'docs' }), ...result]

module.exports = {
docs: resolveRefs(result)
docs
}
45 changes: 20 additions & 25 deletions docs/contrib/sidebar.json
@@ -1,27 +1,22 @@
{
"Developer Documentation": {
"$slug": "docs"
[
{
"Open Source Ory Kratos": {
"$slug": "kratos"
}
},
{
"Open Source Ory Keto": {
"$slug": "keto"
}
},
{
"Open Source Ory Hydra": {
"$slug": "hydra"
}
},
"Open Source Documentation": [
{
"Ory Kratos": {
"$slug": "kratos"
}
},
{
"Ory Keto": {
"$slug": "keto"
}
},
{
"Ory Hydra": {
"$slug": "hydra"
}
},
{
"Ory Oathkeeper": {
"$slug": "oathkeeper"
}
{
"Open Source Ory Oathkeeper": {
"$slug": "oathkeeper"
}
]
}
}
]

0 comments on commit 7ad4f56

Please sign in to comment.