From 8c217ab976ca87f9b11bd661720935eac1de7a62 Mon Sep 17 00:00:00 2001
From: g0dil <g0dil@wiback.org>
Date: Tue, 5 Feb 2008 19:30:35 +0000
Subject: [PATCH] Add 'senf/' to #include path documentation

---
 Utils/pool_alloc_mixin.cti |  2 +-
 doclib/html-munge.xsl      | 11 ++++++++++-
 2 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/Utils/pool_alloc_mixin.cti b/Utils/pool_alloc_mixin.cti
index 6d66abc1f..9b739e9c6 100644
--- a/Utils/pool_alloc_mixin.cti
+++ b/Utils/pool_alloc_mixin.cti
@@ -26,7 +26,7 @@
 //#include "pool_alloc_mixin.ih"
 
 // Custom includes
-#include <../Utils/senfassert.hh>
+#include "../Utils/senfassert.hh"
 
 #define prefix_ inline
 ///////////////////////////////cti.p///////////////////////////////////////
diff --git a/doclib/html-munge.xsl b/doclib/html-munge.xsl
index 8efc0f865..4579003dd 100644
--- a/doclib/html-munge.xsl
+++ b/doclib/html-munge.xsl
@@ -269,5 +269,14 @@
   <!-- Remove [external] references from the modules page -->
   <xsl:template match="div[@id='content2']/ul/li[a/@class='elRef'][a/@doxygen][code/text()='[external]'][not(ul)]">
   </xsl:template>
-  
+
+  <!-- Insert 'senf/'  into include paths -->
+  <xsl:template match="code[starts-with(text(),'#include &lt;')]/a">
+    <xsl:copy>
+      <xsl:call-template name="copy-attributes"/>
+      <xsl:text>senf/</xsl:text>
+      <xsl:apply-templates/>
+    </xsl:copy>
+  </xsl:template>
+
 </xsl:stylesheet>
-- 
GitLab