changelog shortlog tags branches files raw gz bz2 help

Mercurial > hg > werc / changeset: Allow overriding the manual section listing page (just create an index.md or index.html in the dir where wman is enabled).

changeset 606: 9712ecbd625c
parent 605: 0010a6a4420d
child 607: 9d68a385b174
author: uriel@soma
date: Sun, 25 Oct 2009 09:31:01 +0000
files: apps/wman/app.rc
description: Allow overriding the manual section listing page (just create an index.md or index.html in the dir where wman is enabled).
     1.1--- a/apps/wman/app.rc	Thu Oct 22 03:54:05 2009 +0000
     1.2+++ b/apps/wman/app.rc	Sun Oct 25 09:31:01 2009 +0000
     1.3@@ -38,7 +38,7 @@
     1.4 
     1.5     synth_paths=($wman_base_uri$wman_cat_list'/')
     1.6 
     1.7-    if(~ $req_path $wman_base_uri)
     1.8+    if(~ $req_path $wman_base_uri && ~ $"handler_body_main '')
     1.9        handler_body_main=(tpl_handler apps/wman/section_list.tpl)
    1.10     if not if(~ $req_path $wman_base_uri^*) {
    1.11         #^*/[a-z0-9]*[a-z]* $wman_base_uri^*/*[a-z]*[a-z0-9] $wman_base_uri^*/[a-z])