The documentation for the web-platform-tests project is built using the Sphinx documentation generator. The GitHub Actions service is configured to automatically update the public website each time changes are merged to the repository.
If you would like to build the site locally, follow these instructions.
Install the system dependencies. The free and open source software tools Python and Git are required. Each website has instructions for downloading and installing on a variety of systems.
Download the source code. Clone this repository using the git clone
command.
Install the Python dependencies. Run the following command in a terminal from the “docs” directory of the WPT repository:
pip install -r requirements.txt
Build the documentation. Windows users should execute the make.bat
batch file. GNU/Linux and macOS users should use the make
command.