Skip to content

dailyrandomphoto/hexo-huge-site-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

This plugin helps hexo to generate a huge site.

Resources

License

Stars

Watchers

Forks

Packages

No packages published