aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSummer Qin <summer.qin@arm.com>2021-04-25 11:28:39 +0800
committerKen Liu <ken.liu@arm.com>2021-04-26 10:12:41 +0200
commite99f95f5a0b704ae5daac9a465f008889b4f9400 (patch)
treeb466f9ddf3bfd4617e757ac1c1aba9d5f297845b
parent54b3b352850800ab1e188bee4cb4fc78689538ed (diff)
downloadtrusted-firmware-m-e99f95f5a0b704ae5daac9a465f008889b4f9400.tar.gz
Docs: Support Sphinx SVG to PDF
Add support Sphinx SVG to PDF. Signed-off-by: Summer Qin <summer.qin@arm.com> Change-Id: Ie109c6e34c2c55c8c4049024b63148c358a74fb6
-rw-r--r--docs/conf.py.in3
-rw-r--r--tools/requirements.txt1
2 files changed, 3 insertions, 1 deletions
diff --git a/docs/conf.py.in b/docs/conf.py.in
index f3739be61..99b2fcb3e 100644
--- a/docs/conf.py.in
+++ b/docs/conf.py.in
@@ -49,7 +49,8 @@ extensions = [
'sphinx.ext.imgmath',
'm2r', #Support markdown files. Needed for external code.
'sphinx.ext.autosectionlabel', #Make sphinx generate a label for each section
- 'sphinxcontrib.plantuml' #Add support for PlantUML drawings
+ 'sphinxcontrib.plantuml', #Add support for PlantUML drawings
+ 'sphinxcontrib.rsvgconverter' #Add support for PlantUML drawings
]
#Location of PlantUML
diff --git a/tools/requirements.txt b/tools/requirements.txt
index 1e60a5181..de19d708c 100644
--- a/tools/requirements.txt
+++ b/tools/requirements.txt
@@ -11,3 +11,4 @@ Sphinx>=1.4
m2r
sphinx-rtd-theme
sphinxcontrib-plantuml
+sphinxcontrib-svg2pdfconverter