-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
70 changed files
with
6,201 additions
and
3,954 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
* | ||
!src/ | ||
!config | ||
!demo/favicon.png | ||
|
||
!custom.d.ts | ||
!typings/styled-patch.d.ts | ||
!tsconfig.json | ||
!webpack.config.ts | ||
|
||
!package.json | ||
!yarn.lock |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Package the 'redoc-cli' as a docker image. | ||
# | ||
# To build: | ||
# $ cd <Redoc project directory> | ||
# $ docker build -t redoc-cli -f cli/Dockerfile . | ||
# | ||
# To run: | ||
# To display the command line options: | ||
# $ docker run --rm -it redoc-cli --help | ||
# .. will display the comand line help | ||
# | ||
# To turn `swagger.yml` file in the current directory, to html documentation 'redoc-static.html' | ||
# $ docker run --rm -it -v $PWD:/data redoc-cli bundle swagger.yml | ||
|
||
FROM node:alpine | ||
|
||
RUN npm install -g redoc-cli | ||
|
||
WORKDIR /data | ||
EXPOSE 8080 | ||
|
||
ENTRYPOINT ["redoc-cli"] | ||
CMD [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.