cvs: phpdoc /dsssl html-common.dsl

From: Date: Thu, 19 Sep 2002 07:46:58 +0000
Subject: cvs: phpdoc /dsssl html-common.dsl
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969348743@lists.php.net to get a copy of this message
hholzgra Thu Sep 19 03:46:58 2002 EDT Modified files: /phpdoc/dsssl html-common.dsl Log: make sure that function version info only apears on <refentry> pages that have a <methodsynopsys> in them (and not e.g. on the preg pattern descriptions) Index: phpdoc/dsssl/html-common.dsl diff -u phpdoc/dsssl/html-common.dsl:1.8 phpdoc/dsssl/html-common.dsl:1.9 --- phpdoc/dsssl/html-common.dsl:1.8 Mon Jun 17 18:48:46 2002 +++ phpdoc/dsssl/html-common.dsl Thu Sep 19 03:46:57 2002 @@ -1,6 +1,6 @@ ;; -*- Scheme -*- ;; -;; $Id: html-common.dsl,v 1.8 2002/06/17 22:48:46 hholzgra Exp $ +;; $Id: html-common.dsl,v 1.9 2002/09/19 07:46:57 hholzgra Exp $ ;; ;; Returns the depth of the auto-generated TOC (table of @@ -346,11 +346,18 @@ ;; Put version info where the refname part in the refnamediv is (element (refnamediv refname) (make sequence + (if (node-list-empty? + (select-elements (children + (select-elements (children (parent (parent (current-node)))) (normalize "refsect1")) + ) (normalize "methodsynopsis")) + ) + (empty-sosofo) (make element gi: "P" (literal " (") (version-info (current-node)) (literal ")") ) + ) (process-children) ) )

« previous php.doc (#969348743) next »