diff options
| author | Michael Opdenacker <michael.opdenacker@bootlin.com> | 2022-05-04 11:22:40 +0200 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-05-10 12:52:35 +0100 |
| commit | 14c7cd24a579c00e18ad20e367e479389107da26 (patch) | |
| tree | 68136bd52e8cc63ed742b8a50a27059595b56a38 /documentation/standards.md | |
| parent | 6a92d985e55f3947e988b71792bb298ed232b7ad (diff) | |
| download | poky-14c7cd24a579c00e18ad20e367e479389107da26.tar.gz | |
manuals: improve the width of diagrams
Better for EPUB output in particular
- Make some diagrams wider when necessary
- Remove ":align: center" when we have ":width: 100%"
- Update the standards.md files to mention this
(From yocto-docs rev: 848ba7bd8984cc3f4bf6b818259865011cde0476)
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/standards.md')
| -rw-r--r-- | documentation/standards.md | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/documentation/standards.md b/documentation/standards.md index d288376828..81aff5f193 100644 --- a/documentation/standards.md +++ b/documentation/standards.md | |||
| @@ -48,8 +48,14 @@ To include a screenshot in PNG format: | |||
| 48 | .. image:: figures/user-configuration.png | 48 | .. image:: figures/user-configuration.png |
| 49 | :align: center | 49 | :align: center |
| 50 | 50 | ||
| 51 | Depending on the size of the image, you may also shrink it | 51 | A diagram with many details usually needs to use |
| 52 | to prevent it from filling the whole page width: | 52 | the whole page width to be readable on all media. |
| 53 | In this case, the `:align:` directive is unnecessary: | ||
| 54 | |||
| 55 | :scale: 100% | ||
| 56 | |||
| 57 | Conversely, you may also shrink some images to | ||
| 58 | to prevent them from filling the whole page width: | ||
| 53 | 59 | ||
| 54 | :scale: 50% | 60 | :scale: 50% |
| 55 | 61 | ||
