housekeeping: add static distribution file documentation (#5095)
Co-authored-by: kyle shockey <kyle.shockey1@gmail.com>
This commit is contained in:
@@ -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).
|
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:
|
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.
|
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.
|
||||||
Reference in New Issue
Block a user