[meta-freescale] [Documentation][PATCH 15/31] RN: Improve PDF generation of the SoC families
Daiane Angolini
daiane.list at gmail.com
Fri Oct 24 18:14:58 PDT 2014
From: Otavio Salvador <otavio at ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio at ossystems.com.br>
---
release-notes/source/conf.py | 1 +
release-notes/source/soc-hierarchy.rst | 10 +++++++++-
2 files changed, 10 insertions(+), 1 deletion(-)
diff --git a/release-notes/source/conf.py b/release-notes/source/conf.py
index fb6070d..3ee9ecd 100644
--- a/release-notes/source/conf.py
+++ b/release-notes/source/conf.py
@@ -28,6 +28,7 @@ import sys, os
extensions = ['sphinxcontrib.blockdiag']
blockdiag_fontpath = '/usr/share/fonts/truetype/liberation/LiberationMono-Regular.ttf'
blockdiag_antialias = True
+blockdiag_latex_image_format = "PDF"
# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']
diff --git a/release-notes/source/soc-hierarchy.rst b/release-notes/source/soc-hierarchy.rst
index 04580b8..868e6dc 100644
--- a/release-notes/source/soc-hierarchy.rst
+++ b/release-notes/source/soc-hierarchy.rst
@@ -5,4 +5,12 @@ SoC Hierarchy
The following tree shows the SoC hierarchy:
-.. blockdiag:: soc-tree.diag
+.. only:: latex
+
+ .. blockdiag:: soc-tree.diag
+ :scale: 60%
+ :align: center
+
+.. only:: html
+
+ .. blockdiag:: soc-tree.diag
--
1.9.1
More information about the meta-freescale
mailing list