Skip to content

Commit

Permalink
housekeeping: add static distribution file documentation (#5095)
Browse files Browse the repository at this point in the history
Co-authored-by: kyle shockey <kyle.shockey1@gmail.com>
  • Loading branch information
diberry and shockey committed Mar 9, 2020
1 parent e35ab79 commit a2b37ec
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion docs/usage/installation.md
Expand Up @@ -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:

Expand All @@ -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.

0 comments on commit a2b37ec

Please sign in to comment.