doc: use graphviz for intro boot-flow diagram

Trying out the graphviz capability rather than using static images that
we can't easily modify.  Also updated the site logo that was too wide.

Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
This commit is contained in:
David B. Kinder 2018-06-11 10:32:37 -07:00 committed by David Kinder
parent 64515cfe58
commit 44293a42ab
4 changed files with 15 additions and 6 deletions

View File

@ -32,7 +32,11 @@ sys.path.insert(0, os.path.abspath('.'))
# ones.
extensions = ['breathe', 'sphinx.ext.graphviz']
graphviz_output_format='svg'
graphviz_output_format='png'
graphviz_dot_args=[
'-Nfontname="verdana"',
'-Gfontname="verdana"',
'-Efontname="verdana"']
# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']
@ -174,7 +178,7 @@ html_context = {
#
# html_theme_options = {}
html_logo = 'images/ACRN_Logo_300w.png'
html_logo = 'images/ACRN_Logo_200w.png'
html_favicon = 'images/ACRN-favicon-32x32.png'
numfig = True

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

View File

@ -0,0 +1,6 @@
digraph G {
rankdir=LR;
bgcolor="transparent";
UEFI -> "acrn.efi" -> "OS\nBootloader" ->
"SOS\nKernel" -> "ACRN\nDevice Model" -> "Virtual\nBootloader";
}

View File

@ -140,11 +140,10 @@ Boot Sequence
In :numref:`boot-flow` we show a verified Boot Sequence with UEFI
on an Intel |reg| Architecture platform NUC (see :ref:`hardware`).
.. figure:: images/boot-flow.png
:align: center
.. graphviz:: images/boot-flow.dot
:name: boot-flow
ACRN Hypervisor Boot Flow
:align: center
:caption: ACRN Hypervisor Boot Flow
The Boot process proceeds as follows: