Skip to content

Commit 2d73fea

Browse files
authored
Explain how the script locates the HTML source
1 parent 6da3554 commit 2d73fea

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,13 @@ Run the `build.sh` script from inside your `html-build` working directory, like
3232
./build.sh
3333
```
3434

35-
The first time this runs, it will ask for your input on where to clone the HTML source from, or where on your system to find it if you've already done that. If you're working to submit a pull request to [whatwg/html](https://github.com/whatwg/html), be sure to give it the URL of your fork.
35+
The first time this runs, it will look up for the HTML source from a `../html` folder, if it exists. Otherwise, it may ask for your input on where to clone the HTML source from, or where on your system to find it if you've already done that. If you're working to submit a pull request to [whatwg/html](https://github.com/whatwg/html), be sure to give it the URL of your fork.
36+
37+
You may also set the environment variable `$HTML_SOURCE` to use a custom location for the HTML source. For example:
38+
39+
```bash
40+
HTML_SOURCE=~/hacks/dhtml ./build.sh
41+
```
3642

3743
## Building using a Docker container
3844

0 commit comments

Comments
 (0)