aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorMadhukar Pappireddy <madhukar.pappireddy@arm.com>2020-01-28 12:41:20 -0600
committerMadhukar Pappireddy <madhukar.pappireddy@arm.com>2020-01-29 06:26:09 -0600
commit6de32378f67f9a1368000a94defa8956c3c7319d (patch)
treec9e457623838f97830b054eed9c23d0018e8b004 /docs
parent91ff490d75a89607a0b19577275e8134b8ffa74d (diff)
downloadplatform_external_arm-trusted-firmware-6de32378f67f9a1368000a94defa8956c3c7319d.tar.gz
platform_external_arm-trusted-firmware-6de32378f67f9a1368000a94defa8956c3c7319d.tar.bz2
platform_external_arm-trusted-firmware-6de32378f67f9a1368000a94defa8956c3c7319d.zip
Add support for documentation build as a target in Makefile
Command to build HTML-formatted pages from docs: make doc Change-Id: I4103c804b3564fe67d8fc5a3373679daabf3f2e9 Signed-off-by: Madhukar Pappireddy <madhukar.pappireddy@arm.com>
Diffstat (limited to 'docs')
-rw-r--r--docs/change-log-upcoming.rst2
-rw-r--r--docs/getting_started/docs-build.rst21
2 files changed, 15 insertions, 8 deletions
diff --git a/docs/change-log-upcoming.rst b/docs/change-log-upcoming.rst
index 3d7d5094d..14280cbf7 100644
--- a/docs/change-log-upcoming.rst
+++ b/docs/change-log-upcoming.rst
@@ -23,7 +23,7 @@ New Features
- Example: "Add support for Branch Target Identification (BTI)"
- Build System
- - Example: "Add support for default stack-protector flag"
+ - Add support for documentation build as a target in Makefile
- CPU Support
- Example: "cortex-a55: Workaround for erratum 1221012"
diff --git a/docs/getting_started/docs-build.rst b/docs/getting_started/docs-build.rst
index c5625e98d..91b1b3a39 100644
--- a/docs/getting_started/docs-build.rst
+++ b/docs/getting_started/docs-build.rst
@@ -56,21 +56,28 @@ as root or using ``sudo``.
Building rendered documentation
-------------------------------
-From the ``docs`` directory of the project, run the following commands. It is
-important to note that you will not get the correct result if the commands are
-run from the project root directory, as that would invoke the top-level Makefile
-for |TF-A| itself.
+Documents can be built into HTML-formatted pages from project root directory by
+running the following command.
.. code:: shell
- make clean
- make html
+ make doc
Output from the build process will be placed in:
::
- <tf-a root>/docs/build/html/
+ docs/build/html/
+
+We also support building documentation in other formats. From the ``docs``
+directory of the project, run the following command to see the supported
+formats. It is important to note that you will not get the correct result if
+the command is run from the project root directory, as that would invoke the
+top-level Makefile for |TF-A| itself.
+
+.. code:: shell
+
+ make help
--------------