Skip to content

eliemichel/LearnWebGPU

Repository files navigation

Learn WebGPU

This is the source files of the website https://eliemichel.github.io/LearnWebGPU.

Building

Building the website requires Python.

  1. It is recommended, but not mandatory, to set up a virtual Python environment:
# Create the virtualenv in the "venv" directory (only the first time)
virtualenv venv
# Activate the virtualenv (each time you open a new terminal)
venv/Scripts/activate
  1. Then install Python packages
pip install -r requirements.txt
  1. And finally build the website by running:
make html
  1. To open the new website, run the following simple server:
cd _build/html
python -m http.server 8000

Then browse to http://localhost:8000. You should see the LearnWebGPU website there.

  1. To build the source code defined by Sphinx Literate (optional), run
make tangle

Contributing

To help this project, you can: