From eef9ea3b7308edc7a4e8d20744c3ec4a10bfd514 Mon Sep 17 00:00:00 2001 From: Dan MacKinlay Date: Mon, 21 Dec 2009 23:43:06 +1100 Subject: [PATCH] only deal with metadata in the place sphinx expects it - at the head of the document --- tests/root/metadata.txt | 30 ++++++++++++++---------------- 1 file changed, 14 insertions(+), 16 deletions(-) diff --git a/tests/root/metadata.txt b/tests/root/metadata.txt index 8eceb9e04..9b3044ba8 100644 --- a/tests/root/metadata.txt +++ b/tests/root/metadata.txt @@ -1,19 +1,3 @@ -.. This is a comment. Note how any initial comments are moved by - transforms to after the document title, subtitle, and docinfo. - -================================ - reStructuredText Demonstration -================================ - -.. Above is the document title, and below is the subtitle. - They are transformed from section titles after parsing. - --------------------------------- - Examples of Syntax Constructs --------------------------------- - -.. bibliographic fields (which also require a transform): - :Author: David Goodger :Address: 123 Example Street Example, EX Canada @@ -53,3 +37,17 @@ :description lang=en: A demonstration of the reStructuredText markup language, containing examples of all basic constructs and many advanced constructs. + +================================ + reStructuredText Demonstration +================================ + +.. Above is the document title, and below is the subtitle. + They are transformed from section titles after parsing. + +-------------------------------- + Examples of Syntax Constructs +-------------------------------- + +.. bibliographic fields (which also require a transform): +