hexo-huge-site-plugin

1.0.0 • Public • Published

hexo-huge-site-plugin

NPM Version LICENSE Build Status Coverage Status dependencies Status devDependencies Status

This plugin helps hexo to generate a huge site.

Installation

npm install --save hexo-huge-site-plugin

Configuration

Add huge_site_plugin options to the _config.yml file.

huge_site_plugin:
  enable: true
  concurrency: 10
  database_format: 'v8se'
  overrideRenderPostFilter: true
  • enable <Boolean> Enable hexo-huge_site_plugin.
    • Default value is false.
  • concurrency <Number> Maximum number of files to be generated in parallel. hexo generate options
    • Default value is 10.
    • Set a small number or provide -c option on generate command if rendering HTML takes very long time or fails with OOM error.
  • database_format <String>
    • Default value is v8se.
    • json Save the database to file using JSON stringify. Default implementation.
    • v8se Save the database to file using v8 serialization.
    • Set as v8se if save database fails.
  • overrideRenderPostFilter Boolean Limit rendering concurrency to reduce memory usages.
    • Default value is false.
    • Enable it if rendering post takes very long time or fails with OOM error.

License

Copyright (c) 2019 dailyrandomphoto. Licensed under the MIT license.

Dependencies (1)

Dev Dependencies (5)

Package Sidebar

Install

npm i hexo-huge-site-plugin

Weekly Downloads

14

Version

1.0.0

License

MIT

Unpacked Size

10.7 kB

Total Files

7

Last publish

Collaborators

  • dailyrandomphoto