Skip to content
Myr

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

4 files+333 added−198 removed

modified:docs/user/advanced.rst+3 added-2 removed
354 unmodified lines
355POST Multiple Multipart-Encoded Files356-------------------------------------357358You can send multiple files in one request. For example, suppose you want to359upload image files to an HTML form with a multiple file field 'images':359upload image files to an HTML form with a multiple file field 'images'::360361 <input type="file" name="images" multiple="true" required="true"/>362363To do that, just set files to a list of tuples of (form_field_name, file_info):363To do that, just set files to a list of tuples of ``(form_field_name, file_info)``:364365 >>> 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 lines
518::519520 $ export HTTP_PROXY="http://10.10.1.10:3128"521 $ export HTTPS_PROXY="http://10.10.1.10:1080"522523 $ python524 >>> import requests525 >>> requests.get("http://example.org")526
373 unmodified lines
modified:docs/make.bat+263 added-190 removed
1@ECHO OFF23REM Command file for Sphinx documentation45if "%SPHINXBUILD%" == "" (6 set SPHINXBUILD=sphinx-build7)8set BUILDDIR=_build9set ALLSPHINXOPTS=-d %BUILDDIR%/doctrees %SPHINXOPTS% .10set I18NSPHINXOPTS=%SPHINXOPTS% .11if NOT "%PAPER%" == "" (12 set ALLSPHINXOPTS=-D latex_paper_size=%PAPER% %ALLSPHINXOPTS%13 set I18NSPHINXOPTS=-D latex_paper_size=%PAPER% %I18NSPHINXOPTS%14)1516if "%1" == "" goto help1718if "%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)4041if "%1" == "clean" (42 for /d %%i in (%BUILDDIR%\*) do rmdir /q /s %%i43 del /q /s %BUILDDIR%\*44 goto end45)4647if "%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)5455if "%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)6263if "%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)7071if "%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)7879if "%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)8687if "%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)9596if "%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)107108if "%1" == "devhelp" (109 %SPHINXBUILD% -b devhelp %ALLSPHINXOPTS% %BUILDDIR%/devhelp110 if errorlevel 1 exit /b 1111 echo.112 echo.Build finished.113 goto end114)115116if "%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)123124if "%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)131132if "%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)139140if "%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)147148if "%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)155156if "%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)163164if "%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)171172if "%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 ^177or in %BUILDDIR%/linkcheck/output.txt.178 goto end179)180181if "%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 ^186results in %BUILDDIR%/doctest/output.txt.187 goto end188)189190:end1@ECHO OFF23REM Command file for Sphinx documentation45if "%SPHINXBUILD%" == "" (6 set SPHINXBUILD=sphinx-build7)8set BUILDDIR=_build9set ALLSPHINXOPTS=-d %BUILDDIR%/doctrees %SPHINXOPTS% .10set I18NSPHINXOPTS=%SPHINXOPTS% .11if NOT "%PAPER%" == "" (12 set ALLSPHINXOPTS=-D latex_paper_size=%PAPER% %ALLSPHINXOPTS%13 set I18NSPHINXOPTS=-D latex_paper_size=%PAPER% %I18NSPHINXOPTS%14)1516if "%1" == "" goto help1718if "%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)4344if "%1" == "clean" (45 for /d %%i in (%BUILDDIR%\*) do rmdir /q /s %%i46 del /q /s %BUILDDIR%\*47 goto end48)495051REM Check if sphinx-build is available and fallback to Python version if any52%SPHINXBUILD% 1>NUL 2>NUL53if errorlevel 9009 goto sphinx_python54goto sphinx_ok5556:sphinx_python5758set SPHINXBUILD=python -m sphinx.__init__59%SPHINXBUILD% 2> nul60if 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)7172:sphinx_ok737475if "%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)8283if "%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)9091if "%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)9899if "%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)106107if "%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)114115if "%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)123124if "%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)135136if "%1" == "devhelp" (137 %SPHINXBUILD% -b devhelp %ALLSPHINXOPTS% %BUILDDIR%/devhelp138 if errorlevel 1 exit /b 1139 echo.140 echo.Build finished.141 goto end142)143144if "%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)151152if "%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)159160if "%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)169170if "%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)179180if "%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)187188if "%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)195196if "%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)203204if "%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)211212if "%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)219220if "%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 ^225or in %BUILDDIR%/linkcheck/output.txt.226 goto end227)228229if "%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 ^234results in %BUILDDIR%/doctest/output.txt.235 goto end236)237238if "%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 ^243results in %BUILDDIR%/coverage/python.txt.244 goto end245)246247if "%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)254255if "%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)262263:end
modified:docs/Makefile+67 added-4 removed
5 unmodified lines
6SPHINXBUILD = sphinx-build7PAPER =8BUILDDIR = _build910# User-friendly check for sphinx-build11ifeq ($(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/)13endif1415# Internal variables.16PAPEROPT_a4 = -D latex_paper_size=a417PAPEROPT_letter = -D latex_paper_size=letter18ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .19# the i18n builder cannot share the environment and doctrees with the others20I18NSPHINXOPTS = $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .2117.PHONY: help clean html dirhtml singlehtml pickle json htmlhelp qthelp devhelp epub latex latexpdf text man changes linkcheck doctest gettext1822.PHONY: help23help: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 line
28 @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)"4950.PHONY: clean51clean:42 -rm -rf $(BUILDDIR)/*52 rm -rf $(BUILDDIR)/*5354.PHONY: html55html:56 $(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html57 @echo58 @echo "Build finished. The HTML pages are in $(BUILDDIR)/html."5960.PHONY: dirhtml61dirhtml:62 $(SPHINXBUILD) -b dirhtml $(ALLSPHINXOPTS) $(BUILDDIR)/dirhtml63 @echo64 @echo "Build finished. The HTML pages are in $(BUILDDIR)/dirhtml."6566.PHONY: singlehtml67singlehtml:68 $(SPHINXBUILD) -b singlehtml $(ALLSPHINXOPTS) $(BUILDDIR)/singlehtml69 @echo70 @echo "Build finished. The HTML page is in $(BUILDDIR)/singlehtml."7172.PHONY: pickle73pickle:74 $(SPHINXBUILD) -b pickle $(ALLSPHINXOPTS) $(BUILDDIR)/pickle75 @echo76 @echo "Build finished; now you can process the pickle files."7778.PHONY: json79json:80 $(SPHINXBUILD) -b json $(ALLSPHINXOPTS) $(BUILDDIR)/json81 @echo82 @echo "Build finished; now you can process the JSON files."8384.PHONY: htmlhelp85htmlhelp: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."9091.PHONY: qthelp92qthelp:93 $(SPHINXBUILD) -b qthelp $(ALLSPHINXOPTS) $(BUILDDIR)/qthelp94 @echo95 @echo "Build finished; now you can run "qcollectiongenerator" with the" \
1 unmodified line
97 @echo "# qcollectiongenerator $(BUILDDIR)/qthelp/Requests.qhcp"98 @echo "To view the help file:"99 @echo "# assistant -collectionFile $(BUILDDIR)/qthelp/Requests.qhc"100101.PHONY: applehelp102applehelp: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."109110.PHONY: devhelp111devhelp:112 $(SPHINXBUILD) -b devhelp $(ALLSPHINXOPTS) $(BUILDDIR)/devhelp113 @echo114 @echo "Build finished."
1 unmodified line
116 @echo "# mkdir -p $$HOME/.local/share/devhelp/Requests"117 @echo "# ln -s $(BUILDDIR)/devhelp $$HOME/.local/share/devhelp/Requests"118 @echo "# devhelp"119120.PHONY: epub121epub:122 $(SPHINXBUILD) -b epub $(ALLSPHINXOPTS) $(BUILDDIR)/epub123 @echo124 @echo "Build finished. The epub file is in $(BUILDDIR)/epub."125126.PHONY: latex127latex: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)."133134.PHONY: latexpdf135latexpdf: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."140141.PHONY: latexpdfja142latexpdfja: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."147148.PHONY: text149text:150 $(SPHINXBUILD) -b text $(ALLSPHINXOPTS) $(BUILDDIR)/text151 @echo152 @echo "Build finished. The text files are in $(BUILDDIR)/text."153154.PHONY: man155man:156 $(SPHINXBUILD) -b man $(ALLSPHINXOPTS) $(BUILDDIR)/man157 @echo158 @echo "Build finished. The manual pages are in $(BUILDDIR)/man."159160.PHONY: texinfo161texinfo: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)."167168.PHONY: info169info: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."174175.PHONY: gettext176gettext:177 $(SPHINXBUILD) -b gettext $(I18NSPHINXOPTS) $(BUILDDIR)/locale178 @echo179 @echo "Build finished. The message catalogs are in $(BUILDDIR)/locale."180181.PHONY: changes182changes:183 $(SPHINXBUILD) -b changes $(ALLSPHINXOPTS) $(BUILDDIR)/changes184 @echo185 @echo "The overview file is in $(BUILDDIR)/changes."186187.PHONY: linkcheck188linkcheck: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."193194.PHONY: doctest195doctest: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."199200.PHONY: coverage201coverage: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."205206.PHONY: xml207xml:208 $(SPHINXBUILD) -b xml $(ALLSPHINXOPTS) $(BUILDDIR)/xml209 @echo210 @echo "Build finished. The XML files are in $(BUILDDIR)/xml."211212.PHONY: pseudoxml213pseudoxml: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
1alabaster==0.7.32Sphinx==1.1.3