-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Travis build=8. Update the master branch
- Loading branch information
1 parent
d45eb24
commit 157108d
Showing
3 changed files
with
28 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,5 @@ | ||
*.html linguist-language=Python | ||
*.css_t linguist-language=Python | ||
*.css_t linguist-language=Python | ||
*.css linguist-language=Python | ||
*.js linguist-language=Python | ||
*.css linguist-language=Python |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
|
||
cd ../ | ||
OUTPUT_FOLDER=$PWD/dist/gendoc/ | ||
cd docs/ | ||
declare -a THEMES=("hackish" "milkish" "fandango" "clear" "fluid" "garri" "water" "sugar") | ||
if [[ -d $OUTPUT_FOLDER ]]; then | ||
rm -R $OUTPUT_FOLDER | ||
fi | ||
mkdir -p $OUTPUT_FOLDER | ||
|
||
sphinx-build -b html -d build/doctrees ./ build/html | ||
mv build/html/* $OUTPUT_FOLDER | ||
|
||
for i in "${THEMES[@]}" | ||
do | ||
cd "$i" | ||
sphinx-build -b html -d build/doctrees ./ build/html | ||
mkdir -p "$OUTPUT_FOLDER/$i" | ||
mv build/html/* "$OUTPUT_FOLDER/$i" | ||
cd ../ | ||
done |