[Lazarus] wikiconvert to fpdoc format using outdated structure for xml generation

Marco van de Voort marcov at stack.nl
Mon Jan 26 21:01:14 CET 2015


On Mon, Jan 26, 2015 at 08:17:32PM +0100, Mattias Gaertner wrote:
> > I already asked and tested, it does show topics attached to a package, and
> > they are allowed to be in separate XMLs.
> 
> How? Do I need fpdoc from trunk for this?

I haven't tested with anything else but my test project file is

<?xml version="1.0" encoding="utf-8"?>  
<docproject>  
  <options>  
    <option name="ostarget" value="Linux"/>  
    <option name="cputarget" value="x86_64"/>  
    <option name="show-private" value="false"/>  
    <option name="stop-on-parser-error" value="false"/>  
    <option name="format" value="chm"/>
    <option name="auto-index" value="1"/>  
    <option name="auto-toc" value="1"/>  
    <option name="make-searchable" value="1"/>  
    <option name="css-file" value="fpdoc.css"/>  
    <option name="chm-title" value="Lazarus IDE Help"/>  
  </options>  
  <packages>  
    <package name="lazaruside" output="lazaruside.chm"
content="lazaruside.xct">  
  <units>
  </units>        
  <descriptions>  
    <description file="idewindow2.xml"/>
    <description file="IDE_Windowfg.xml"/>
  </descriptions>  
    </package>  
  </packages>  
</docproject> 

idewindow2.xml:

<?xml version="1.0" encoding="UTF-8"?>
<fpdoc-descriptions>
  <package name="lazaruside">
      <topic name="package topic">
       <short>Test topic for blablabla reasons</short>
       <descr> This is the body text for test topic.</descr>
      <topic name="nested topic test">
       <short>Title for nested topic</short>
       <descr> Nested topic body</descr>
             </topic>
      </topic>
  </package>
</fpdoc-descriptions>


compile with fpdoc --project=ide.xml

Thanks to af0815,Socke and Michael.




More information about the Lazarus mailing list