Home

如何编译内核API文档

  1. download kernel source

  2. uncompress kernel source and go to its root

  3. sudo apt install gcc make

  4. sudo apt install python-sphinx

  5. sudo apt install texlive-xetex

  6. sudo apt install python-pip

  7. pip install sphinx_rtd_theme

  8. sudo apt install graphviz

  9. sudo apt install imagemagick

  10. make htmldocs

  11. also, you can try make pdfdocs, make epubdocs, make xmldocs or make latexdocs as you want

  12. when finished, documentation you built is located at Documentation/output/

  13. enjoy it