From 157108d9718b15c45e434049f301b90cb7ad0cd5 Mon Sep 17 00:00:00 2001 From: "travis-ci.org" Date: Tue, 12 May 2020 21:16:28 +0000 Subject: [PATCH] Travis build=8. Update the master branch --- .gitattributes | 5 ++++- README.rst | 3 +++ docs/gendoc.sh | 21 +++++++++++++++++++++ 3 files changed, 28 insertions(+), 1 deletion(-) create mode 100644 docs/gendoc.sh diff --git a/.gitattributes b/.gitattributes index 1dfb4fa..4c4f4c6 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,2 +1,5 @@ *.html linguist-language=Python -*.css_t linguist-language=Python \ No newline at end of file +*.css_t linguist-language=Python +*.css linguist-language=Python +*.js linguist-language=Python +*.css linguist-language=Python \ No newline at end of file diff --git a/README.rst b/README.rst index 1976bd3..cfd9af1 100644 --- a/README.rst +++ b/README.rst @@ -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. diff --git a/docs/gendoc.sh b/docs/gendoc.sh new file mode 100644 index 0000000..030b082 --- /dev/null +++ b/docs/gendoc.sh @@ -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