docs(v2): mention about disabling Jekyll when using GitHub pages (#2340)

* docs(v2): add docs for disabling jekyll when using gh pages

* Change to admonition

Co-authored-by: Yangshun Tay <tay.yang.shun@gmail.com>
This commit is contained in:
Amila Welihinda 2020-02-27 17:51:15 -08:00 committed by GitHub
parent baed4faa24
commit 15e6763089
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -67,6 +67,12 @@ module.exports = {
}
```
:::tip
By default, GitHub Pages runs published files through [Jekyll](https://jekyllrb.com/). Since Jekyll will discard any files that begin with `_`, it is recommended that you disable Jekyll by adding an empty file named `.nojekyll` file to your `static` directory.
:::
### Environment settings
Specify the Git user as an environment variable.