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 5c6c26c commit 2516f00
Showing 1 changed file with 15 additions and 20 deletions.
35 changes: 15 additions & 20 deletions docs/docs/reference/configuration.md
Original file line number Diff line number Diff line change
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 All @@ -117,7 +117,9 @@ serve:
# > set SERVE_CORS_ALLOWED_ORIGINS=<value>
#
allowed_origins:
- '*'
- https://example.com
- https://*.example.com
- https://*.foo.example.com

## Allowed HTTP Methods ##
#
Expand All @@ -132,11 +134,7 @@ serve:
# > set SERVE_CORS_ALLOWED_METHODS=<value>
#
allowed_methods:
- HEAD
- POST
- DELETE
- CONNECT
- TRACE

## Allowed Request HTTP Headers ##
#
Expand All @@ -151,9 +149,8 @@ serve:
# > set SERVE_CORS_ALLOWED_HEADERS=<value>
#
allowed_headers:
- sunt dolor eiusmod in
- aute
- veniam
- quis ut ex eiusmod
- ut Duis culpa

## Allowed Response HTTP Headers ##
#
Expand All @@ -168,11 +165,9 @@ serve:
# > set SERVE_CORS_EXPOSED_HEADERS=<value>
#
exposed_headers:
- sunt pariatur fugiat magna
- Ut esse in tempor
- voluptate aliqua eiusmod adipisicing
- id sit occaecat
- irure anim
- ea Duis amet adipisicing aliquip
- adipisicing reprehenderit
- aliquip consectetur reprehenderit

## Allow HTTP Credentials ##
#
Expand All @@ -198,7 +193,7 @@ serve:
# - Windows Command Line (CMD):
# > set SERVE_CORS_MAX_AGE=<value>
#
max_age: 1296018
max_age: 84500501

## Enable Debugging ##
#
Expand All @@ -212,7 +207,7 @@ serve:
# - Windows Command Line (CMD):
# > set SERVE_CORS_DEBUG=<value>
#
debug: false
debug: true

## HTTPS ##
#
Expand Down Expand Up @@ -275,7 +270,7 @@ serve:
# - Windows Command Line (CMD):
# > set PROFILING=<value>
#
profiling: ''
profiling: cpu

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

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

## tracing ##
#
Expand Down

0 comments on commit 2516f00

Please sign in to comment.