mirror of
https://github.com/servo/servo.git
synced 2025-07-23 07:13:52 +01:00
Run cargo doc in the ports/servo directory
Running it in components/servo isn't guaranteed to work because there's no Cargo.lock checked in there. Followup to #14254.
This commit is contained in:
parent
39a221ae5d
commit
02f189060c
2 changed files with 1 additions and 2 deletions
|
@ -217,7 +217,7 @@ class PostBuildCommands(CommandBase):
|
|||
copy2(full_name, destination)
|
||||
|
||||
return call(["cargo", "doc"] + params,
|
||||
env=self.build_env(), cwd=path.join('components', 'servo'))
|
||||
env=self.build_env(), cwd=self.servo_crate())
|
||||
|
||||
@Command('browse-doc',
|
||||
description='Generate documentation and open it in a web browser',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue