Skip to content

Commit

Permalink
docs: Add gettext target
Browse files Browse the repository at this point in the history
  • Loading branch information
rffontenelle committed May 13, 2024
1 parent 7d7eec5 commit d05ab47
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Doc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,10 @@ pydoc-topics: build
@echo "Building finished; now run this:" \
"cp build/pydoc-topics/topics.py ../Lib/pydoc_data/topics.py"

.PHONY: gettext
gettext: BUILDER = gettext
gettext: build

.PHONY: htmlview
htmlview: html
$(PYTHON) -c "import os, webbrowser; webbrowser.open('file://' + os.path.realpath('build/html/index.html'))"
Expand Down
2 changes: 2 additions & 0 deletions Doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -374,6 +374,8 @@
# Split the index
html_split_index = True

# Split pot files one per reST file
gettext_compact = False

# Options for LaTeX output
# ------------------------
Expand Down

0 comments on commit d05ab47

Please sign in to comment.