parent
839007fa15
commit
01da87c5f9
|
@ -30,8 +30,8 @@ source 'https://rubygems.org'
|
||||||
|
|
||||||
ruby '2.7.4'
|
ruby '2.7.4'
|
||||||
|
|
||||||
gem 'jekyll'
|
gem "jekyll"
|
||||||
gem 'html-proofer'
|
gem "html-proofer"
|
||||||
```
|
```
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
|
|
|
@ -61,10 +61,10 @@ Welcome to My Home Page
|
||||||
|
|
||||||
source 'https://rubygems.org'
|
source 'https://rubygems.org'
|
||||||
|
|
||||||
gem 'jekyll', '~> 4.2'
|
gem "jekyll", "~> 4.2"
|
||||||
|
|
||||||
group :jekyll_plugins do
|
group :jekyll_plugins do
|
||||||
gem 'jekyll-timeago', '~> 0.13.1'
|
gem "jekyll-timeago", "~> 0.13.1"
|
||||||
end
|
end
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
@ -138,7 +138,7 @@ While `listen` has built-in support for UNIX systems, it may require an extra ge
|
||||||
Add the following to the `Gemfile` for your site if you have issues with auto-regeneration on Windows alone:
|
Add the following to the `Gemfile` for your site if you have issues with auto-regeneration on Windows alone:
|
||||||
|
|
||||||
```ruby
|
```ruby
|
||||||
gem 'wdm', '~> 0.1.1', :install_if => Gem.win_platform?
|
gem "wdm", "~> 0.1.1", :install_if => Gem.win_platform?
|
||||||
```
|
```
|
||||||
|
|
||||||
You have to use a [Ruby+Devkit](https://rubyinstaller.org/downloads/) version of the RubyInstaller and install
|
You have to use a [Ruby+Devkit](https://rubyinstaller.org/downloads/) version of the RubyInstaller and install
|
||||||
|
|
|
@ -68,12 +68,12 @@ in a `jekyll_plugins` group they'll automatically be required into Jekyll:
|
||||||
```ruby
|
```ruby
|
||||||
source 'https://rubygems.org'
|
source 'https://rubygems.org'
|
||||||
|
|
||||||
gem 'jekyll'
|
gem "jekyll"
|
||||||
|
|
||||||
group :jekyll_plugins do
|
group :jekyll_plugins do
|
||||||
gem 'jekyll-sitemap'
|
gem "jekyll-sitemap"
|
||||||
gem 'jekyll-feed'
|
gem "jekyll-feed"
|
||||||
gem 'jekyll-seo-tag'
|
gem "jekyll-seo-tag"
|
||||||
end
|
end
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
@ -93,7 +93,7 @@ it's now [Rouge](https://github.com/rouge-ruby/rouge). If you were using the `hi
|
||||||
options, such as `hl_lines`, they may not be available when using Rouge. To
|
options, such as `hl_lines`, they may not be available when using Rouge. To
|
||||||
go back to using Pygments, set `highlighter: pygments` in your
|
go back to using Pygments, set `highlighter: pygments` in your
|
||||||
`_config.yml` file and run `gem install pygments.rb` or add
|
`_config.yml` file and run `gem install pygments.rb` or add
|
||||||
`gem 'pygments.rb'` to your project's `Gemfile`.
|
`gem "pygments.rb"` to your project's `Gemfile`.
|
||||||
|
|
||||||
### Relative Permalink support removed
|
### Relative Permalink support removed
|
||||||
|
|
||||||
|
|
|
@ -82,7 +82,7 @@ First, read the [upgrade guide](/docs/upgrading/3-to-4/)!
|
||||||
Next, Edit your project's `Gemfile` to test Jekyll v4.x:
|
Next, Edit your project's `Gemfile` to test Jekyll v4.x:
|
||||||
|
|
||||||
```ruby
|
```ruby
|
||||||
gem "jekyll", "~> 4.0"
|
gem 'jekyll', '~> 4.0'
|
||||||
```
|
```
|
||||||
|
|
||||||
Then run `bundle update` to update all dependencies. Unless you're using
|
Then run `bundle update` to update all dependencies. Unless you're using
|
||||||
|
|
Loading…
Reference in New Issue