Import upstream changes (3d5f473ef4e9db0b928dcfbb9d06a1fd05851643)
This commit is contained in:
@@ -115,9 +115,9 @@ Prettier has not been configured to run when committing files, but this can be a
|
|||||||
|
|
||||||
## Static Site
|
## Static Site
|
||||||
|
|
||||||
This project includes a simple website generated with the [eleventy](https://11ty.dev) static site generator and the templates and pages in `/docs-src`. The site is generated to `/docs` and intended to be checked in so that GitHub pages can serve the site [from `/docs` on the master branch](https://help.github.com/en/github/working-with-github-pages/configuring-a-publishing-source-for-your-github-pages-site).
|
This project includes a simple website generated with the [eleventy](https://11ty.dev) static site generator and the templates and pages in `/docs-src`. The site is generated to `/docs` and intended to be checked in so that GitHub pages can serve the site [from `/docs` on the main branch](https://help.github.com/en/github/working-with-github-pages/configuring-a-publishing-source-for-your-github-pages-site).
|
||||||
|
|
||||||
To enable the site go to the GitHub settings and change the GitHub Pages "Source" setting to "master branch /docs folder".</p>
|
To enable the site go to the GitHub settings and change the GitHub Pages "Source" setting to "main branch /docs folder".</p>
|
||||||
|
|
||||||
To build the site, run:
|
To build the site, run:
|
||||||
|
|
||||||
@@ -134,7 +134,7 @@ npm run docs:serve
|
|||||||
To watch the site files, and re-build automatically, run:
|
To watch the site files, and re-build automatically, run:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
npm run docs:watch
|
npm run docs:gen:watch
|
||||||
```
|
```
|
||||||
|
|
||||||
The site will usually be served at http://localhost:8000.
|
The site will usually be served at http://localhost:8000.
|
||||||
|
|||||||
Reference in New Issue
Block a user