转https://stackoverflow.com/questions/50163980/installation-and-usage-of-make-htmldoc
I just have figured it out that there is a document in the Linux kernel which explains the required information to use 'make pdfdocs':
Reference: Documentation/doc-guide/sphinx.rst
#sudo apt-get install sphinxsearch
#sudo apt-get install python-sphinx-rtd-theme
#sudo apt-get install texlive-latex-recommended
#sudo apt-get install texlive-base
#sudo apt-get install graphviz
#sudo apt-get install imagemagick
Run below commands from kernel root directory
#/usr/bin/virtualenv ~/sphinx_1.4
#. ~/sphinx_1.4/bin/activate
#pip install -r Documentation/sphinx/requirements.txt
#make htmldocs
Generated html documents are located at Documents/output