fune/testing/web-platform/tests/docs/frontend.py
James Graham 31c7feaef0 Bug 1642752 [wpt PR 23922] - Add a wpt build-docs command, a=testonly
Automatic update from web-platform-tests
Add a wpt build-docs command

This makes it obvious how to do that and avoids worrying about
virtualenvs and installing sphinx

--

wpt-commits: a43cfa2dd30697c5c75e3581547551773af146d9
wpt-pr: 23922
2020-06-12 09:18:24 +00:00

8 lines
146 B
Python

import subprocess
import os
here = os.path.dirname(__file__)
def build(*args, **kwargs):
subprocess.check_call(["make", "html"], cwd=here)