theseer / phpdox

Documentation generator for PHP Code using standard technology (SRC, DOCBLOCK, XML and XSLT)
http://phpdox.de
Other
601 stars 121 forks source link

Render property on template #408

Open oscarnovasf opened 3 years ago

oscarnovasf commented 3 years ago

I have this on my phpdox.xml

<?xml version="1.0" encoding="utf-8" ?>

<phpdox xmlns="http://xml.phpdox.net/config" silent="false">

  <project name="Project name" source="${basedir}" workdir="${basedir}/.tmp-doc/phpdox/xml">

    <property name="author" value="Author name" />

How can I access this property value from the template?

theseer commented 3 years ago

Hi, interesting question that even made me look up the code to be sure before I answer ;)

Currently, we do not expose these into the rendering process. It's a config only value. But it sounds like an interesting enhancement.