|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r63610 - in trunk/tools/quickbook: . doc test
From: daniel_james_at_[hidden]
Date: 2010-07-04 12:55:26
Author: danieljames
Date: 2010-07-04 12:55:24 EDT (Sun, 04 Jul 2010)
New Revision: 63610
URL: http://svn.boost.org/trac/boost/changeset/63610
Log:
Allow empty document bodies.
Text files modified:
trunk/tools/quickbook/block.hpp | 2 +-
trunk/tools/quickbook/doc/quickbook.qbk | 1 +
trunk/tools/quickbook/test/doc-info-1.gold | 3 ---
trunk/tools/quickbook/test/doc-info-1.quickbook | 4 +---
trunk/tools/quickbook/test/doc-info-2.gold | 3 ---
trunk/tools/quickbook/test/doc-info-2.quickbook | 2 +-
trunk/tools/quickbook/test/doc-info-3.gold | 3 ---
trunk/tools/quickbook/test/doc-info-3.quickbook | 3 +--
trunk/tools/quickbook/test/doc-info-4.gold | 3 ---
trunk/tools/quickbook/test/doc-info-4.quickbook | 4 +---
trunk/tools/quickbook/test/include_1_5.quickbook | 2 +-
11 files changed, 7 insertions(+), 23 deletions(-)
Modified: trunk/tools/quickbook/block.hpp
==============================================================================
--- trunk/tools/quickbook/block.hpp (original)
+++ trunk/tools/quickbook/block.hpp 2010-07-04 12:55:24 EDT (Sun, 04 Jul 2010)
@@ -54,7 +54,7 @@
}
blocks =
- +( block_markup
+ *( block_markup
| code
| list [actions.list]
| hr [actions.hr]
Modified: trunk/tools/quickbook/doc/quickbook.qbk
==============================================================================
--- trunk/tools/quickbook/doc/quickbook.qbk (original)
+++ trunk/tools/quickbook/doc/quickbook.qbk 2010-07-04 12:55:24 EDT (Sun, 04 Jul 2010)
@@ -202,6 +202,7 @@
followed by whitespace or a list character.
* Don't treat 4+ consecutive blank lines as multiple paragraph breaks.
* Don't require commas between authors in docinfo.
+* Allow empty document bodies.
[endsect]
Modified: trunk/tools/quickbook/test/doc-info-1.gold
==============================================================================
--- trunk/tools/quickbook/test/doc-info-1.gold (original)
+++ trunk/tools/quickbook/test/doc-info-1.gold 2010-07-04 12:55:24 EDT (Sun, 04 Jul 2010)
@@ -13,7 +13,4 @@
</author>
</authorgroup>
</articleinfo>
- <para>
- The body is largely irrelevant.
- </para>
</article>
Modified: trunk/tools/quickbook/test/doc-info-1.quickbook
==============================================================================
--- trunk/tools/quickbook/test/doc-info-1.quickbook (original)
+++ trunk/tools/quickbook/test/doc-info-1.quickbook 2010-07-04 12:55:24 EDT (Sun, 04 Jul 2010)
@@ -5,6 +5,4 @@
[purpose Inline code test: `1 + 2`]
[category tests]
[category irrelevance]
-]
-
-The body is largely irrelevant.
\ No newline at end of file
+]
\ No newline at end of file
Modified: trunk/tools/quickbook/test/doc-info-2.gold
==============================================================================
--- trunk/tools/quickbook/test/doc-info-2.gold (original)
+++ trunk/tools/quickbook/test/doc-info-2.gold 2010-07-04 12:55:24 EDT (Sun, 04 Jul 2010)
@@ -17,7 +17,4 @@
<librarycategory name="category:tests"></librarycategory> <librarycategory name="category:irrelevance"></librarycategory>
</libraryinfo>
<title>Document Information 1</title>
- <para>
- The body is largely irrelevant.
- </para>
</library>
Modified: trunk/tools/quickbook/test/doc-info-2.quickbook
==============================================================================
--- trunk/tools/quickbook/test/doc-info-2.quickbook (original)
+++ trunk/tools/quickbook/test/doc-info-2.quickbook 2010-07-04 12:55:24 EDT (Sun, 04 Jul 2010)
@@ -7,4 +7,4 @@
[category irrelevance]
]
-The body is largely irrelevant.
\ No newline at end of file
+[/ Some comment]
\ No newline at end of file
Modified: trunk/tools/quickbook/test/doc-info-3.gold
==============================================================================
--- trunk/tools/quickbook/test/doc-info-3.gold (original)
+++ trunk/tools/quickbook/test/doc-info-3.gold 2010-07-04 12:55:24 EDT (Sun, 04 Jul 2010)
@@ -10,7 +10,4 @@
</author>
</authorgroup>
</appendixinfo>
- <para>
- The body is largely irrelevant.
- </para>
</appendix>
Modified: trunk/tools/quickbook/test/doc-info-3.quickbook
==============================================================================
--- trunk/tools/quickbook/test/doc-info-3.quickbook (original)
+++ trunk/tools/quickbook/test/doc-info-3.quickbook 2010-07-04 12:55:24 EDT (Sun, 04 Jul 2010)
@@ -2,5 +2,4 @@
[quickbook 1.5]
[authors [Blow, Joe]]
]
-
-The body is largely irrelevant.
\ No newline at end of file
+[/ Some comment]
\ No newline at end of file
Modified: trunk/tools/quickbook/test/doc-info-4.gold
==============================================================================
--- trunk/tools/quickbook/test/doc-info-4.gold (original)
+++ trunk/tools/quickbook/test/doc-info-4.gold 2010-07-04 12:55:24 EDT (Sun, 04 Jul 2010)
@@ -16,7 +16,4 @@
</author>
</authorgroup>
</chapterinfo>
- <para>
- The body is largely irrelevant.
- </para>
</chapter>
Modified: trunk/tools/quickbook/test/doc-info-4.quickbook
==============================================================================
--- trunk/tools/quickbook/test/doc-info-4.quickbook (original)
+++ trunk/tools/quickbook/test/doc-info-4.quickbook 2010-07-04 12:55:24 EDT (Sun, 04 Jul 2010)
@@ -1,6 +1,4 @@
[chapter Document Information 4
[quickbook 1.5]
[authors [Blow, Joe], [Doe, Jane] [Coe, John]]
-]
-
-The body is largely irrelevant.
\ No newline at end of file
+]
\ No newline at end of file
Modified: trunk/tools/quickbook/test/include_1_5.quickbook
==============================================================================
--- trunk/tools/quickbook/test/include_1_5.quickbook (original)
+++ trunk/tools/quickbook/test/include_1_5.quickbook 2010-07-04 12:55:24 EDT (Sun, 04 Jul 2010)
@@ -5,4 +5,4 @@
[include include-sub.quickbook]
[include include-sub2.quickbook]
-[include:foo include-sub2.quickbook]
\ No newline at end of file
+[include:foo include-sub2.quickbook]
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk