Skip to content

Commit d9ccf27

Browse files
committed
Add comment explaining one of the build steps
1 parent 98f0f55 commit d9ccf27

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

readthedocs/doc_builder/backends/sphinx.py

+4
Original file line numberDiff line numberDiff line change
@@ -417,6 +417,10 @@ def _build_latexmk(self, cwd, latex_cwd):
417417
# ``latex_engine`` is ``platex``
418418
pdfs = []
419419
if self.project.language == 'ja':
420+
# Japanese language is the only one that requires this extra
421+
# step. I don't know exactly why but most of the documentation that
422+
# I read differentiate this language from the others. I suppose
423+
# it's because it mix kanji (Chinese) with its own symbols.
420424
pdfs = latex_path.glob('*.pdf')
421425

422426
for image in itertools.chain(images, pdfs):

0 commit comments

Comments
 (0)