mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-24 09:33:44 +03:00
Merge branch 'master' into releases
This commit is contained in:
commit
399ab4503e
|
@ -1,11 +1,17 @@
|
|||
#!/bin/bash
|
||||
set -e
|
||||
set -x
|
||||
# copy old releases
|
||||
mkdir -p .ghpages-tmp && cd .ghpages-tmp
|
||||
# reset local changes before checkout
|
||||
git reset --hard
|
||||
git fetch origin gh-pages:gh-pages
|
||||
git checkout gh-pages
|
||||
cp -R ../releases/* .
|
||||
git checkout master
|
||||
cd -
|
||||
|
||||
# build
|
||||
gulp build
|
||||
cd demo
|
||||
cp -R ../dist ./dist
|
||||
|
|
|
@ -90,7 +90,7 @@ function bundle(outputFile, minify, cb) {
|
|||
builder
|
||||
.buildStatic(path.join(paths.tmp, paths.sourceEntryPoint),
|
||||
outputFile,
|
||||
{ format:'umd', sourceMaps: true, mangle: false, lowResSourceMaps: true, minify: minify }
|
||||
{ format:'umd', sourceMaps: true, lowResSourceMaps: true, minify: minify }
|
||||
)
|
||||
.then(function() {
|
||||
// wait some time to allow flush
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "redoc",
|
||||
"description": "Swagger-generated API Reference Documentation",
|
||||
"version": "0.7.15",
|
||||
"version": "0.8.0",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git://github.com/Rebilly/ReDoc"
|
||||
|
|
Loading…
Reference in New Issue
Block a user