Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2010-08

fpdoc - linear output missing example nodes

3 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Graeme Geldenhuys

Hi Michael,

Sorry to bug you so much with fpdoc stuff, but I really want to finish this IPF Output Writer once and for all.

In the keyboard.xml file under the additional topics "Writing a keyboard driver", the PDF and IPF output (any linear writer descendant) has no examples, but when you view the online HTML output, it has two examples.

Looking in the keyboard.xml file, it indeed has two examples defined (see below). So the linear output writer is somehow not processing examples inside Additional Topics. Was this by design for some reason, or simply a bug?

--------------------------
...
<p>
Note that with a simple extension of this unit could be used to make a driver that is capable of recording and storing a set of keyboard strokes, and replaying them at a later time, so a 'keyboard macro' capable driver. This driver could sit on top of any other driver.
</p>
</descr>
<example file="kbdex/logkeys"/>
<example file="kbdex/ex9"/>
</topic>
...
--------------------------

The online HTML output:
http://www.freepascal.org/docs-html/rtl/keyboard/kbddriver.html

Regards,
- Graeme -

fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://opensoft.homeip.net/fpgui/

Reply by email

Michael Van Canneyt
to Graeme Geldenhuys
Graeme Geldenhuys wrote 12 lines
Hi Michael, Sorry to bug you so much with fpdoc stuff, but I really want to finish this IPF Output Writer once and for all. In the keyboard.xml file under the additional topics "Writing a keyboard driver", the PDF and IPF output (any linear writer descendant) has no examples, but when you view the online HTML output, it has two examples. Looking in the keyboard.xml file, it indeed has two examples defined (see below). So the linear output writer is somehow not processing examples inside Additional Topics. Was this by design for some reason, or simply a bug?

It is simply a bug. The nodes are probably simply not processed.

Michael.

Reply by email