diff --git a/docs/.widdershins/templates/main.dot b/docs/.widdershins/templates/main.dot index bae434fd03..5bd79af7e8 100644 --- a/docs/.widdershins/templates/main.dot +++ b/docs/.widdershins/templates/main.dot @@ -1,14 +1,21 @@ {{? data.api.info.description}}{{=data.api.info.description}}{{?}} -> You are viewing REST API documentation. This documentation is auto-generated from a swagger specification which +import Tabs from '@theme/Tabs' +import TabItem from '@theme/TabItem' + +:::info + +You are viewing REST API documentation. This documentation is auto-generated from a swagger specification which itself is generated from annotations in the source code of the project. It is possible that this documentation includes bugs and that code samples are incomplete or wrong. -> -> If you find issues in the respective documentation, please do not edit the + +If you find issues in the respective documentation, please do not edit the Markdown files directly (as they are generated) but raise an issue on the project's GitHub presence instead. This documentation will improve over time with your help! If you have ideas how to improve this part of the documentation, feel free to share them in a [GitHub issue](https://github.com/ory/docs/issues/new) any time. +::: + {{? data.api.components && data.api.components.securitySchemes }} {{#def.security}} {{?}} @@ -17,6 +24,7 @@ share them in a [GitHub issue](https://github.com/ory/docs/issues/new) any time. {{ data.resource = data.resources[r]; }} + ## {{= r}} {{? data.resource.description }}{{= data.resource.description}}{{?}} diff --git a/docs/.widdershins/templates/operation.dot b/docs/.widdershins/templates/operation.dot index 32ad3d3cf5..c04df1bb83 100644 --- a/docs/.widdershins/templates/operation.dot +++ b/docs/.widdershins/templates/operation.dot @@ -56,27 +56,18 @@ Accept: {{=data.produces[0]}}{{?}} {{? data.options.codeSamples || data.operation["x-code-samples"] }} #### Code samples -