path: root/Documentation/sphinx/
Commit message (Collapse)AuthorAgeFilesLines
* docs: ensure subdirs end with "/"Mauro Carvalho Chehab2019-07-191-1/+1
| | | | | | | | | | | | The logic with seeks for a subdir passed via SPHINXDIRS is incomplete: if one uses something like: make SPHINXDIRS=arm pdfdocs It will find both "arm" and "arm64" directories. Worse than that, it will convert "arm64/index" to "4/index". Signed-off-by: Mauro Carvalho Chehab <>
* docs: avoid needing a just due to LaTeX docsMauro Carvalho Chehab2019-07-171-1/+26
| | | | | | | | | | | | | | Right now, for every directory that we need to have LaTeX output, a file is required. That causes an extra overhead and it is actually a hack, as the latex_documents line there are usually a copy of the ones that are there already at the main So, instead, re-use the global latex_documents var, just adjusting the path to be relative ones. Signed-off-by: Mauro Carvalho Chehab <>
* doc-rst: generic way to build only sphinx sub-foldersMarkus Heiser2016-08-141-0/+32
Add a generic way to build only a reST sub-folder with or without a individual *build-theme*. * control *sub-folders* by environment SPHINXDIRS * control *build-theme* by environment SPHINX_CONF Folders with a file, matching $(srctree)/Documentation/*/ can be build and distributed *stand-alone*. E.g. to compile only the html of 'media' and 'gpu' folder use:: make SPHINXDIRS="media gpu" htmldocs To use an additional sphinx-build configuration (*build-theme*) set the name of the configuration file to SPHINX_CONF. E.g. to compile only the html of 'media' with the *nit-picking* build use:: make SPHINXDIRS=media htmldocs With this, the Documentation/ is read first and updated with the configuration values from the Documentation/media/ Signed-off-by: Markus Heiser <> Signed-off-by: Jonathan Corbet <>