diff --git a/sphinx.mk b/sphinx.mk index d823d9c..b52d409 100644 --- a/sphinx.mk +++ b/sphinx.mk @@ -15,6 +15,13 @@ localhelp: echo -e "\033[1;33m - view - Create a local documentation files and view them\e[0m" echo -e "\033[1;33m - release - Create a local documentation files and movem them to the module\e[0m $(SPHINXPRJ)/_docs_" +head: + echo -ne "\n\n\033[1;34m" + echo -e "╔══════╗" + echo -e "║ docs ║" + echo -e "╚══════╝\033[00m" + + conf.py: pydocs/templates/conf.py.tpl cp pydocs/templates/conf.py.tpl conf.py pydocs/replace.sh conf.py "" "$(SPHINXPRJ)" @@ -25,7 +32,7 @@ index.rst: venv/bin/sphinx-apidoc -TMo . $(SPHINXPRJ) mv $(SPHINXPRJ).rst index.rst -html: examples conf.py index.rst +html: head examples conf.py index.rst echo -e "\e[1m * Generated html files...\e[0m" $(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)