Skip to content

Commit 08b9a35

Browse files
committed
Remove USE_PDF_LATEXMK feature flag
1 parent 17dfb7e commit 08b9a35

File tree

5 files changed

+0
-16
lines changed

5 files changed

+0
-16
lines changed

docs/guides/feature-flags.rst

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@ or disable one or more of these featured flags for a particular project.
1212
Available Flags
1313
---------------
1414

15-
``USE_PDF_LATEXMK``: :featureflags:`USE_PDF_LATEXMK`
16-
1715
``USE_SPHINX_LATEST``: :featureflags:`USE_SPHINX_LATEST`
1816

1917
``ALLOW_DEPRECATED_WEBHOOKS``: :featureflags:`ALLOW_DEPRECATED_WEBHOOKS`

docs/guides/pdf-non-ascii-languages.rst

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,6 @@
11
Build PDF format for non-ASCII languages
22
========================================
33

4-
5-
.. warning::
6-
7-
To be able to follow this guide and build PDF with this method,
8-
you need to ask the Read the Docs core team to enable ``USE_PDF_LATEXMK`` :doc:`feature flag </guides/feature-flags>` in your project.
9-
Please, `open an issue`_ in our repository asking for this, and wait for one of the core team to enable it.
10-
114
.. _open an issue: https://github.com/rtfd/readthedocs.org/issues/new
125

136
Sphinx offers different `LaTeX engines`_ that support Unicode characters and non-ASCII languages,

readthedocs/doc_builder/backends/sphinx.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -149,9 +149,6 @@ def get_config_params(self):
149149
'dont_overwrite_sphinx_context': self.project.has_feature(
150150
Feature.DONT_OVERWRITE_SPHINX_CONTEXT,
151151
),
152-
'use_pdf_latexmk': self.project.has_feature(
153-
Feature.USE_PDF_LATEXMK,
154-
),
155152
}
156153

157154
finalize_sphinx_context_data.send(

readthedocs/doc_builder/templates/doc_builder/conf.py.tmpl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,6 @@ if 'extensions' in globals():
141141
else:
142142
extensions = ["readthedocs_ext.readthedocs"]
143143

144-
{% if use_pdf_latexmk %}
145144
project_language = '{{ project.language }}'
146145

147146
# User's Sphinx configurations
@@ -173,4 +172,3 @@ if chinese:
173172
latex_elements = latex_elements_user or latex_elements_rtd
174173
elif japanese:
175174
latex_engine = latex_engine_user or 'platex'
176-
{% endif %}

readthedocs/projects/models.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1337,12 +1337,10 @@ def add_features(sender, **kwargs):
13371337
DONT_SHALLOW_CLONE = 'dont_shallow_clone'
13381338
USE_TESTING_BUILD_IMAGE = 'use_testing_build_image'
13391339
SHARE_SPHINX_DOCTREE = 'share_sphinx_doctree'
1340-
USE_PDF_LATEXMK = 'use_pdf_latexmk'
13411340
DEFAULT_TO_MKDOCS_0_17_3 = 'default_to_mkdocs_0_17_3'
13421341

13431342
FEATURES = (
13441343
(USE_SPHINX_LATEST, _('Use latest version of Sphinx')),
1345-
(USE_PDF_LATEXMK, _('Use latexmk to build the PDF')),
13461344
(ALLOW_DEPRECATED_WEBHOOKS, _('Allow deprecated webhook views')),
13471345
(PIP_ALWAYS_UPGRADE, _('Always run pip install --upgrade')),
13481346
(SKIP_SUBMODULES, _('Skip git submodule checkout')),

0 commit comments

Comments
 (0)