aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ports/servo/Cargo.toml1
-rw-r--r--python/servo/post_build_commands.py2
2 files changed, 1 insertions, 2 deletions
diff --git a/ports/servo/Cargo.toml b/ports/servo/Cargo.toml
index a69bbf17784..5391037fcac 100644
--- a/ports/servo/Cargo.toml
+++ b/ports/servo/Cargo.toml
@@ -10,7 +10,6 @@ publish = false
name = "servo"
path = "main.rs"
test = false
-doc = false
bench = false
[dev-dependencies]
diff --git a/python/servo/post_build_commands.py b/python/servo/post_build_commands.py
index 58d4811f3e9..78e1a230ed5 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=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',