【hexo源码系列】hexo g

首先会加载插件的index.js脚本,

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
$ hexo g --debug
04:48:16.759 DEBUG Hexo version: 3.7.1
04:48:16.761 DEBUG Working directory: ~/workspace/web/blog-dev/
04:48:16.846 DEBUG Config loaded: ~/workspace/web/blog-dev/_config.yml
04:48:16.864 DEBUG Plugin loaded: hexo-abbrlink # 打印日志 Generate link 767c2456 for post
04:48:16.865 DEBUG Plugin loaded: hexo-auto-category # 打印日志 Generated: categories .. for post
04:48:16.877 DEBUG Plugin loaded: hexo-deployer-git
04:48:16.879 DEBUG Plugin loaded: hexo-generator-archive # Generator: page、post、archive、category
04:48:16.880 DEBUG Plugin loaded: hexo-generator-category #
04:48:16.882 DEBUG Plugin loaded: hexo-generator-index
04:48:16.884 DEBUG Plugin loaded: hexo-generator-search
04:48:16.885 DEBUG Plugin loaded: hexo-generator-tag
04:48:16.894 DEBUG Plugin loaded: hexo-related-popular-posts
04:48:16.896 DEBUG Plugin loaded: hexo-renderer-ejs
04:48:16.905 DEBUG Plugin loaded: hexo-renderer-kramed
04:48:16.906 DEBUG Plugin loaded: hexo-renderer-stylus
04:48:16.949 DEBUG Plugin loaded: hexo-server
04:48:16.949 DEBUG Plugin loaded: hexo-tag-chat
04:48:16.950 DEBUG Plugin loaded: hexo-tag-soundcloud
04:48:16.950 DEBUG Plugin loaded: hexo-tag-instagram
04:48:16.951 DEBUG Plugin loaded: hexo-tag-twitter
04:48:16.983 DEBUG Plugin loaded: hexo-wordcount
04:48:16.990 DEBUG Script loaded: themes/next/scripts/merge-configs.js
04:48:16.991 DEBUG Script loaded: themes/next/scripts/helpers.js
04:48:16.991 DEBUG Script loaded: themes/next/scripts/tags/button.js
04:48:16.992 DEBUG Script loaded: themes/next/scripts/tags/exturl.js
04:48:16.992 DEBUG Script loaded: themes/next/scripts/tags/center-quote.js
04:48:16.992 DEBUG Script loaded: themes/next/scripts/tags/full-image.js
04:48:16.993 DEBUG Script loaded: themes/next/scripts/tags/include-raw.js
04:48:16.993 DEBUG Script loaded: themes/next/scripts/tags/label.js
04:48:16.994 DEBUG Script loaded: themes/next/scripts/tags/note.js
04:48:16.995 DEBUG Script loaded: themes/next/scripts/tags/tabs.js
04:48:16.996 DEBUG Script loaded: themes/next/scripts/tags/group-pictures.js
04:48:16.999 DEBUG Script loaded: themes/next/scripts/merge.js
04:48:17.164 DEBUG Loading database.
04:48:17.171 INFO Start processing
04:48:17.191 DEBUG Processed: 404.html
04:48:17.251 DEBUG Processed: CNAME
04:48:17.252 DEBUG Processed: README.md
04:48:17.252 DEBUG Processed: robots.txt
04:48:17.312 DEBUG Processed: _posts/README.md
04:48:17.314 DEBUG Processed: asset/flare.json
04:48:17.314 DEBUG Processed: asset/index.html
04:48:17.315 DEBUG Processed: asset/math.json
04:48:17.316 DEBUG Processed: images/avatar.png
04:48:17.318 DEBUG Processed: images/blueprint.png
04:48:17.447 DEBUG Processed: images/carbon.png
04:48:17.447 DEBUG Processed: images/error-pin.png
04:48:17.451 DEBUG Processed: images/error-hanger.png
04:48:17.553 DEBUG Processed: images/bg4.png
04:48:17.630 DEBUG Processed: _posts/-block-chain/README.md