docs cleanup
Before adoption: this commit came in with the history the project adopted, so no landing records it.
authored by Kenneth Reitz · committed by Kenneth Reitz · parent 4599276 · Browse files · 4 files·+333 added−198 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
4 files+333 added−198 removed
- other:+333 added−198 removed
Provenance
- Commit
e98d71d- Tree
bfa31b0- Author
Kenneth Reitz <me@kennethreitz.org>- Committer
Kenneth Reitz <me@kennethreitz.org>- Parent
4599276
4 files changed+333 added−198 removed
modified:docs/user/advanced.rst+3 added-2 removed
354 unmodified lines355 POST Multiple Multipart-Encoded Files356 -------------------------------------357 358 You can send multiple files in one request. For example, suppose you want to359-upload image files to an HTML form with a multiple file field 'images':359+upload image files to an HTML form with a multiple file field 'images'::360 361 <input type="file" name="images" multiple="true" required="true"/>362 363-To do that, just set files to a list of tuples of (form_field_name, file_info):363+To do that, just set files to a list of tuples of ``(form_field_name, file_info)``:364 365 >>> url = 'http://httpbin.org/post'366 >>> multiple_files = [('images', ('foo.png', open('foo.png', 'rb'), 'image/png')),367 ('images', ('bar.png', open('bar.png', 'rb'), 'image/png'))]150 unmodified lines518 ::519 520 $ export HTTP_PROXY="http://10.10.1.10:3128"521 $ export HTTPS_PROXY="http://10.10.1.10:1080"522+523 $ python524 >>> import requests525 >>> requests.get("http://example.org")526 373 unmodified linesmodified:docs/make.bat+263 added-190 removed
1-@ECHO OFF2-3-REM Command file for Sphinx documentation4-5-if "%SPHINXBUILD%" == "" (6- set SPHINXBUILD=sphinx-build7-)8-set BUILDDIR=_build9-set ALLSPHINXOPTS=-d %BUILDDIR%/doctrees %SPHINXOPTS% .10-set I18NSPHINXOPTS=%SPHINXOPTS% .11-if NOT "%PAPER%" == "" (12- set ALLSPHINXOPTS=-D latex_paper_size=%PAPER% %ALLSPHINXOPTS%13- set I18NSPHINXOPTS=-D latex_paper_size=%PAPER% %I18NSPHINXOPTS%14-)15-16-if "%1" == "" goto help17-18-if "%1" == "help" (19- :help20- echo.Please use `make ^<target^>` where ^<target^> is one of21- echo. html to make standalone HTML files22- echo. dirhtml to make HTML files named index.html in directories23- echo. singlehtml to make a single large HTML file24- echo. pickle to make pickle files25- echo. json to make JSON files26- echo. htmlhelp to make HTML files and a HTML help project27- echo. qthelp to make HTML files and a qthelp project28- echo. devhelp to make HTML files and a Devhelp project29- echo. epub to make an epub30- echo. latex to make LaTeX files, you can set PAPER=a4 or PAPER=letter31- echo. text to make text files32- echo. man to make manual pages33- echo. texinfo to make Texinfo files34- echo. gettext to make PO message catalogs35- echo. changes to make an overview over all changed/added/deprecated items36- echo. linkcheck to check all external links for integrity37- echo. doctest to run all doctests embedded in the documentation if enabled38- goto end39-)40-41-if "%1" == "clean" (42- for /d %%i in (%BUILDDIR%\*) do rmdir /q /s %%i43- del /q /s %BUILDDIR%\*44- goto end45-)46-47-if "%1" == "html" (48- %SPHINXBUILD% -b html %ALLSPHINXOPTS% %BUILDDIR%/html49- if errorlevel 1 exit /b 150- echo.51- echo.Build finished. The HTML pages are in %BUILDDIR%/html.52- goto end53-)54-55-if "%1" == "dirhtml" (56- %SPHINXBUILD% -b dirhtml %ALLSPHINXOPTS% %BUILDDIR%/dirhtml57- if errorlevel 1 exit /b 158- echo.59- echo.Build finished. The HTML pages are in %BUILDDIR%/dirhtml.60- goto end61-)62-63-if "%1" == "singlehtml" (64- %SPHINXBUILD% -b singlehtml %ALLSPHINXOPTS% %BUILDDIR%/singlehtml65- if errorlevel 1 exit /b 166- echo.67- echo.Build finished. The HTML pages are in %BUILDDIR%/singlehtml.68- goto end69-)70-71-if "%1" == "pickle" (72- %SPHINXBUILD% -b pickle %ALLSPHINXOPTS% %BUILDDIR%/pickle73- if errorlevel 1 exit /b 174- echo.75- echo.Build finished; now you can process the pickle files.76- goto end77-)78-79-if "%1" == "json" (80- %SPHINXBUILD% -b json %ALLSPHINXOPTS% %BUILDDIR%/json81- if errorlevel 1 exit /b 182- echo.83- echo.Build finished; now you can process the JSON files.84- goto end85-)86-87-if "%1" == "htmlhelp" (88- %SPHINXBUILD% -b htmlhelp %ALLSPHINXOPTS% %BUILDDIR%/htmlhelp89- if errorlevel 1 exit /b 190- echo.91- echo.Build finished; now you can run HTML Help Workshop with the ^92-.hhp project file in %BUILDDIR%/htmlhelp.93- goto end94-)95-96-if "%1" == "qthelp" (97- %SPHINXBUILD% -b qthelp %ALLSPHINXOPTS% %BUILDDIR%/qthelp98- if errorlevel 1 exit /b 199- echo.100- echo.Build finished; now you can run "qcollectiongenerator" with the ^101-.qhcp project file in %BUILDDIR%/qthelp, like this:102- echo.^> qcollectiongenerator %BUILDDIR%\qthelp\Requests.qhcp103- echo.To view the help file:104- echo.^> assistant -collectionFile %BUILDDIR%\qthelp\Requests.ghc105- goto end106-)107-108-if "%1" == "devhelp" (109- %SPHINXBUILD% -b devhelp %ALLSPHINXOPTS% %BUILDDIR%/devhelp110- if errorlevel 1 exit /b 1111- echo.112- echo.Build finished.113- goto end114-)115-116-if "%1" == "epub" (117- %SPHINXBUILD% -b epub %ALLSPHINXOPTS% %BUILDDIR%/epub118- if errorlevel 1 exit /b 1119- echo.120- echo.Build finished. The epub file is in %BUILDDIR%/epub.121- goto end122-)123-124-if "%1" == "latex" (125- %SPHINXBUILD% -b latex %ALLSPHINXOPTS% %BUILDDIR%/latex126- if errorlevel 1 exit /b 1127- echo.128- echo.Build finished; the LaTeX files are in %BUILDDIR%/latex.129- goto end130-)131-132-if "%1" == "text" (133- %SPHINXBUILD% -b text %ALLSPHINXOPTS% %BUILDDIR%/text134- if errorlevel 1 exit /b 1135- echo.136- echo.Build finished. The text files are in %BUILDDIR%/text.137- goto end138-)139-140-if "%1" == "man" (141- %SPHINXBUILD% -b man %ALLSPHINXOPTS% %BUILDDIR%/man142- if errorlevel 1 exit /b 1143- echo.144- echo.Build finished. The manual pages are in %BUILDDIR%/man.145- goto end146-)147-148-if "%1" == "texinfo" (149- %SPHINXBUILD% -b texinfo %ALLSPHINXOPTS% %BUILDDIR%/texinfo150- if errorlevel 1 exit /b 1151- echo.152- echo.Build finished. The Texinfo files are in %BUILDDIR%/texinfo.153- goto end154-)155-156-if "%1" == "gettext" (157- %SPHINXBUILD% -b gettext %I18NSPHINXOPTS% %BUILDDIR%/locale158- if errorlevel 1 exit /b 1159- echo.160- echo.Build finished. The message catalogs are in %BUILDDIR%/locale.161- goto end162-)163-164-if "%1" == "changes" (165- %SPHINXBUILD% -b changes %ALLSPHINXOPTS% %BUILDDIR%/changes166- if errorlevel 1 exit /b 1167- echo.168- echo.The overview file is in %BUILDDIR%/changes.169- goto end170-)171-172-if "%1" == "linkcheck" (173- %SPHINXBUILD% -b linkcheck %ALLSPHINXOPTS% %BUILDDIR%/linkcheck174- if errorlevel 1 exit /b 1175- echo.176- echo.Link check complete; look for any errors in the above output ^177-or in %BUILDDIR%/linkcheck/output.txt.178- goto end179-)180-181-if "%1" == "doctest" (182- %SPHINXBUILD% -b doctest %ALLSPHINXOPTS% %BUILDDIR%/doctest183- if errorlevel 1 exit /b 1184- echo.185- echo.Testing of doctests in the sources finished, look at the ^186-results in %BUILDDIR%/doctest/output.txt.187- goto end188-)189-190-:end1+@ECHO OFF2+3+REM Command file for Sphinx documentation4+5+if "%SPHINXBUILD%" == "" (6+ set SPHINXBUILD=sphinx-build7+)8+set BUILDDIR=_build9+set ALLSPHINXOPTS=-d %BUILDDIR%/doctrees %SPHINXOPTS% .10+set I18NSPHINXOPTS=%SPHINXOPTS% .11+if NOT "%PAPER%" == "" (12+ set ALLSPHINXOPTS=-D latex_paper_size=%PAPER% %ALLSPHINXOPTS%13+ set I18NSPHINXOPTS=-D latex_paper_size=%PAPER% %I18NSPHINXOPTS%14+)15+16+if "%1" == "" goto help17+18+if "%1" == "help" (19+ :help20+ echo.Please use `make ^<target^>` where ^<target^> is one of21+ echo. html to make standalone HTML files22+ echo. dirhtml to make HTML files named index.html in directories23+ echo. singlehtml to make a single large HTML file24+ echo. pickle to make pickle files25+ echo. json to make JSON files26+ echo. htmlhelp to make HTML files and a HTML help project27+ echo. qthelp to make HTML files and a qthelp project28+ echo. devhelp to make HTML files and a Devhelp project29+ echo. epub to make an epub30+ echo. latex to make LaTeX files, you can set PAPER=a4 or PAPER=letter31+ echo. text to make text files32+ echo. man to make manual pages33+ echo. texinfo to make Texinfo files34+ echo. gettext to make PO message catalogs35+ echo. changes to make an overview over all changed/added/deprecated items36+ echo. xml to make Docutils-native XML files37+ echo. pseudoxml to make pseudoxml-XML files for display purposes38+ echo. linkcheck to check all external links for integrity39+ echo. doctest to run all doctests embedded in the documentation if enabled40+ echo. coverage to run coverage check of the documentation if enabled41+ goto end42+)43+44+if "%1" == "clean" (45+ for /d %%i in (%BUILDDIR%\*) do rmdir /q /s %%i46+ del /q /s %BUILDDIR%\*47+ goto end48+)49+50+51+REM Check if sphinx-build is available and fallback to Python version if any52+%SPHINXBUILD% 1>NUL 2>NUL53+if errorlevel 9009 goto sphinx_python54+goto sphinx_ok55+56+:sphinx_python57+58+set SPHINXBUILD=python -m sphinx.__init__59+%SPHINXBUILD% 2> nul60+if errorlevel 9009 (61+ echo.62+ echo.The 'sphinx-build' command was not found. Make sure you have Sphinx63+ echo.installed, then set the SPHINXBUILD environment variable to point64+ echo.to the full path of the 'sphinx-build' executable. Alternatively you65+ echo.may add the Sphinx directory to PATH.66+ echo.67+ echo.If you don't have Sphinx installed, grab it from68+ echo.http://sphinx-doc.org/69+ exit /b 170+)71+72+:sphinx_ok73+74+75+if "%1" == "html" (76+ %SPHINXBUILD% -b html %ALLSPHINXOPTS% %BUILDDIR%/html77+ if errorlevel 1 exit /b 178+ echo.79+ echo.Build finished. The HTML pages are in %BUILDDIR%/html.80+ goto end81+)82+83+if "%1" == "dirhtml" (84+ %SPHINXBUILD% -b dirhtml %ALLSPHINXOPTS% %BUILDDIR%/dirhtml85+ if errorlevel 1 exit /b 186+ echo.87+ echo.Build finished. The HTML pages are in %BUILDDIR%/dirhtml.88+ goto end89+)90+91+if "%1" == "singlehtml" (92+ %SPHINXBUILD% -b singlehtml %ALLSPHINXOPTS% %BUILDDIR%/singlehtml93+ if errorlevel 1 exit /b 194+ echo.95+ echo.Build finished. The HTML pages are in %BUILDDIR%/singlehtml.96+ goto end97+)98+99+if "%1" == "pickle" (100+ %SPHINXBUILD% -b pickle %ALLSPHINXOPTS% %BUILDDIR%/pickle101+ if errorlevel 1 exit /b 1102+ echo.103+ echo.Build finished; now you can process the pickle files.104+ goto end105+)106+107+if "%1" == "json" (108+ %SPHINXBUILD% -b json %ALLSPHINXOPTS% %BUILDDIR%/json109+ if errorlevel 1 exit /b 1110+ echo.111+ echo.Build finished; now you can process the JSON files.112+ goto end113+)114+115+if "%1" == "htmlhelp" (116+ %SPHINXBUILD% -b htmlhelp %ALLSPHINXOPTS% %BUILDDIR%/htmlhelp117+ if errorlevel 1 exit /b 1118+ echo.119+ echo.Build finished; now you can run HTML Help Workshop with the ^120+.hhp project file in %BUILDDIR%/htmlhelp.121+ goto end122+)123+124+if "%1" == "qthelp" (125+ %SPHINXBUILD% -b qthelp %ALLSPHINXOPTS% %BUILDDIR%/qthelp126+ if errorlevel 1 exit /b 1127+ echo.128+ echo.Build finished; now you can run "qcollectiongenerator" with the ^129+.qhcp project file in %BUILDDIR%/qthelp, like this:130+ echo.^> qcollectiongenerator %BUILDDIR%\qthelp\Requests.qhcp131+ echo.To view the help file:132+ echo.^> assistant -collectionFile %BUILDDIR%\qthelp\Requests.ghc133+ goto end134+)135+136+if "%1" == "devhelp" (137+ %SPHINXBUILD% -b devhelp %ALLSPHINXOPTS% %BUILDDIR%/devhelp138+ if errorlevel 1 exit /b 1139+ echo.140+ echo.Build finished.141+ goto end142+)143+144+if "%1" == "epub" (145+ %SPHINXBUILD% -b epub %ALLSPHINXOPTS% %BUILDDIR%/epub146+ if errorlevel 1 exit /b 1147+ echo.148+ echo.Build finished. The epub file is in %BUILDDIR%/epub.149+ goto end150+)151+152+if "%1" == "latex" (153+ %SPHINXBUILD% -b latex %ALLSPHINXOPTS% %BUILDDIR%/latex154+ if errorlevel 1 exit /b 1155+ echo.156+ echo.Build finished; the LaTeX files are in %BUILDDIR%/latex.157+ goto end158+)159+160+if "%1" == "latexpdf" (161+ %SPHINXBUILD% -b latex %ALLSPHINXOPTS% %BUILDDIR%/latex162+ cd %BUILDDIR%/latex163+ make all-pdf164+ cd %~dp0165+ echo.166+ echo.Build finished; the PDF files are in %BUILDDIR%/latex.167+ goto end168+)169+170+if "%1" == "latexpdfja" (171+ %SPHINXBUILD% -b latex %ALLSPHINXOPTS% %BUILDDIR%/latex172+ cd %BUILDDIR%/latex173+ make all-pdf-ja174+ cd %~dp0175+ echo.176+ echo.Build finished; the PDF files are in %BUILDDIR%/latex.177+ goto end178+)179+180+if "%1" == "text" (181+ %SPHINXBUILD% -b text %ALLSPHINXOPTS% %BUILDDIR%/text182+ if errorlevel 1 exit /b 1183+ echo.184+ echo.Build finished. The text files are in %BUILDDIR%/text.185+ goto end186+)187+188+if "%1" == "man" (189+ %SPHINXBUILD% -b man %ALLSPHINXOPTS% %BUILDDIR%/man190+ if errorlevel 1 exit /b 1191+ echo.192+ echo.Build finished. The manual pages are in %BUILDDIR%/man.193+ goto end194+)195+196+if "%1" == "texinfo" (197+ %SPHINXBUILD% -b texinfo %ALLSPHINXOPTS% %BUILDDIR%/texinfo198+ if errorlevel 1 exit /b 1199+ echo.200+ echo.Build finished. The Texinfo files are in %BUILDDIR%/texinfo.201+ goto end202+)203+204+if "%1" == "gettext" (205+ %SPHINXBUILD% -b gettext %I18NSPHINXOPTS% %BUILDDIR%/locale206+ if errorlevel 1 exit /b 1207+ echo.208+ echo.Build finished. The message catalogs are in %BUILDDIR%/locale.209+ goto end210+)211+212+if "%1" == "changes" (213+ %SPHINXBUILD% -b changes %ALLSPHINXOPTS% %BUILDDIR%/changes214+ if errorlevel 1 exit /b 1215+ echo.216+ echo.The overview file is in %BUILDDIR%/changes.217+ goto end218+)219+220+if "%1" == "linkcheck" (221+ %SPHINXBUILD% -b linkcheck %ALLSPHINXOPTS% %BUILDDIR%/linkcheck222+ if errorlevel 1 exit /b 1223+ echo.224+ echo.Link check complete; look for any errors in the above output ^225+or in %BUILDDIR%/linkcheck/output.txt.226+ goto end227+)228+229+if "%1" == "doctest" (230+ %SPHINXBUILD% -b doctest %ALLSPHINXOPTS% %BUILDDIR%/doctest231+ if errorlevel 1 exit /b 1232+ echo.233+ echo.Testing of doctests in the sources finished, look at the ^234+results in %BUILDDIR%/doctest/output.txt.235+ goto end236+)237+238+if "%1" == "coverage" (239+ %SPHINXBUILD% -b coverage %ALLSPHINXOPTS% %BUILDDIR%/coverage240+ if errorlevel 1 exit /b 1241+ echo.242+ echo.Testing of coverage in the sources finished, look at the ^243+results in %BUILDDIR%/coverage/python.txt.244+ goto end245+)246+247+if "%1" == "xml" (248+ %SPHINXBUILD% -b xml %ALLSPHINXOPTS% %BUILDDIR%/xml249+ if errorlevel 1 exit /b 1250+ echo.251+ echo.Build finished. The XML files are in %BUILDDIR%/xml.252+ goto end253+)254+255+if "%1" == "pseudoxml" (256+ %SPHINXBUILD% -b pseudoxml %ALLSPHINXOPTS% %BUILDDIR%/pseudoxml257+ if errorlevel 1 exit /b 1258+ echo.259+ echo.Build finished. The pseudo-XML files are in %BUILDDIR%/pseudoxml.260+ goto end261+)262+263+:endmodified:docs/Makefile+67 added-4 removed
5 unmodified lines6 SPHINXBUILD = sphinx-build7 PAPER =8 BUILDDIR = _build9 10+# User-friendly check for sphinx-build11+ifeq ($(shell which $(SPHINXBUILD) >/dev/null 2>&1; echo $$?), 1)12+$(error The '$(SPHINXBUILD)' command was not found. Make sure you have Sphinx installed, then set the SPHINXBUILD environment variable to point to the full path of the '$(SPHINXBUILD)' executable. Alternatively you can add the directory with the executable to your PATH. If you don't have Sphinx installed, grab it from http://sphinx-doc.org/)13+endif14+15 # Internal variables.16 PAPEROPT_a4 = -D latex_paper_size=a417 PAPEROPT_letter = -D latex_paper_size=letter18 ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .19 # the i18n builder cannot share the environment and doctrees with the others20 I18NSPHINXOPTS = $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .21 17-.PHONY: help clean html dirhtml singlehtml pickle json htmlhelp qthelp devhelp epub latex latexpdf text man changes linkcheck doctest gettext18-22+.PHONY: help23 help:24 @echo "Please use \`make <target>' where <target> is one of"25 @echo " html to make standalone HTML files"26 @echo " dirhtml to make HTML files named index.html in directories"1 unmodified line28 @echo " pickle to make pickle files"29 @echo " json to make JSON files"30 @echo " htmlhelp to make HTML files and a HTML help project"31 @echo " qthelp to make HTML files and a qthelp project"32+ @echo " applehelp to make an Apple Help Book"33 @echo " devhelp to make HTML files and a Devhelp project"34 @echo " epub to make an epub"35 @echo " latex to make LaTeX files, you can set PAPER=a4 or PAPER=letter"36 @echo " latexpdf to make LaTeX files and run them through pdflatex"37+ @echo " latexpdfja to make LaTeX files and run them through platex/dvipdfmx"38 @echo " text to make text files"39 @echo " man to make manual pages"40 @echo " texinfo to make Texinfo files"41 @echo " info to make Texinfo files and run them through makeinfo"42 @echo " gettext to make PO message catalogs"43 @echo " changes to make an overview of all changed/added/deprecated items"44+ @echo " xml to make Docutils-native XML files"45+ @echo " pseudoxml to make pseudoxml-XML files for display purposes"46 @echo " linkcheck to check all external links for integrity"47 @echo " doctest to run all doctests embedded in the documentation (if enabled)"48+ @echo " coverage to run coverage check of the documentation (if enabled)"49 50+.PHONY: clean51 clean:42- -rm -rf $(BUILDDIR)/*52+ rm -rf $(BUILDDIR)/*53 54+.PHONY: html55 html:56 $(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html57 @echo58 @echo "Build finished. The HTML pages are in $(BUILDDIR)/html."59 60+.PHONY: dirhtml61 dirhtml:62 $(SPHINXBUILD) -b dirhtml $(ALLSPHINXOPTS) $(BUILDDIR)/dirhtml63 @echo64 @echo "Build finished. The HTML pages are in $(BUILDDIR)/dirhtml."65 66+.PHONY: singlehtml67 singlehtml:68 $(SPHINXBUILD) -b singlehtml $(ALLSPHINXOPTS) $(BUILDDIR)/singlehtml69 @echo70 @echo "Build finished. The HTML page is in $(BUILDDIR)/singlehtml."71 72+.PHONY: pickle73 pickle:74 $(SPHINXBUILD) -b pickle $(ALLSPHINXOPTS) $(BUILDDIR)/pickle75 @echo76 @echo "Build finished; now you can process the pickle files."77 78+.PHONY: json79 json:80 $(SPHINXBUILD) -b json $(ALLSPHINXOPTS) $(BUILDDIR)/json81 @echo82 @echo "Build finished; now you can process the JSON files."83 84+.PHONY: htmlhelp85 htmlhelp:86 $(SPHINXBUILD) -b htmlhelp $(ALLSPHINXOPTS) $(BUILDDIR)/htmlhelp87 @echo88 @echo "Build finished; now you can run HTML Help Workshop with the" \89 ".hhp project file in $(BUILDDIR)/htmlhelp."90 91+.PHONY: qthelp92 qthelp:93 $(SPHINXBUILD) -b qthelp $(ALLSPHINXOPTS) $(BUILDDIR)/qthelp94 @echo95 @echo "Build finished; now you can run "qcollectiongenerator" with the" \1 unmodified line97 @echo "# qcollectiongenerator $(BUILDDIR)/qthelp/Requests.qhcp"98 @echo "To view the help file:"99 @echo "# assistant -collectionFile $(BUILDDIR)/qthelp/Requests.qhc"100 101+.PHONY: applehelp102+applehelp:103+ $(SPHINXBUILD) -b applehelp $(ALLSPHINXOPTS) $(BUILDDIR)/applehelp104+ @echo105+ @echo "Build finished. The help book is in $(BUILDDIR)/applehelp."106+ @echo "N.B. You won't be able to view it unless you put it in" \107+ "~/Library/Documentation/Help or install it in your application" \108+ "bundle."109+110+.PHONY: devhelp111 devhelp:112 $(SPHINXBUILD) -b devhelp $(ALLSPHINXOPTS) $(BUILDDIR)/devhelp113 @echo114 @echo "Build finished."1 unmodified line116 @echo "# mkdir -p $$HOME/.local/share/devhelp/Requests"117 @echo "# ln -s $(BUILDDIR)/devhelp $$HOME/.local/share/devhelp/Requests"118 @echo "# devhelp"119 120+.PHONY: epub121 epub:122 $(SPHINXBUILD) -b epub $(ALLSPHINXOPTS) $(BUILDDIR)/epub123 @echo124 @echo "Build finished. The epub file is in $(BUILDDIR)/epub."125 126+.PHONY: latex127 latex:128 $(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex129 @echo130 @echo "Build finished; the LaTeX files are in $(BUILDDIR)/latex."131 @echo "Run \`make' in that directory to run these through (pdf)latex" \132 "(use \`make latexpdf' here to do that automatically)."133 134+.PHONY: latexpdf135 latexpdf:136 $(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex137 @echo "Running LaTeX files through pdflatex..."108- make -C $(BUILDDIR)/latex all-pdf138+ $(MAKE) -C $(BUILDDIR)/latex all-pdf139 @echo "pdflatex finished; the PDF files are in $(BUILDDIR)/latex."140 141+.PHONY: latexpdfja142+latexpdfja:143+ $(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex144+ @echo "Running LaTeX files through platex and dvipdfmx..."145+ $(MAKE) -C $(BUILDDIR)/latex all-pdf-ja146+ @echo "pdflatex finished; the PDF files are in $(BUILDDIR)/latex."147+148+.PHONY: text149 text:150 $(SPHINXBUILD) -b text $(ALLSPHINXOPTS) $(BUILDDIR)/text151 @echo152 @echo "Build finished. The text files are in $(BUILDDIR)/text."153 154+.PHONY: man155 man:156 $(SPHINXBUILD) -b man $(ALLSPHINXOPTS) $(BUILDDIR)/man157 @echo158 @echo "Build finished. The manual pages are in $(BUILDDIR)/man."159 160+.PHONY: texinfo161 texinfo:162 $(SPHINXBUILD) -b texinfo $(ALLSPHINXOPTS) $(BUILDDIR)/texinfo163 @echo164 @echo "Build finished. The Texinfo files are in $(BUILDDIR)/texinfo."165 @echo "Run \`make' in that directory to run these through makeinfo" \166 "(use \`make info' here to do that automatically)."167 168+.PHONY: info169 info:170 $(SPHINXBUILD) -b texinfo $(ALLSPHINXOPTS) $(BUILDDIR)/texinfo171 @echo "Running Texinfo files through makeinfo..."172 make -C $(BUILDDIR)/texinfo info173 @echo "makeinfo finished; the Info files are in $(BUILDDIR)/texinfo."174 175+.PHONY: gettext176 gettext:177 $(SPHINXBUILD) -b gettext $(I18NSPHINXOPTS) $(BUILDDIR)/locale178 @echo179 @echo "Build finished. The message catalogs are in $(BUILDDIR)/locale."180 181+.PHONY: changes182 changes:183 $(SPHINXBUILD) -b changes $(ALLSPHINXOPTS) $(BUILDDIR)/changes184 @echo185 @echo "The overview file is in $(BUILDDIR)/changes."186 187+.PHONY: linkcheck188 linkcheck:189 $(SPHINXBUILD) -b linkcheck $(ALLSPHINXOPTS) $(BUILDDIR)/linkcheck190 @echo191 @echo "Link check complete; look for any errors in the above output " \192 "or in $(BUILDDIR)/linkcheck/output.txt."193 194+.PHONY: doctest195 doctest:196 $(SPHINXBUILD) -b doctest $(ALLSPHINXOPTS) $(BUILDDIR)/doctest197 @echo "Testing of doctests in the sources finished, look at the " \198 "results in $(BUILDDIR)/doctest/output.txt."199+200+.PHONY: coverage201+coverage:202+ $(SPHINXBUILD) -b coverage $(ALLSPHINXOPTS) $(BUILDDIR)/coverage203+ @echo "Testing of coverage in the sources finished, look at the " \204+ "results in $(BUILDDIR)/coverage/python.txt."205+206+.PHONY: xml207+xml:208+ $(SPHINXBUILD) -b xml $(ALLSPHINXOPTS) $(BUILDDIR)/xml209+ @echo210+ @echo "Build finished. The XML files are in $(BUILDDIR)/xml."211+212+.PHONY: pseudoxml213+pseudoxml:214+ $(SPHINXBUILD) -b pseudoxml $(ALLSPHINXOPTS) $(BUILDDIR)/pseudoxml215+ @echo216+ @echo "Build finished. The pseudo-XML files are in $(BUILDDIR)/pseudoxml."deleted:docs/requirements.txt-2 removed
1-alabaster==0.7.32-Sphinx==1.1.3