Skip to content

Commit

Permalink
copying redirect html pages for legacy links (zalando#260)
Browse files Browse the repository at this point in the history
  • Loading branch information
maxim-tschumak committed Aug 22, 2017
1 parent b8780cf commit dee353c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@ BUILD_DIR=output

rm -rf ${BUILD_DIR}/* #clean
cp -r assets ${BUILD_DIR}/ #copy assets
cp -r legacy/* ${BUILD_DIR}/ #copy assets
asciidoctor -D ${BUILD_DIR} index.adoc #generate HTML
asciidoctor-pdf -D ${BUILD_DIR} index.adoc #generate PDF
asciidoctor-epub3 -D ${BUILD_DIR} index.adoc #generate EPUB3

mv ${BUILD_DIR}/index.pdf ${BUILD_DIR}/zalando-restful-guidelines.pdf
mv ${BUILD_DIR}/index.epub ${BUILD_DIR}/zalando-restful-guidelines.epub
mv ${BUILD_DIR}/index.epub ${BUILD_DIR}/zalando-restful-guidelines.epub

0 comments on commit dee353c

Please sign in to comment.