- You are here:
- Home
- CodeXchange
- All
- PowerBuilder
- Free Generator of HTML Documentation from PBLs
Free Generator of HTML Documentation from PBLs
- Dan Cooperstock
- Code Author
- Offline
Less
More
- Posts: 3
1 year 5 months ago #458
by Dan Cooperstock
This message has an attachment file.
Dan Cooperstock created the code: Free Generator of HTML Documentation from PBLs
I was searching for an application to document my PBLs in a HTML website, by extracting comments etc. from my code, I ended up writing something, which I have attached, and offer for free for anyone's use.
It can document a single PBL, or all of the PBLs in a target (PBT).
It's not a completely standalone solution, as it requires the installation and use of the generic documentation generator NaturalDocs ( www.naturaldocs.org ).
What's in the Zip file is a PB 2021 workspace, target and PBL with my application in it, configuration files for NaturalDocs, and a fairly comprehensive Help file explaining the required setup and usage.
The generated documentation can be improved by writing your comments at the start of functions, events etc. in the style it expects, and for objects that don't contain code, supplying a Comment in the object's Properties. It's all explained in the Help.
I'm sure this doesn't do anywhere near as good a job as VisualExpert ( www.visual-expert.com/ ) but it's free! It was good enough for my purposes, which was helping a new PB hire to understand the common library used in our applications.
It can document a single PBL, or all of the PBLs in a target (PBT).
It's not a completely standalone solution, as it requires the installation and use of the generic documentation generator NaturalDocs ( www.naturaldocs.org ).
What's in the Zip file is a PB 2021 workspace, target and PBL with my application in it, configuration files for NaturalDocs, and a fairly comprehensive Help file explaining the required setup and usage.
The generated documentation can be improved by writing your comments at the start of functions, events etc. in the style it expects, and for objects that don't contain code, supplying a Comment in the object's Properties. It's all explained in the Help.
I'm sure this doesn't do anywhere near as good a job as VisualExpert ( www.visual-expert.com/ ) but it's free! It was good enough for my purposes, which was helping a new PB hire to understand the common library used in our applications.
This message has an attachment file.
Please log in or register to see it.
Please Log in or Create an account to join the conversation.
- Heribert Goeckel
- Offline
Less
More
- Posts: 2
1 month 1 week ago #557
by Heribert Goeckel
Heribert Goeckel replied the code: Free Generator of HTML Documentation from PBLs
Jim,
Feel free to send what you have so far.
Feel free to send what you have so far.
Please Log in or Create an account to join the conversation.
- Jim Reese
- Offline
Less
More
- Posts: 3
1 month 1 week ago #556
by Jim Reese
Jim Reese replied the code: Free Generator of HTML Documentation from PBLs
Heribert,
I'm sorry, I discovered some issues with how I was parsing the source code, especially with older syntax for events. I was never able to fully resolve them. I haven't worked on this for quite a while now. If I get back to it, I will post it. I could post what I had up to that point, but it does mis-handle some things.
I'm sorry, I discovered some issues with how I was parsing the source code, especially with older syntax for events. I was never able to fully resolve them. I haven't worked on this for quite a while now. If I get back to it, I will post it. I could post what I had up to that point, but it does mis-handle some things.
Please Log in or Create an account to join the conversation.
- Heribert Goeckel
- Offline
Less
More
- Posts: 2
1 month 1 week ago #555
by Heribert Goeckel
Heribert Goeckel replied the code: Free Generator of HTML Documentation from PBLs
Hello Jim,
I would like your mentioned changes very much.
Can you already provide something about this?
I would like your mentioned changes very much.
Can you already provide something about this?
Please Log in or Create an account to join the conversation.
- Dan Cooperstock
- Code Author
- Offline
Less
More
- Posts: 3
1 year 3 months ago #467
by Dan Cooperstock
Dan Cooperstock replied the code: Free Generator of HTML Documentation from PBLs
Looks great Jim, thanks!
Please Log in or Create an account to join the conversation.
- Jim Reese
- Offline
Less
More
- Posts: 3
1 year 3 months ago #466
by Jim Reese
Jim Reese replied the code: Free Generator of HTML Documentation from PBLs
Thanks for posting this, I think it is terrific. I've been tinkering with it and I'll be posting an updated version when I'm done. Some of the modifications include:
- An option to include the source code
- Maintaining the formatting of the extracted datawindow SQL
- Improving the readability of the datawindow SQL that is still using the SQL painter
- Scanning existing comments for keywords that don't meet the formatting requirements and fixing them so they present properly in the final HTML
Attachments:
Please Log in or Create an account to join the conversation.
Moderators: Appeon Administrator