Skip to content

Commit

Permalink
docs(v2): make .nojekyll warning more obvious (facebook#2887)
Browse files Browse the repository at this point in the history
  • Loading branch information
yangshun authored Jun 5, 2020
1 parent 6f2e59a commit 2d8abe1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion website/docs/deployment.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ module.exports = {
};
```

:::tip
:::warning

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.

Expand Down
1 change: 1 addition & 0 deletions website/docs/static-assets.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,3 +62,4 @@ Keep in mind that:

- By default, none of the files in `static` folder will be post-processed or minified.
- Missing files references via hardcoded absolute paths will not be detected at compilation time, and will result in a 404 error.
- 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 if you are using GitHub pages for hosting.

0 comments on commit 2d8abe1

Please sign in to comment.