|
From: SourceForge.net <no...@so...> - 2008-11-09 09:03:14
|
Feature Requests item #2241460, was opened at 2008-11-08 13:33 Message generated for change (Comment added) made by dannys9 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=354213&aid=2241460&group_id=4213 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Priority: 5 Private: No Submitted By: dannys9 (dannys9) Assigned to: Nobody/Anonymous (nobody) Summary: Generate separate files for members Initial Comment: Hello, in the current state, all members of a class are stored in a single HTML file. For large classes it is hard to navigate through the members, especially in internal documentation containing all visiblities. It would be nice to have a Delphi help like output where the description part is split into separate files for each member, containing a link back to the class and unit summary. There could be a command line option for this, like --separate-files. I'd like to also see this implemented for the Unit output. Regards, Danny ---------------------------------------------------------------------- Comment By: dannys9 (dannys9) Date: 2008-11-09 10:03 Message: I had a look at beta7. Could it be that this version is somewhat broken? The --ignore-leading command line option isn't working, --numericfilenames produces files like " 1.html" instead of "00000001.html" and autodoc produces lots of errors but no files. I could work around the first two and then it produced correct output for my code. But now the question is, how do I activate ItemFiles? It seems to be in PasDoc_GenHTML.pas only for the "old" define, so I set this. But even if I set FItemFiles to true in the TGenericHTMLDocGenerator constructor, PasDoc will not produce separate files. As for the filenames, I would suggest a general format of Unit.Class.Method.N.html or Unit.Routine.N.html, where N is a counter for the method or routine. There would be no name clashes this way. Danny ---------------------------------------------------------------------- Comment By: Dr. Diettrich (drdiettrich) Date: 2008-11-08 23:20 Message: This is already implemented in PasDoc2, as an ItemFiles property. See the last PasDoc2-beta7. I tried to create a file structure similar to the Delphi online help, where e.g. subroutines and methods reside in their own files. More features may be desireable with this file structure, e.g. --numericfilenames should be used to prevent name clashes with overloaded methods. Instead of a command line option, a new output format 'htmlfiles' could be defined, or a variation of 'htmlhelp'. DoDi ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=354213&aid=2241460&group_id=4213 |