docs: Integrate rustdoc generation into htmldocs
authorCarlos Bilbao <carlos.bilbao@amd.com>
Tue, 18 Jul 2023 15:15:34 +0000 (10:15 -0500)
committerJonathan Corbet <corbet@lwn.net>
Fri, 21 Jul 2023 21:08:46 +0000 (15:08 -0600)
commitc35211059b77ece1360fd2338c8e4935f1a3b30e
tree86f81ff38bc98355dd612838690bd970d17b8406
parent48fadf44007568e75c7af92857083058d57be403
docs: Integrate rustdoc generation into htmldocs

Change target `make htmldocs` to combine RST Sphinx and the generation of
Rust documentation, when support is available and .config exists.

Reviewed-by: Akira Yokosawa <akiyks@gmail.com>
Signed-off-by: Carlos Bilbao <carlos.bilbao@amd.com>
Reviewed-by: Martin Rodriguez Reboredo <yakoyoku@gmail.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Link: https://lore.kernel.org/r/20230718151534.4067460-3-carlos.bilbao@amd.com
Documentation/Makefile