Skip to content

Commit 87e419a

Browse files
committed
Fix test
Call mkdocs with relative path we are already setting the cwd to the full checkout path
1 parent 806ad3b commit 87e419a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

readthedocs/doc_builder/backends/mkdocs.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ def build(self):
248248
'--site-dir',
249249
self.build_dir,
250250
'--config-file',
251-
self.yaml_file,
251+
os.path.relpath(self.yaml_file, self.root_path),
252252
]
253253
if self.config.mkdocs.fail_on_warning:
254254
build_command.append('--strict')

0 commit comments

Comments
 (0)