Doc: Enabling sphinx-build
sphinx-build relies on the assumption that all files
lie under a common directory. TF-M's build system
uses CMAKE (./cmake/SphinxCopyDoc.cmake)to fetch all
files to an intermediate directory and invoke
sphinx-build.
This patch creates a python interface which achieves
similar behaviour by injecting the copy function
before sphinx-build starts processing the conf.py
configuration file. By doing so it provides
compatibility with third-party documentation providers,
without affecting the existing user experience.
The patch also includes an include directive to
fetch the licence and build it into the documentation.
Change-Id: I47ead73df4f02c2fe49866a62f551a4510881778
Signed-off-by: Galanakis, Minos <minos.galanakis@arm.com>
4 files changed