Skip to content

Commit 5fa7141

Browse files
Clarify that exclude replaces Jekyll's default excludes on GitHub Pages
1 parent 2bd66de commit 5fa7141

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

‎content/pages/setting-up-a-github-pages-site-with-jekyll/about-github-pages-and-jekyll.md‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,13 +58,18 @@ kramdown:
5858
```
5959
6060
By default, Jekyll doesn't build files or folders that:
61-
* Are located in a folder called `/node_modules` or `/vendor`
61+
* Are named `Gemfile` or `Gemfile.lock`
62+
* Are located in a folder called `/node_modules`, `/vendor/bundle`, `/vendor/cache`, `/vendor/gems`, or `/vendor/ruby`
6263
* Start with `_`, `.`, or `#`
6364
* End with `~`
6465
* Are excluded by the `exclude` setting in your configuration file
6566

6667
If you want Jekyll to process any of these files, you can use the `include` setting in your configuration file.
6768

69+
Jekyll copies every other file in your publishing source to your site unchanged, including files such as scripts and lockfiles, so they are available at their URLs on your site.
70+
71+
On {% data variables.product.prodname_pages %} (Jekyll 3), the `exclude` setting replaces the default list instead of adding to it. For more information, see [Configuration Options](https://jekyllrb.com/docs/configuration/options/) in the Jekyll documentation.
72+
6873
## Front matter
6974

7075
{% data reusables.pages.about-front-matter %}

0 commit comments

Comments
 (0)