[How TO]-如何编写Linux kernel documentation
生活随笔
收集整理的這篇文章主要介紹了
[How TO]-如何编写Linux kernel documentation
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
快速鏈接:
.
👉👉👉 個人博客筆記導讀目錄(全部) 👈👈👈
文章目錄
- 1、配置環境
- 2、生成文檔
- 3、編譯報錯解決
1、配置環境
$ virtualenv sphinx_1.7.9
$ . sphinx_1.7.9/bin/activate
$ pip install -r Documentation/sphinx/requirements.txt
2、生成文檔
$ virtualenv sphinx_1.7.9
$ . sphinx_1.7.9/bin/activate
$ make htmldocs //生成html文檔
$ make pdfdocs //生成pdf文檔
3、編譯報錯解決
Documentation/Makefile:94: The ‘xelatex’ command was not found. Make sure you have it installed and in PATH to produce PDF output
sudo apt-get install texlive-xetex, 參考這里
Could not import extension kfigure (exception: No module named ‘six’)
sudo pip3 install six, 參考這里
(參考:How to write kernel documentation)
總結
以上是生活随笔為你收集整理的[How TO]-如何编写Linux kernel documentation的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: [ARM-assembly]-ARMv8
- 下一篇: [ARM-assembly]-Thumb