linux制作html文档,生成Kernel文档(转换rst为阅读友好的html)

0x00 Kernal与rst

Linux kernal的文档使用rst结构化文本编写,阅读kernal\msm-4.1.4\README文档可知,可以通过

make htmldocs

生成可读的html

那就试一试,果然报错了

HOSTCC scripts/basic/fixdep

Documentation/Makefile:24: The 'sphinx-build' command was not found. Make sure you have Sphinx installed and in PATH, or set the SPHINXBUILD make variable to point to the full path of the 'sphinx-build' executable.

Detected OS: Ubuntu 14.04.5 LTS.

Warning: better to also install "convert".

Warning: better to also install "dot".

Warning: better to also install "dvipng".

Warning: better to also install "rsvg-convert".

ERROR: please install "virtualenv", otherwise, build won't work.

Warning: better to also install "xelatex".

You should run:

sudo apt-get install imagemagick graphviz dvipng librs

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值