Update to the latest Jekyll?
holyjak opened this issue · comments
Jakub Holý commented
When running with jekyll 3.1.6 I get a few deprecation errors. Perhaps it would be good to upgrade?
Deprecation: Auto-regeneration can no longer be set from your configuration file(s). Use the --[no-]watch/-w command-line option instead.
Deprecation: The 'plugins' configurationoption has been renamed to 'plugins_dir'. Please update your config file accordingly.
Deprecation: The 'pygments' configuration option has been renamed to 'highlighter'. Please update your config file accordingly. The allowed values are 'rouge', 'pygments' or null.
...
Deprecation: posts.each should be changed to posts.docs.each.
Called by /Users/holyjak/Projects/external/machine_head.docs/_plugins/sitemap_generator.rb:141:in `fill_posts'.
Michael Klishin commented
It's a matter of updating our config but yes, I am happy to keep Jekyll up-to-date :)
Jakub Holý commented
And I see it is also a problem with the included Jekyll:
🐟 ./bin/jekyll serve --watch
Configuration file: /machine_head.docs/_config.yml
Deprecation: Auto-regeneration can no longer be set from your configuration file(s). Use the --[no-]watch/-w command-line option instead.
Deprecation: The 'pygments' configuration option has been renamed to 'highlighter'. Please update your config file accordingly. The allowed values are 'rouge', 'pygments' or null.
Source: .
Destination: ./_site
Generating...
jekyll 2.5.3 | Error: No such file or directory - /machine_head.docs/_site/sitemap.xml