Skip to content

Commit

Permalink
chore: update docusaurus template
Browse files Browse the repository at this point in the history
Signed-off-by: aeneasr <[email protected]>
  • Loading branch information
aeneasr committed Apr 23, 2021
1 parent 408fa61 commit 48a0ed7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/contrib/sidebar.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,12 @@ const toHref = (slug, node) => {

let res = request(
'GET',
`https://raw.githubusercontent.com/ory/${slug}/new-doc-nav/docs/docs/${node}.mdx`
`https://raw.githubusercontent.com/ory/${slug}/master/docs/docs/${node}.mdx`
)
if (res.statusCode === 404) {
res = request(
'GET',
`https://raw.githubusercontent.com/ory/${slug}/new-doc-nav/docs/docs/${node}.md`
`https://raw.githubusercontent.com/ory/${slug}/master/docs/docs/${node}.md`
)
}

Expand All @@ -66,7 +66,7 @@ const resolveRefs = (node) => {

const res = request(
'GET',
`https://raw.githubusercontent.com/ory/${slug}/new-doc-nav/docs/sidebar.json`
`https://raw.githubusercontent.com/ory/${slug}/master/docs/sidebar.json`
)
const items = JSON.parse(res.getBody().toString())

Expand Down

0 comments on commit 48a0ed7

Please sign in to comment.