mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
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:
commit
efae67ed18
1 changed files with 1 additions and 1 deletions
|
@ -217,7 +217,7 @@ class PostBuildCommands(CommandBase):
|
||||||
copy2(full_name, destination)
|
copy2(full_name, destination)
|
||||||
|
|
||||||
return call(["cargo", "doc"] + params,
|
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',
|
@Command('browse-doc',
|
||||||
description='Generate documentation and open it in a web browser',
|
description='Generate documentation and open it in a web browser',
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue