Skip to content

Commit 8913383

Browse files
committed
Fixed gh pages bug
1 parent 8964b72 commit 8913383

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

deploy.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,15 @@ cd $OUT
3939
git checkout $TARGET_BRANCH || git checkout --orphan $TARGET_BRANCH
4040

4141
# Clean out existing contents except versions
42-
ls | grep -v versions | xargs rm -rf
42+
mv versions ..
43+
ls | xargs rm -rf
4344
cd ..
4445

4546
# Run our compile script
4647
doCompile
4748

49+
mv versions $OUT
50+
4851
# Now let's go have some fun with the cloned repo
4952
cd $OUT
5053
git config user.name "Travis CI"

site/_includes/docs-navbar.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
</a>
5656
<div class="dropdown-menu dropdown-menu-md-right" aria-labelledby="bd-versions">
5757
<a class="dropdown-item active" href="/">Latest ({{ site.current_version }})</a>
58-
<a class="dropdown-item" href="http://bootstrap-table.com/versions/1.15.5" target="_blank">v1.15.5</a>
58+
<a class="dropdown-item" href="http://bootstrap-table.com/versions/1.15.5/" target="_blank">v1.15.5</a>
5959
</div>
6060
</li>
6161
<li class="nav-item">

0 commit comments

Comments
 (0)