>> hexo g INFO Start processing INFO Files loaded in 3.16 s (node:2830) Warning: Accessing non-existent property 'lineno' of module exports inside circular dependency (Use `node --trace-warnings ...` to show where the warning was created) (node:2830) Warning: Accessing non-existent property 'column' of module exports inside circular dependency (node:2830) Warning: Accessing non-existent property 'filename' of module exports inside circular dependency (node:2830) Warning: Accessing non-existent property 'lineno' of module exports inside circular dependency (node:2830) Warning: Accessing non-existent property 'column' of module exports inside circular dependency (node:2830) Warning: Accessing non-existent property 'filename' of module exports inside circular dependency INFO Generated: baidusitemap.xml INFO Generated: search.xml INFO Generated: sitemap.xml INFO Generated: index.html INFO Generated: archives/index.html INFO Generated: categories/Linux/index.html INFO Generated: categories/Bug/index.html INFO Generated: images/cc-by-sa.svg ... INFO 939 files generated in 7.25 s
然后生成的 html 等文件就会放到 public 文件夹,然后将该文件夹的内容复制到 github.io 文件夹下的 blog 文件夹下,over!
其实当前目录下有个 auto_move.py 脚本,应该是之前写的,里面有两个方法,一个移除多余空格,一个复制到上面提到的 blog 目录下。