aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo/post_build_commands.py
diff options
context:
space:
mode:
authorMatt Brubeck <mbrubeck@limpet.net>2016-11-16 16:54:34 -0800
committerMatt Brubeck <mbrubeck@limpet.net>2016-11-16 16:54:34 -0800
commit39a221ae5debfe3a77661f7e57e4c77b1deea36b (patch)
treec3947293631cd8215c1f56b39ce6f3a872c181de /python/servo/post_build_commands.py
parentf14e7339b5ff95fce0127dce4fe87ce082ab7259 (diff)
downloadservo-39a221ae5debfe3a77661f7e57e4c77b1deea36b.tar.gz
servo-39a221ae5debfe3a77661f7e57e4c77b1deea36b.zip
Run cargo doc on libservo crate
Fixes `./mach doc` regression caused by #14172.
Diffstat (limited to 'python/servo/post_build_commands.py')
-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',