Skip to content

Commit

Permalink
autogen(docs): generate and format documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
aeneasr committed May 5, 2020
1 parent d901354 commit 15ce3d8
Show file tree
Hide file tree
Showing 12 changed files with 696 additions and 799 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ git clone https://github.com/ory/kratos.git
# or if you have git+ssh set up:
# git clone git@github.com:ory/kratos.git
cd kratos
git checkout v0.2.0-alpha.2
git checkout v0.2.1-alpha.1

docker pull oryd/kratos:latest-sqlite
docker pull oryd/kratos-selfservice-ui-node:latest
Expand Down
4 changes: 2 additions & 2 deletions docs/docs/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ binaries, Docker Images and support various package managers.
We recommend using Docker to run ORY Kratos:

```shell
$ docker pull oryd/kratos:v0.2.0-alpha.2
$ docker pull oryd/kratos:v0.2.1-alpha.1
$ docker run --rm -it oryd/kratos help
```

Expand All @@ -31,7 +31,7 @@ On linux, you can use `bash <(curl ...)` to fetch the latest stable binary
using:

```shell
$ bash <(curl https://raw.githubusercontent.com/ory/kratos/master/install.sh) -b . v0.2.0-alpha.2
$ bash <(curl https://raw.githubusercontent.com/ory/kratos/master/install.sh) -b . v0.2.1-alpha.1
$ ./kratos help
```

Expand Down
2 changes: 1 addition & 1 deletion docs/docs/quickstart.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ git clone https://github.com/ory/kratos.git
# or if you have git+ssh set up:
# git clone git@github.com:ory/kratos.git
cd kratos
git checkout v0.1.1-alpha.1
git checkout v0.2.1-alpha.1
make quickstart

