Skip to content

Commit 5254761

Browse files
committed
docs: Add gettext target
1 parent 7d7eec5 commit 5254761

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

Doc/Makefile

+4
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,10 @@ pydoc-topics: build
140140
@echo "Building finished; now run this:" \
141141
"cp build/pydoc-topics/topics.py ../Lib/pydoc_data/topics.py"
142142

143+
.PHONY: gettext
144+
gettext: BUILDER = gettext
145+
gettext: build
146+
143147
.PHONY: htmlview
144148
htmlview: html
145149
$(PYTHON) -c "import os, webbrowser; webbrowser.open('file://' + os.path.realpath('build/html/index.html'))"

Doc/conf.py

+2
Original file line numberDiff line numberDiff line change
@@ -374,6 +374,8 @@
374374
# Split the index
375375
html_split_index = True
376376

377+
# Split pot files one per reST file
378+
gettext_compact = False
377379

378380
# Options for LaTeX output
379381
# ------------------------

0 commit comments

Comments
 (0)