mirror of
https://github.com/servo/servo.git
synced 2025-07-26 16:50:23 +01:00
Fix doc upload
This commit is contained in:
parent
755adf0dde
commit
a3cab14183
2 changed files with 37 additions and 2 deletions
|
@ -78,7 +78,9 @@ class MachCommands(CommandBase):
|
|||
help="Command-line arguments to be passed through to cargo doc")
|
||||
def doc(self, params):
|
||||
self.ensure_bootstrapped()
|
||||
|
||||
if not path.exists(path.join(
|
||||
self.config["tools"]["rust-root"], "doc")):
|
||||
Registrar.dispatch("bootstrap-rust-docs", context=self.context)
|
||||
rust_docs = path.join(self.config["tools"]["rust-root"], "doc")
|
||||
docs = path.join(
|
||||
self.context.topdir, "components", "servo", "target", "doc")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue