Update documentation for #2621 (#2624)

* Update documentation for #2621

* Update CHANGELOG and history

* Update last_modified_at
This commit is contained in:
iBug ♦
2020-08-04 22:23:18 +08:00
committed by GitHub
parent 83b4dba2f0
commit a695d7728f
4 changed files with 17 additions and 10 deletions

View File

@@ -2,7 +2,7 @@
title: "Overriding Theme Defaults"
permalink: /docs/overriding-theme-defaults/
excerpt: "Instructions on how to customize the theme's default set of layouts, includes, and stylesheets when using the Ruby Gem version."
last_modified_at: 2018-03-20T15:59:31-04:00
last_modified_at: 2020-07-27
---
When installing the theme as a Ruby Gem its layouts, includes, stylesheets, and other assets are all bundled in the `gem`. Meaning they're not easily visible in your project.
@@ -21,7 +21,8 @@ Jekyll will use the files in your project first before falling back to the defau
/_sass
```
Additionally, from `v4.5.0` the theme-gem will also exhibit above behavior for `/_data` via a plugin.
Additionally, from `v4.5.0` onwards the theme-gem will also exhibit above behavior for `/_data` via a plugin.
Consequently, the data files for UI Text and Navigation are also bundled within the theme-gem.
This doesn't apply if you're building your site on GitHub Pages, however.
For more information on customizing the theme's [stylesheets]({{ "/docs/stylesheets/" | relative_url }}) and [JavaScript]({{ "/docs/javascript/" | relative_url }}), see the appropriate pages.