We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 44d5510 commit 9351e71Copy full SHA for 9351e71
readthedocs/projects/tasks.py
@@ -649,6 +649,7 @@ def get_env_vars(self):
649
'READTHEDOCS': True,
650
'READTHEDOCS_VERSION': self.version.slug,
651
'READTHEDOCS_PROJECT': self.project.slug,
652
+ 'READTHEDOCS_LANGUAGE': self.project.language,
653
}
654
655
if self.config.conda is not None:
readthedocs/rtd_tests/tests/test_builds.py
@@ -341,6 +341,7 @@ def test_get_env_vars(self):
341
342
'READTHEDOCS_VERSION': version.slug,
343
'READTHEDOCS_PROJECT': project.slug,
344
+ 'READTHEDOCS_LANGUAGE': project.language,
345
'BIN_PATH': os.path.join(
346
project.doc_path,
347
'envs',
0 commit comments