Commits

fgallaire committed b8b7565

add art to quickstart

Comments (0)

Files changed (1)

sphinx/quickstart.py

 $(SPHINXOPTS) %(rsrcdir)s
 
 .PHONY: help clean html dirhtml singlehtml pickle json htmlhelp qthelp devhelp \
-epub latex latexpdf text man changes linkcheck doctest
+epub latex latexpdf text art man changes linkcheck doctest
 
 help:
 \t@echo "Please use \\`make <target>' where <target> is one of"
 \t@echo "  latex      to make LaTeX files, you can set PAPER=a4 or PAPER=letter"
 \t@echo "  latexpdf   to make LaTeX files and run them through pdflatex"
 \t@echo "  text       to make text files"
+\t@echo "  art        to make ascii-art files"
 \t@echo "  man        to make manual pages"
 \t@echo "  changes    to make an overview of all changed/added/deprecated items"
 \t@echo "  linkcheck  to check all external links for integrity"
 \t@echo
 \t@echo "Build finished. The text files are in $(BUILDDIR)/text."
 
+art:
+\t$(SPHINXBUILD) -b art $(ALLSPHINXOPTS) $(BUILDDIR)/art
+\t@echo
+\t@echo "Build finished. The ascii-art files are in $(BUILDDIR)/art."
+
 man:
 \t$(SPHINXBUILD) -b man $(ALLSPHINXOPTS) $(BUILDDIR)/man
 \t@echo
 \techo.  epub       to make an epub
 \techo.  latex      to make LaTeX files, you can set PAPER=a4 or PAPER=letter
 \techo.  text       to make text files
+\techo.  art        to make ascii-art files
 \techo.  man        to make manual pages
 \techo.  changes    to make an overview over all changed/added/deprecated items
 \techo.  linkcheck  to check all external links for integrity
 \tgoto end
 )
 
+if "%%1" == "art" (
+\t%%SPHINXBUILD%% -b art %%ALLSPHINXOPTS%% %%BUILDDIR%%/art
+\techo.
+\techo.Build finished. The art-ascii files are in %%BUILDDIR%%/art.
+\tgoto end
+)
+
 if "%%1" == "man" (
 \t%%SPHINXBUILD%% -b man %%ALLSPHINXOPTS%% %%BUILDDIR%%/man
 \techo.