mirror of
https://github.com/facebook/docusaurus.git
synced 2025-07-31 07:18:59 +02:00
docs(v2): make .nojekyll warning more obvious (#2887)
This commit is contained in:
parent
6f2e59a176
commit
2d8abe150f
2 changed files with 2 additions and 1 deletions
|
@ -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.
|
||||
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue