Skip to content

Commit

Permalink
chore: update docusaurus template (#649)
Browse files Browse the repository at this point in the history
Signed-off-by: aeneasr <aeneasr@users.noreply.github.com>

Co-authored-by: aeneasr <aeneasr@users.noreply.github.com>
  • Loading branch information
aeneasr and aeneasr committed Aug 11, 2020
1 parent 9695381 commit b815482
Show file tree
Hide file tree
Showing 4 changed files with 1,134 additions and 24 deletions.
3 changes: 2 additions & 1 deletion docs/.widdershins/templates/main.dot
Expand Up @@ -50,7 +50,8 @@ share them in a [GitHub issue](https://github.com/ory/docs/issues/new) any time.
{{ var origSchema = data.components.schemas[s]; }}
{{ var schema = data.api.components.schemas[s]; }}

<a id="tocS{{=s.toLowerCase()}}">{{=s}}</a>
<a id="tocS{{=s.toLowerCase()}}"></a>

#### {{=s}}

<a id="schema{{=s.toLowerCase()}}"></a>
Expand Down
1 change: 1 addition & 0 deletions docs/.widdershins/templates/responses.def
Expand Up @@ -21,6 +21,7 @@
{{~}}
{{? data.responseSchemas }}
<a id="{{=data.operationUniqueSlug}}-responseschema"></a>

##### Response Schema
{{~ data.responses :response}}
{{? response.content && !response.$ref && !data.utils.isPrimitive(response.type)}}
Expand Down

0 comments on commit b815482

Please sign in to comment.