# or if you don't have make installed:
Expand Down
100 changes: 50 additions & 50 deletions docs/docs/reference/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -439,11 +439,11 @@ Status Code **200**
{
"addresses": [
{
"expires_at": "2020-04-30T11:21:09Z",
"expires_at": "2020-05-05T09:51:17Z",
"id": "string",
"value": "string",
"verified": true,
"verified_at": "2020-04-30T11:21:09Z",
"verified_at": "2020-05-05T09:51:17Z",
"via": "string"
}
],
Expand Down Expand Up @@ -617,11 +617,11 @@ Learn how identities work in
{
"addresses": [
{
"expires_at": "2020-04-30T11:21:09Z",
"expires_at": "2020-05-05T09:51:17Z",
"id": "string",
"value": "string",
"verified": true,
"verified_at": "2020-04-30T11:21:09Z",
"verified_at": "2020-05-05T09:51:17Z",
"via": "string"
}
],
Expand Down Expand Up @@ -660,11 +660,11 @@ Learn how identities work in
{
"addresses": [
{
"expires_at": "2020-04-30T11:21:09Z",
"expires_at": "2020-05-05T09:51:17Z",
"id": "string",
"value": "string",
"verified": true,
"verified_at": "2020-04-30T11:21:09Z",
"verified_at": "2020-05-05T09:51:17Z",
"via": "string"
}
],
Expand Down Expand Up @@ -737,11 +737,11 @@ const fetch = require('node-fetch');
const input = '{
"addresses": [
{
"expires_at": "2020-04-30T11:21:09Z",
"expires_at": "2020-05-05T09:51:17Z",
"id": "string",
"value": "string",
"verified": true,
"verified_at": "2020-04-30T11:21:09Z",
"verified_at": "2020-05-05T09:51:17Z",
"via": "string"
}
],
Expand Down Expand Up @@ -873,11 +873,11 @@ Learn how identities work in
{
"addresses": [
{
"expires_at": "2020-04-30T11:21:09Z",
"expires_at": "2020-05-05T09:51:17Z",
"id": "string",
"value": "string",
"verified": true,
"verified_at": "2020-04-30T11:21:09Z",
"verified_at": "2020-05-05T09:51:17Z",
"via": "string"
}
],
Expand Down Expand Up @@ -1053,11 +1053,11 @@ Learn how identities work in
{
"addresses": [
{
"expires_at": "2020-04-30T11:21:09Z",
"expires_at": "2020-05-05T09:51:17Z",
"id": "string",
"value": "string",
"verified": true,
"verified_at": "2020-04-30T11:21:09Z",
"verified_at": "2020-05-05T09:51:17Z",
"via": "string"
}
],
Expand Down Expand Up @@ -1098,11 +1098,11 @@ Learn how identities work in
{
"addresses": [
{
"expires_at": "2020-04-30T11:21:09Z",
"expires_at": "2020-05-05T09:51:17Z",
"id": "string",
"value": "string",
"verified": true,
"verified_at": "2020-04-30T11:21:09Z",
"verified_at": "2020-05-05T09:51:17Z",
"via": "string"
}
],
Expand Down Expand Up @@ -1175,11 +1175,11 @@ const fetch = require('node-fetch');
const input = '{
"addresses": [
{
"expires_at": "2020-04-30T11:21:09Z",
"expires_at": "2020-05-05T09:51:17Z",
"id": "string",
"value": "string",
"verified": true,
"verified_at": "2020-04-30T11:21:09Z",
"verified_at": "2020-05-05T09:51:17Z",
"via": "string"
}
],
Expand Down Expand Up @@ -1708,10 +1708,10 @@ your application (e.g. `/login?request=abcde`).
```json
{
"active": "string",
"expires_at": "2020-04-30T11:21:09Z",
"expires_at": "2020-05-05T09:51:17Z",
"forced": true,
"id": "string",
"issued_at": "2020-04-30T11:21:09Z",
"issued_at": "2020-05-05T09:51:17Z",
"methods": {
"property1": {
"config": {
Expand Down Expand Up @@ -1999,9 +1999,9 @@ your application (e.g. `/registration?request=abcde`).
```json
{
"active": "string",
"expires_at": "2020-04-30T11:21:09Z",
"expires_at": "2020-05-05T09:51:17Z",
"id": "string",
"issued_at": "2020-04-30T11:21:09Z",
"issued_at": "2020-05-05T09:51:17Z",
"methods": {
"property1": {
"config": {
Expand Down Expand Up @@ -2286,16 +2286,16 @@ your application (e.g. `/login?request=abcde`).
```json
{
"active": "string",
"expires_at": "2020-04-30T11:21:09Z",
"expires_at": "2020-05-05T09:51:17Z",
"id": "string",
"identity": {
"addresses": [
{
"expires_at": "2020-04-30T11:21:09Z",
"expires_at": "2020-05-05T09:51:17Z",
"id": "string",
"value": "string",
"verified": true,
"verified_at": "2020-04-30T11:21:09Z",
"verified_at": "2020-05-05T09:51:17Z",
"via": "string"
}
],
Expand All @@ -2304,7 +2304,7 @@ your application (e.g. `/login?request=abcde`).
"traits_schema_id": "string",
"traits_schema_url": "string"
},
"issued_at": "2020-04-30T11:21:09Z",
"issued_at": "2020-05-05T09:51:17Z",
"methods": {
"property1": {
"config": {
Expand Down Expand Up @@ -2558,7 +2558,7 @@ your application (e.g. `/verify?request=abcde`).

```json
{
"expires_at": "2020-04-30T11:21:09Z",
"expires_at": "2020-05-05T09:51:17Z",
"form": {
"action": "string",
"errors": [
Expand All @@ -2584,7 +2584,7 @@ your application (e.g. `/verify?request=abcde`).
"method": "string"
},
"id": "string",
"issued_at": "2020-04-30T11:21:09Z",
"issued_at": "2020-05-05T09:51:17Z",
"request_url": "string",
"success": true,
"via": "string"
Expand Down Expand Up @@ -4555,16 +4555,16 @@ This endpoint is useful for reverse proxies and API Gateways.

```json
{
"authenticated_at": "2020-04-30T11:21:09Z",
"expires_at": "2020-04-30T11:21:09Z",
"authenticated_at": "2020-05-05T09:51:17Z",
"expires_at": "2020-05-05T09:51:17Z",
"identity": {
"addresses": [
{
"expires_at": "2020-04-30T11:21:09Z",
"expires_at": "2020-05-05T09:51:17Z",
"id": "string",
"value": "string",
"verified": true,
"verified_at": "2020-04-30T11:21:09Z",
"verified_at": "2020-05-05T09:51:17Z",
"via": "string"
}
],
Expand All @@ -4573,7 +4573,7 @@ This endpoint is useful for reverse proxies and API Gateways.
"traits_schema_id": "string",
"traits_schema_url": "string"
},
"issued_at": "2020-04-30T11:21:09Z",
"issued_at": "2020-05-05T09:51:17Z",
"sid": "string"
}
```
Expand Down Expand Up @@ -4946,11 +4946,11 @@ credentials, passwordless credentials,_
{
"addresses": [
{
"expires_at": "2020-04-30T11:21:09Z",
"expires_at": "2020-05-05T09:51:17Z",
"id": "string",
"value": "string",
"verified": true,
"verified_at": "2020-04-30T11:21:09Z",
"verified_at": "2020-05-05T09:51:17Z",
"via": "string"
}
],
Expand Down Expand Up @@ -5051,11 +5051,11 @@ _None_

```json
{
"expires_at": "2020-04-30T11:21:09Z",
"expires_at": "2020-05-05T09:51:17Z",
"id": "string",
"value": "string",
"verified": true,
"verified_at": "2020-04-30T11:21:09Z",
"verified_at": "2020-05-05T09:51:17Z",
"via": "string"
}
```
Expand Down Expand Up @@ -5354,10 +5354,10 @@ _Error response_
```json
{
"active": "string",
"expires_at": "2020-04-30T11:21:09Z",
"expires_at": "2020-05-05T09:51:17Z",
"forced": true,
"id": "string",
"issued_at": "2020-04-30T11:21:09Z",
"issued_at": "2020-05-05T09:51:17Z",
"methods": {
"property1": {
"config": {
Expand Down Expand Up @@ -5586,9 +5586,9 @@ _Error response_
```json
{
"active": "string",
"expires_at": "2020-04-30T11:21:09Z",
"expires_at": "2020-05-05T09:51:17Z",
"id": "string",
"issued_at": "2020-04-30T11:21:09Z",
"issued_at": "2020-05-05T09:51:17Z",
"methods": {
"property1": {
"config": {
Expand Down Expand Up @@ -5815,16 +5815,16 @@ _Error response_

```json
{
"authenticated_at": "2020-04-30T11:21:09Z",
"expires_at": "2020-04-30T11:21:09Z",
"authenticated_at": "2020-05-05T09:51:17Z",
"expires_at": "2020-05-05T09:51:17Z",
"identity": {
"addresses": [
{
"expires_at": "2020-04-30T11:21:09Z",
"expires_at": "2020-05-05T09:51:17Z",
"id": "string",
"value": "string",
"verified": true,
"verified_at": "2020-04-30T11:21:09Z",
"verified_at": "2020-05-05T09:51:17Z",
"via": "string"
}
],
Expand All @@ -5833,7 +5833,7 @@ _Error response_
"traits_schema_id": "string",
"traits_schema_url": "string"
},
"issued_at": "2020-04-30T11:21:09Z",
"issued_at": "2020-05-05T09:51:17Z",
"sid": "string"
}
```
Expand All @@ -5857,16 +5857,16 @@ _Error response_
```json
{
"active": "string",
"expires_at": "2020-04-30T11:21:09Z",
"expires_at": "2020-05-05T09:51:17Z",
"id": "string",
"identity": {
"addresses": [
{
"expires_at": "2020-04-30T11:21:09Z",
"expires_at": "2020-05-05T09:51:17Z",
"id": "string",
"value": "string",
"verified": true,
"verified_at": "2020-04-30T11:21:09Z",
"verified_at": "2020-05-05T09:51:17Z",
"via": "string"
}
],
Expand All @@ -5875,7 +5875,7 @@ _Error response_
"traits_schema_id": "string",
"traits_schema_url": "string"
},
"issued_at": "2020-04-30T11:21:09Z",
"issued_at": "2020-05-05T09:51:17Z",
"methods": {
"property1": {
"config": {
Expand Down Expand Up @@ -6004,7 +6004,7 @@ _Request presents a settings request_

```json
{
"expires_at": "2020-04-30T11:21:09Z",
"expires_at": "2020-05-05T09:51:17Z",
"form": {
"action": "string",
"errors": [
Expand All @@ -6030,7 +6030,7 @@ _Request presents a settings request_
"method": "string"
},
"id": "string",
"issued_at": "2020-04-30T11:21:09Z",
"issued_at": "2020-05-05T09:51:17Z",
"request_url": "string",
"success": true,
"via": "string"
Expand Down

0 comments on commit 15ce3d8

Please sign in to comment.