Skip to content

Commit c0a5fd9

Browse files
authored
Merge branch 'master' into fix--invalid-highlight-search
2 parents a1a6666 + fda7fc3 commit c0a5fd9

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

readthedocs/doc_builder/python_environments.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -420,6 +420,7 @@ def _update_conda_startup(self):
420420
'--name=base',
421421
'--channel=defaults',
422422
'conda',
423+
cwd=self.checkout_path,
423424
)
424425

425426
def setup_base(self):

readthedocs/projects/tasks.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -649,6 +649,7 @@ def get_env_vars(self):
649649
'READTHEDOCS': True,
650650
'READTHEDOCS_VERSION': self.version.slug,
651651
'READTHEDOCS_PROJECT': self.project.slug,
652+
'READTHEDOCS_LANGUAGE': self.project.language,
652653
}
653654

654655
if self.config.conda is not None:

readthedocs/rtd_tests/tests/test_builds.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -341,6 +341,7 @@ def test_get_env_vars(self):
341341
'READTHEDOCS': True,
342342
'READTHEDOCS_VERSION': version.slug,
343343
'READTHEDOCS_PROJECT': project.slug,
344+
'READTHEDOCS_LANGUAGE': project.language,
344345
'BIN_PATH': os.path.join(
345346
project.doc_path,
346347
'envs',

0 commit comments

Comments
 (0)