File tree 2 files changed +5
-4
lines changed
2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ PAPEROPT_a4 = -D latex_paper_size=a4
22
22
PAPEROPT_letter = -D latex_paper_size=letter
23
23
ALLSPHINXOPTS = -d $(BUILDDIR ) /doctrees $(PAPEROPT_$(PAPER ) ) $(SPHINXOPTS ) .
24
24
# the i18n builder cannot share the environment and doctrees with the others
25
- I18NSPHINXOPTS = $(PAPEROPT_$(PAPER ) ) $(SPHINXOPTS ) .
25
+ I18NSPHINXOPTS = $(PAPEROPT_$(PAPER ) ) $(SPHINXOPTS ) -t i18n .
26
26
27
27
.PHONY : help clean html dirhtml singlehtml pickle json htmlhelp qthelp devhelp epub latex latexpdf text man changes linkcheck doctest coverage gettext
28
28
@@ -161,9 +161,9 @@ info:
161
161
@echo " makeinfo finished; the Info files are in $( BUILDDIR) /texinfo."
162
162
163
163
gettext :
164
- $(SPHINXBUILD ) -b gettext $(I18NSPHINXOPTS ) $( BUILDDIR ) /locale
164
+ $(SPHINXBUILD ) -b gettext $(I18NSPHINXOPTS ) ../sphinx/templates
165
165
@echo
166
- @echo " Build finished. The message catalogs are in $( BUILDDIR ) /locale ."
166
+ @echo " Build finished. The message catalogs are in ../sphinx/templates ."
167
167
168
168
changes :
169
169
$(SPHINXBUILD ) -b changes $(ALLSPHINXOPTS ) $(BUILDDIR ) /changes
Original file line number Diff line number Diff line change 96
96
]
97
97
98
98
# -- I18n settings --------------------------------------------------------
99
- locale_dirs = ['locale/' ]
99
+
100
+ locale_dirs = ['../sphinx/po/' ]
100
101
gettext_compact = False
101
102
# Exclude class reference when marked with tag i18n.
102
103
if tags .has ('i18n' ):
You can’t perform that action at this time.
0 commit comments