From: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
To: Linux Doc Mailing List <linux-doc@vger.kernel.org>
Cc: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>,
linux-kernel@vger.kernel.org, Jonathan Corbet <corbet@lwn.net>
Subject: [PATCH v3 7/7] docs: staging: use small font for literal includes
Date: Tue, 23 Jun 2020 15:31:40 +0200 [thread overview]
Message-ID: <fe2cc675ec69bfa50aa7e183dcd911077046b01f.1592918949.git.mchehab+huawei@kernel.org> (raw)
In-Reply-To: <cover.1592918949.git.mchehab+huawei@kernel.org>
The normal font is too big to display 80 columns, causing extra
breaks to be added at weird places.
change to the footnotesize, as this would fit a little bit
better.
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
---
Documentation/staging/index.rst | 33 ++++++++++++++++++++++++++++++---
1 file changed, 30 insertions(+), 3 deletions(-)
diff --git a/Documentation/staging/index.rst b/Documentation/staging/index.rst
index 8e98517675ca..184e6aece0a7 100644
--- a/Documentation/staging/index.rst
+++ b/Documentation/staging/index.rst
@@ -19,14 +19,41 @@ Unsorted Documentation
Atomic Types
============
-.. literalinclude:: ../atomic_t.txt
+.. raw:: latex
+
+ \footnotesize
+
+.. include:: ../atomic_t.txt
+ :literal:
+
+.. raw:: latex
+
+ \normalsize
Atomic bitops
=============
-.. literalinclude:: ../atomic_bitops.txt
+.. raw:: latex
+
+ \footnotesize
+
+.. include:: ../atomic_bitops.txt
+ :literal:
+
+.. raw:: latex
+
+ \normalsize
Memory Barriers
===============
-.. literalinclude:: ../memory-barriers.txt
+.. raw:: latex
+
+ \footnotesize
+
+.. include:: ../memory-barriers.txt
+ :literal:
+
+.. raw:: latex
+
+ \normalsize
--
2.26.2
prev parent reply other threads:[~2020-06-23 13:31 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <cover.1592918949.git.mchehab+huawei@kernel.org>
2020-06-23 13:31 ` [PATCH v3 1/7] docs: dt: convert booting-without-of.txt to ReST format Mauro Carvalho Chehab
2020-06-23 13:31 ` [PATCH v3 2/7] docs: trace: ring-buffer-design.txt: convert " Mauro Carvalho Chehab
2020-06-23 13:31 ` [PATCH v3 3/7] docs: move nommu-mmap.txt to admin-guide and rename to ReST Mauro Carvalho Chehab
2020-06-23 13:31 ` [PATCH v3 4/7] docs: move mailbox.txt to driver-api and rename it Mauro Carvalho Chehab
2020-06-23 13:31 ` [PATCH v3 5/7] docs: move other kAPI documents to core-api Mauro Carvalho Chehab
2020-06-23 13:31 ` [PATCH v3 6/7] docs: Add remaining Documentation/*.txt at staging/index.rst Mauro Carvalho Chehab
2020-06-23 13:31 ` Mauro Carvalho Chehab [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=fe2cc675ec69bfa50aa7e183dcd911077046b01f.1592918949.git.mchehab+huawei@kernel.org \
--to=mchehab+huawei@kernel.org \
--cc=corbet@lwn.net \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®