Skip to content

Commit

Permalink
Travis build=8. Update the master branch
Browse files Browse the repository at this point in the history
  • Loading branch information
Thecarisma committed May 12, 2020
1 parent d45eb24 commit 157108d
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .gitattributes
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
3 changes: 3 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
themata
########

.. image:: https://img.shields.io/pypi/dw/themata?style=for-the-badge :alt: PyPI - Downloads
.. image:: https://img.shields.io/travis/thecarisma/themata?style=for-the-badge :alt: Travis (.org) branch

.. class:: center

Set of Highly customizable sphinx themes.
Expand Down
21 changes: 21 additions & 0 deletions docs/gendoc.sh
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

0 comments on commit 157108d

Please sign in to comment.