mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-22 16:46:34 +03:00
Update README.md (#1130)
This commit is contained in:
parent
10414fc6d5
commit
63ec3d120c
|
@ -13,6 +13,12 @@ Serve local file:
|
||||||
-v $(pwd)/demo/swagger.yaml:/usr/share/nginx/html/swagger.yaml \
|
-v $(pwd)/demo/swagger.yaml:/usr/share/nginx/html/swagger.yaml \
|
||||||
-e SPEC_URL=swagger.yaml redocly/redoc
|
-e SPEC_URL=swagger.yaml redocly/redoc
|
||||||
|
|
||||||
|
Serve local file and watch for updates:
|
||||||
|
|
||||||
|
docker run -it --rm -p 80:80 \
|
||||||
|
-v $(pwd)/demo/:/usr/share/nginx/html/swagger/ \
|
||||||
|
-e SPEC_URL=swagger/swagger.yaml redocly/redoc
|
||||||
|
|
||||||
## Runtime configuration options
|
## Runtime configuration options
|
||||||
|
|
||||||
- `PAGE_TITLE` (default `"ReDoc"`) - page title
|
- `PAGE_TITLE` (default `"ReDoc"`) - page title
|
||||||
|
|
Loading…
Reference in New Issue
Block a user