<pre style='margin:0'>
Rainer Müller (raimue) pushed a commit to branch master
in repository macports-guide.

</pre>
<p><a href="https://github.com/macports/macports-guide/commit/6405d8e461477f5b3478d0e6ec7b93dbcd6d8de0">https://github.com/macports/macports-guide/commit/6405d8e461477f5b3478d0e6ec7b93dbcd6d8de0</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 6405d8e461477f5b3478d0e6ec7b93dbcd6d8de0
</span>Author: Rainer Müller <raimue@macports.org>
AuthorDate: Wed Nov 16 22:20:14 2016 +0100

<span style='display:block; white-space:pre;color:#404040;'>    Use chapter for macros and exclude from TOC
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    <section> was unexpected at this point for the validation against the
</span><span style='display:block; white-space:pre;color:#404040;'>    Docbook DTD.
</span>---
 guide/resources/base.xsl | 6 +++++-
 guide/xml/macros.xml     | 5 +++--
 2 files changed, 8 insertions(+), 3 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/guide/resources/base.xsl b/guide/resources/base.xsl
</span><span style='display:block; white-space:pre;color:#808080;'>index c2e657f..5be97a3 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/guide/resources/base.xsl
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/guide/resources/base.xsl
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -56,7 +56,11 @@
</span> 
 
     <!-- all macro content is defined in guide/xml/macros.xml, but hidden from normal output -->
<span style='display:block; white-space:pre;background:#ffe0e0;'>-    <xsl:template match="section[@id = 'macros']">
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    <xsl:template match="chapter[@id = 'macros']">
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        <!-- no output -->
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    </xsl:template>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    <xsl:template match="chapter[@id = 'macros']"  mode="toc">
</span>         <!-- no output -->
     </xsl:template>
 
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/guide/xml/macros.xml b/guide/xml/macros.xml
</span><span style='display:block; white-space:pre;color:#808080;'>index 4638317..ca8319f 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/guide/xml/macros.xml
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/guide/xml/macros.xml
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -3,11 +3,12 @@
</span> "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
 
 <!-- This section will be hidden by a xsl:template in resources/base.xsl -->
<span style='display:block; white-space:pre;background:#ffe0e0;'>-<section id='macros'>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+<chapter id='macros'>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+<title>Macros</title>
</span> 
 <warning role='macro-outdated'><para>
   This section is outdated <?macro-param name="reason" ?> and needs to be reworked.
   Please see <xref linkend="project.docs" /> if you can contribute updated instructions.
 </para></warning>
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-</section>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+</chapter>
</span></pre><pre style='margin:0'>

</pre>