Skip to content

Commit cb1f95a

Browse files
author
Greg Turnquist
committed
Tweaked to correctly clean docs before building them.
1 parent 3c02522 commit cb1f95a

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

build.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@ def docs_pdf(version):
386386
def docs_sphinx():
387387
cur = os.getcwd()
388388
os.chdir("docs/sphinx")
389-
os.system("make html epub")
389+
os.system("make clean html epub")
390390
os.chdir(cur)
391391
shutil.copytree("docs/sphinx/build/html", "target/docs/sphinx")
392392
shutil.copy("docs/sphinx/build/epub/SpringPython.epub", "target/docs/")

generate_site.bash

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,7 @@
2121
# Greg Turnquist.
2222
###################################################################################
2323

24-
export JAVA_HOME=~/java
25-
export M2_HOME=~/apache-maven
26-
export M2=$M2_HOME/bin
27-
export PATH=$M2:$JAVA_HOME/bin:$PATH
24+
. sp/bin/activate
2825

2926
cd ~/spring-python-1.2.x
3027
git pull

0 commit comments

Comments
 (0)