All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rob Herring <robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
To: devicetree-spec-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: [PATCH 4/4] Set maximum sizes for digraphs
Date: Wed,  6 Dec 2017 12:31:20 -0600	[thread overview]
Message-ID: <20171206183120.16700-5-robh@kernel.org> (raw)
In-Reply-To: <20171206183120.16700-1-robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>

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-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
---
 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

      parent reply	other threads:[~2017-12-06 18:31 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-06 18:31 [PATCH 0/4] PDF formatting fixes Rob Herring
     [not found] ` <20171206183120.16700-1-robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
2017-12-06 18:31   ` [PATCH 1/4] Set horizontal margins to 2cm Rob Herring
2017-12-06 18:31   ` [PATCH 2/4] Use fixed column widths for all 4 column property tables Rob Herring
2017-12-06 18:31   ` [PATCH 3/4] Ensure figures inserted at location in the source doc Rob Herring
2017-12-06 18:31   ` Rob Herring [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20171206183120.16700-5-robh@kernel.org \
    --to=robh-dgejt+ai2ygdnm+yrofe0a@public.gmane.org \
    --cc=devicetree-spec-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.