Skip to content

Commit

Permalink
build(website): Add subdirectory for v3 docs
Browse files Browse the repository at this point in the history
  • Loading branch information
eemeli committed Apr 12, 2020
1 parent 8afa4f1 commit f70a5f5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/website/publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ ${GSED:-"sed"} -i '
s/tutorial/page/g
s/ Tutorial:/:/g
s/"index\.html"/".\/"/g
s/"\([^"\/]\+\)\.html"/"\1"/g' docs/*.html
s/"\([^"\/]\+\)\.html\(["#]\)/"\1\2/g' docs/*.html

for f in docs/tutorial*; do
mv $f ${f/tutorial/page}
done

cp -r logo docs/
rm -rf ../../docs/
mv docs ../../
rm -rf ../../docs/v3
mv docs ../../docs/v3

0 comments on commit f70a5f5

Please sign in to comment.