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 Apr 6, 2020
1 parent dda79b1 commit e465e04
Showing 1 changed file with 14 additions and 20 deletions.
34 changes: 14 additions & 20 deletions docs/docs/reference/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ section.
# - Windows Command Line (CMD):
# > set DSN=<value>
#
dsn: memory
dsn: postgres://user:password@host:123/database

## HTTP REST API ##
#
Expand Down Expand Up @@ -78,7 +78,7 @@ serve:
# - Windows Command Line (CMD):
# > set SERVE_HOST=<value>
#
host: 127.0.0.1
host: ''

## Cross Origin Resource Sharing (CORS) ##
#
Expand All @@ -97,7 +97,7 @@ serve:
# - Windows Command Line (CMD):
# > set SERVE_CORS_ENABLED=<value>
#
enabled: false
enabled: true

## Allowed Origins ##
#
Expand Down Expand Up @@ -132,9 +132,7 @@ serve:
# > set SERVE_CORS_ALLOWED_METHODS=<value>
#
allowed_methods:
- DELETE
- POST
- GET

## Allowed Request HTTP Headers ##
#
Expand All @@ -149,11 +147,8 @@ serve:
# > set SERVE_CORS_ALLOWED_HEADERS=<value>
#
allowed_headers:
- do deserunt laborum eu
- quis Excepteur
- et officia nulla
- sunt in est magna do
- consectetur ea Duis incididunt
- sit veniam Lorem velit
- cillum magna sit irure

## Allowed Response HTTP Headers ##
#
Expand All @@ -168,11 +163,10 @@ serve:
# > set SERVE_CORS_EXPOSED_HEADERS=<value>
#
exposed_headers:
- nostrud ut enim do
- aliquip anim amet dolore pariatur
- esse in culpa in
- Duis aute labore in
- nisi anim
- ex consectetur ut deserunt aliquip
- ad in in magna velit
- exercitation ut dolore
- nostrud elit

## Allow HTTP Credentials ##
#
Expand All @@ -186,7 +180,7 @@ serve:
# - Windows Command Line (CMD):
# > set SERVE_CORS_ALLOW_CREDENTIALS=<value>
#
allow_credentials: true
allow_credentials: false

## Maximum Age ##
#
Expand All @@ -198,7 +192,7 @@ serve:
# - Windows Command Line (CMD):
# > set SERVE_CORS_MAX_AGE=<value>
#
max_age: 11388871
max_age: -15653991

## Enable Debugging ##
#
Expand Down Expand Up @@ -275,7 +269,7 @@ serve:
# - Windows Command Line (CMD):
# > set PROFILING=<value>
#
profiling: cpu
profiling: mem

## Log ##
#
Expand All @@ -294,7 +288,7 @@ log:
# - Windows Command Line (CMD):
# > set LOG_LEVEL=<value>
#
level: fatal
level: panic

## Format ##
#
Expand All @@ -308,7 +302,7 @@ log:
# - Windows Command Line (CMD):
# > set LOG_FORMAT=<value>
#
format: text
format: json

## tracing ##
#
Expand Down

0 comments on commit e465e04

Please sign in to comment.