• Jani Nikula's avatar
    Documentation/sphinx: configure the kernel-doc extension · 24dcdeb2
    Jani Nikula authored
    Tell Sphinx where to find the extension, and pass on the kernel src tree
    and kernel-doc paths to the extension.
    
    With this, any .rst files under Documentation may contain the kernel-doc
    rst directive to include kernel-doc documentation from any source file.
    
    While building, it may be handy to pass kernel-doc extension
    configuration on the command line. For example, 'make SPHINXOPTS="-D
    kerneldoc_verbosity=0" htmldocs' silences all stderr output from
    kernel-doc when the kernel-doc exit code is 0. (The stderr will be
    logged unconditionally when the exit code is non-zero.)
    Signed-off-by: default avatarJani Nikula <jani.nikula@intel.com>
    24dcdeb2
conf.py 12.4 KB