aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo/post_build_commands.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/servo/post_build_commands.py')
-rw-r--r--python/servo/post_build_commands.py13
1 files changed, 0 insertions, 13 deletions
diff --git a/python/servo/post_build_commands.py b/python/servo/post_build_commands.py
index 2e3a2aff8e2..1855fefff25 100644
--- a/python/servo/post_build_commands.py
+++ b/python/servo/post_build_commands.py
@@ -13,7 +13,6 @@ import json
import os
import os.path as path
import subprocess
-import sys
from shutil import copytree, rmtree, copy2
from mach.decorators import (
@@ -274,18 +273,6 @@ class PostBuildCommands(CommandBase):
for name in os.listdir(static):
copy2(path.join(static, name), path.join(docs, name))
- build = path.join(self.context.topdir, "components", "style", "properties", "build.py")
- if "layout-2020" in features:
- engine = "servo-2020"
- if "layout-2013" in features:
- engine = "servo-2013"
- subprocess.check_call([sys.executable, build, engine, "html"])
-
- script = path.join(self.context.topdir, "components", "script")
- subprocess.check_call(["cmake", "."], cwd=script)
- subprocess.check_call(["cmake", "--build", ".", "--target", "supported-apis"], cwd=script)
- copy2(path.join(script, "apis.html"), path.join(docs, "servo", "apis.html"))
-
@Command('browse-doc',
description='Generate documentation and open it in a web browser',
category='post-build')