mirror of
https://github.com/servo/servo.git
synced 2025-07-22 14:53:49 +01:00
Fix writing of apis.html (#34224)
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
This commit is contained in:
parent
4f4b7b1abf
commit
deddcf2c7a
1 changed files with 4 additions and 1 deletions
|
@ -16,7 +16,10 @@ def main():
|
|||
sys.path.insert(0, os.path.join(SERVO_ROOT, "third_party", "ply"))
|
||||
|
||||
css_properties_json, out_dir = sys.argv[1:]
|
||||
doc_servo = os.path.join(SERVO_ROOT, "target", "doc", "servo")
|
||||
# Four dotdots: /path/to/target(4)/debug(3)/build(2)/style-*(1)/out
|
||||
# Do not ascend above the target dir, because it may not be called target
|
||||
# or even have a parent (see CARGO_TARGET_DIR).
|
||||
doc_servo = os.path.join(out_dir, "..", "..", "..", "..", "doc")
|
||||
webidls_dir = os.path.join(SCRIPT_PATH, "..", "..", "webidls")
|
||||
config_file = "Bindings.conf"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue