Commits

Anonymous 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.
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.