Between 1.5.6 and 1.6.5 of sphinx, the digraphs stopped being scaled to fit. Add a maximum size to them to fix this. Signed-off-by: Rob Herring <robh@xxxxxxxxxx> --- source/devicetree-basics.rst | 3 +++ source/flattened-format.rst | 1 + 2 files changed, 4 insertions(+) diff --git a/source/devicetree-basics.rst b/source/devicetree-basics.rst index 5874ec30782e..b5b331680606 100644 --- a/source/devicetree-basics.rst +++ b/source/devicetree-basics.rst @@ -47,6 +47,7 @@ with properties and values inside each node. rankdir = LR; ranksep = equally; + size = "6,8" node [ shape="Mrecord"; width="3.5"; fontname = Courier; ]; "/" [ label = "\N | @@ -153,6 +154,7 @@ identified by a forward slash (/). rankdir = LR; ranksep = equally; + size = "6,8" node [ shape="Mrecord"; width="2.5"; fontname = Courier; ]; "/":e -> "cpus":w @@ -883,6 +885,7 @@ sits in the logical interrupt tree. rankdir = LR ranksep = "1.5" + size = "6,8" edge [ dir="none" ] node [ shape="Mrecord" width="2.5" ] diff --git a/source/flattened-format.rst b/source/flattened-format.rst index ccac9335c75d..5b3c6b1f0f1e 100644 --- a/source/flattened-format.rst +++ b/source/flattened-format.rst @@ -24,6 +24,7 @@ will resemble the diagram in :numref:`figure_device_tree_structure` rankdir = LR ranksep = "1.5" + size = "6,8" edge [ dir="none" ] node [ shape="Mrecord" width="2.5" ] -- 2.14.1 -- To unsubscribe from this list: send the line "unsubscribe devicetree-spec" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html