aboutsummaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/servo/post_build_commands.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/servo/post_build_commands.py b/python/servo/post_build_commands.py
index 78e1a230ed5..58d4811f3e9 100644
--- a/python/servo/post_build_commands.py
+++ b/python/servo/post_build_commands.py
@@ -217,7 +217,7 @@ class PostBuildCommands(CommandBase):
copy2(full_name, destination)
return call(["cargo", "doc"] + params,
- env=self.build_env(), cwd=self.servo_crate())
+ env=self.build_env(), cwd=path.join('components', 'servo'))
@Command('browse-doc',
description='Generate documentation and open it in a web browser',