On 09/04/2014 06:58 PM, Graeme Geldenhuys wrote:
Thanks for that.
OK, the XML project file was missing some info. The options="..."
information for each unit was empty. The value must be the FPC
compiler options (as if you were going to compile that unit). fpdoc
needs that to correctly find and parse all the source code.
Attached is a fixed version of your "mseide-msegui.xml" file. The
"options" is defined as if the XML file is located in the
<msegui>/contributed/ directory (or <msegui>/docs/ directory).
Out of interest, I generated HTML and INF help and here is some
information.
HTML:
- generated 37464 html pages
- Uncompressed size is 78.8 MB
INF:
- generated a single IPF file which I then compiled to a binary
INF file
- INF file size is 4.3 MB
Both of the above was generated using the same fpdoc XML project file,
thus contains the exact same information.
Archived versions of the generated "skeleton" help (seeing that no
actual help content was written yet) can be downloaded via these URL:
http://opensoft.homeip.net/~graemeg/msegui/msegui_html.tgz [7.8 MB]
http://opensoft.homeip.net/~graemeg/msegui/msegui_inf.tgz [1.3 MB]
To view the INF help you can download a binary release of DocView v1.2
for Windows, Linux or FreeBSD from here [
http://sourceforge.net/projects/fpgui/files/fpGUI/1.2/ ]. I've
attached a screenshot showing DocView viewing the MSEgui INF help file.
Hope this helps. :)
Sorry to report that is not exactly it.
On your system do an fpdoc of the
mseide-msegui/lib/common/editwidgets/msedataedits.pas
fpdoc --package=dataedits --format=html --output=dataedits
--input=/path/to/msedataedits.pas
Look at the generated html output in the dataedits folder
I get a page that looks like this:
*[Index <http://localhost/html/msedoc/dataedits/index-8.html>][Class
hierarchy <http://localhost/html/msedoc/dataedits/index-9.html>]*
(#dataedits <http://localhost/html/msedoc/dataedits/index.html>)
Reference for package 'dataedits'
Units
msedataedits
<http://localhost/html/msedoc/dataedits/msedataedits/index.html>
Clicking the msedataedits link, I get a page that looks like this:
*[Overview][Constants
<http://localhost/html/msedoc/dataedits/msedataedits/index-2.html>][Types <http://localhost/html/msedoc/dataedits/msedataedits/index-3.html>][Classes
<http://localhost/html/msedoc/dataedits/msedataedits/index-4.html>][Procedures
and functions
<http://localhost/html/msedoc/dataedits/msedataedits/index-5.html>][Index <http://localhost/html/msedoc/dataedits/msedataedits/index-8.html>]*
Reference for unit 'msedataedits' (#dataedits
<http://localhost/html/msedoc/dataedits/index.html>)
Reference for unit 'msedataedits'
uses
System,
classes,
mclasses,
msegui,
mseinplaceedit,
mseeditglob,
msegraphics,
mseedit,
msetypes,
msestrings,
msedatalist,
mseglob,
mseguiglob,
msedragglob,
mseevent,
msegraphutils,
msedrawtext,
msestat,
msestatfile,
mseclasses,
msearrayprops,
msegrids,
msewidgetgrid,
msedropdownlist,
msedrag,
mseforms,
mseformatstr,
typinfo,
msemenus,
msebitmap,
msescrollbar,
msewidgets,
msepopupcalendar,
msekeyboard,
msepointer,
msegridsglob,
mseificomp,
mseifiglob,
mseificompglob;
Compare that to what is generated from the fpdoc
--project=mseide-msegui.xml command when you search the generated output
for msedataedits and then click it:
*[Overview][Index
<http://localhost/html/msedoc/html/msedataedits/index-8.html>]*
Reference for unit 'msedataedits' (#msegui
<http://localhost/html/msedoc/html/index.html>)
Reference for unit 'msedataedits'
uses
System,
classes,
mclasses,
msegui <http://localhost/html/msedoc/html/msegui/index.html>,
mseinplaceedit
<http://localhost/html/msedoc/html/mseinplaceedit/index.html>,
mseeditglob <http://localhost/html/msedoc/html/mseeditglob/index.html>,
msegraphics <http://localhost/html/msedoc/html/msegraphics/index.html>;
------------------------------------------------------------------------
Documentation generated on: 2014-09-04
See what I mean? Why don't I get the Constants, Types, Classes,
Procedures and Functions and Index for the msedataedits from the fpdoc
project command?
Patrick
------------------------------------------------------------------------------
Slashdot TV.
Video for Nerds. Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
mseide-msegui-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk