From a2b37ec157ff6461a29d547cea8fb0a25ec43d31 Mon Sep 17 00:00:00 2001 From: Dina Berry <41597107+diberry@users.noreply.github.com> Date: Sun, 8 Mar 2020 18:40:04 -0700 Subject: [PATCH] housekeeping: add static distribution file documentation (#5095) Co-authored-by: kyle shockey --- docs/usage/installation.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/usage/installation.md b/docs/usage/installation.md index bd58424f..04c1867b 100644 --- a/docs/usage/installation.md +++ b/docs/usage/installation.md @@ -83,7 +83,7 @@ This will serve Swagger UI at `/swagger` instead of `/`. For more information on controlling Swagger UI through the Docker image, see the Docker section of the [Configuration documentation](configuration.md#docker). -### unpkg +### unpkg You can embed Swagger UI's code directly in your HTML by using unpkg's interface: @@ -93,3 +93,7 @@ You can embed Swagger UI's code directly in your HTML by using unpkg's interface ``` See [unpkg's main page](https://unpkg.com/) for more information on how to use unpkg. + +### Static files without HTTP or HTML + +Once swagger-ui has successfully generated the `/dist` directory, you can copy this to your own file system and host from there. \ No newline at end of file -- GitLab