File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change 3232 @echo " clean to remove build files"
3333 @echo " venv to create a venv with necessary tools"
3434 @echo " html to make standalone HTML files"
35+ @echo " gettext to generate POT files"
3536 @echo " htmlview to open the index page built by the html target in your browser"
3637 @echo " htmllive to rebuild and reload HTML files in your browser"
3738 @echo " htmlhelp to make HTML files and a HTML help project"
@@ -140,6 +141,11 @@ pydoc-topics: build
140141 @echo " Building finished; now run this:" \
141142 " cp build/pydoc-topics/topics.py ../Lib/pydoc_data/topics.py"
142143
144+ .PHONY : gettext
145+ gettext : BUILDER = gettext
146+ gettext : SPHINXOPTS += '-d build/doctrees-gettext'
147+ gettext : build
148+
143149.PHONY : htmlview
144150htmlview : html
145151 $(PYTHON ) -c " import os, webbrowser; webbrowser.open('file://' + os.path.realpath('build/html/index.html'))"
Original file line number Diff line number Diff line change 374374# Split the index
375375html_split_index = True
376376
377+ # Split pot files one per reST file
378+ gettext_compact = False
377379
378380# Options for LaTeX output
379381# ------------------------
You can’t perform that action at this time.
0 commit comments