Auto merge of #14254 - mbrubeck:mach-doc-fix, r=metajack

Run cargo doc on libservo crate

Fixes `./mach doc` regression caused by #14172.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/14254)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2016-11-17 00:02:45 -06:00 committed by GitHub
commit efae67ed18

View file

@ -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',