We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 14658e4 commit 0de3410Copy full SHA for 0de3410
bin/publish-docs.sh
@@ -20,6 +20,8 @@ if [ ! -d $PAGES_DIR ] ; then
20
fi
21
22
cp -r $DOCS_DIR/* $PAGES_DIR
23
+rm -rf $PAGES_DIR/contentful/latest
24
+cp -r $DOCS_DIR/contentful/$VERSION $PAGES_DIR/contentful/latest
25
echo "<meta http-equiv=\"refresh\" content=\"0; url=https://contentful.github.io/contentful.js/contentful/${VERSION}/\">" > $PAGES_DIR/index.html
26
27
pushd $PAGES_DIR
0 commit comments