Skip to content

Commit 08b2204

Browse files
authored
Merge pull request #5745 from rtfd/agj/latexmk-clarify-option
Clarify latexmk option usage
2 parents 0e8e7c1 + 63d5be8 commit 08b2204

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

readthedocs/doc_builder/backends/sphinx.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -478,7 +478,9 @@ def _build_latexmk(self, cwd, latex_cwd):
478478
rcfile,
479479
# FIXME: check for platex here as well
480480
'-pdfdvi' if self.project.language == 'ja' else '-pdf',
481-
# Ignore error codes because they often lie
481+
# When ``-f`` is used, latexmk will continue building if it
482+
# encounters errors. We still receive a failure exit code in this
483+
# case, but the correct steps should run.
482484
'-f',
483485
'-dvi-',
484486
'-ps-',

0 commit comments

Comments
 (0)