Jekyll快速生成文件头命令

作者:糖果

需要快速生成Markdown的文件头,命令行方式,是相对比较快的:

python md-cli.py publish -t LOR -g [getting_started] -k announcements -d "July 3, 2016" -s summary  -b mydoc_sidebar -p lor_README_zh.html -f lor -n test.md

重新修改参数,配置可定向输出到指定目录。

python md-cli.py publish -t LOR -g [getting_started] -k announcements -d "July 3, 2016" -s summary  -b mydoc_sidebar -p lor_README_zh.html -f lor -n test -o mdtest

我们用一个简单的循环,来遍历所有的Markdown文件。

filelist=`ls *.md`
for file in $filelist
do
    python md-cli.py publish -t "openresty best practices" -g [openresty] -k announcements -d "July 3, 2016" -s "openresty best practices" -b mydoc_sidebar -p lor_README_zh.html -f lor -n ${file%.md} -o mdtest
done

糖果

糖果
LUA从入门到放弃

服务器大负载情况下客户端出现Connection reset by peer

服务器大负载情况下客户端出现Connection reset by peer Continue reading

Nginx+Lua中文WIKI

Published on March 14, 2019

F5收购Nginx

Published on March 12, 2019