Skip to contentSkip to conversation

doc: add field widths to prog guide glossary

PATCH In review John McNamara 2 participants 3 messages Apr 10, 2015 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 doc: add field widths to prog guide glossary

Added explicit field widths to Programmer's Guide Glossary table to control the PDF output. Previously the table overflowed the right margin.

This doesn't affect the Html output.

Also, added bold format to colunm headers for clarity.

---
 doc/guides/prog_guide/glossary.rst | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
doc/guides/prog_guide/glossary.rst +3 -1
index 913946d..657248c 100644
@@ -31,8 +31,10 @@
 Glossary
 ========
 
+.. tabularcolumns:: |p{4cm}|p{11cm}|
+
 ===============                   =========================================================================================================
-Term                              Definition
+**Term**                          **Definition**
 ===============                   =========================================================================================================
 ACL                               Access Control List
 
Signature · 1 line
1.8.1.4

A message that is not in the archive (sent off-list or not yet received): 1428675601-10637-1-git-send-email-john.mcnamara-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org

#3 lore raw
Quoted 8 lines

-----Original Message-----
From: Thomas Monjalon [mailto:[email protected]]
Sent: Friday, April 10, 2015 3:34 PM
To: Mcnamara, John
Cc: [email protected]
Subject: Re: [dpdk-dev] [PATCH] doc: add field widths to prog guide glossary

Quoted 5 lines

Long tables should be avoided in RST as they are not easy to read or update.
Why not using definition lists?
http://docutils.sourceforge.net/docs/user/rst/quickref.html#definiti
on-lists

Hi Thomas,

That is a better suggestion. I'll reformat the table as a definition list and resubmit.

John