hexo-huge-site-plugin
v1.0.0
Published
This plugin helps hexo to generate a huge site.
Downloads
63
Maintainers
Readme
hexo-huge-site-plugin
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
.
- Default value is
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 ongenerate
command if rendering HTML takes very long time or fails with OOM error.
- Default value is
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.
- Default value is
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.
- Default value is
License
Copyright (c) 2019 dailyrandomphoto. Licensed under the MIT license.