From 39a221ae5debfe3a77661f7e57e4c77b1deea36b Mon Sep 17 00:00:00 2001 From: Matt Brubeck Date: Wed, 16 Nov 2016 16:54:34 -0800 Subject: [PATCH] Run cargo doc on libservo crate Fixes `./mach doc` regression caused by #14172. --- python/servo/post_build_commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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',