Thread Rating:
  • 2 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Final thoughts on IW documentation
#1
A couple weeks ago I wondered if it was possible to take IW's online help content and convert it to the Windows help format using the product Help&Manual.  It was possible and mostly straight forward.  I was able to combine the web help, version history, recent blog posts, and demos into a single organized chm file with a tree structure and search capabilty.  This is current documentation but there's no real way to determine the actual coverage of the product, i.e. what new things have been added without docs yet etc.

[Image: IW_Help_0005.png]

By parsing the .hpp files delivered with the install you can get all the latest public methods, properties, and events of the classes so this is a way to create placeholders in the help project for any missing or undocumented additions.

[Image: IW_Help_0007.png]

By separating methods, properties, and events it also makes the help more granular: currently TIWServerControllerBase is all on one page and requires a bit of scrolling/reading to get to the topic.  By separating properties etc. as nodes you can display just what you are seeking.  As for back filling the hpp generated entries with existing help that was done by storing everything in an SQLite database and writing a few queries and updates (who needs ChatGPT when you have SQLite and it's FTS extension, right?).

[Image: IW_Help_0006.png]

After some research on documentation tools for component / api developers it looks like all help originates as xml comments in the source.  The developer immediately documents the new code and then the tools parse it out and create the various help formats and links.  Seems almost too easy.

So a high quality, comprehensive IW help file is possible.
Reply
#2
Awesome.. I have only 5 stars. I would give you 100!!!!
>So a high quality, comprehensive IW help file is possible.

As far I Atozed know, they would go another way and will stuck on this way by 10% :-(  Sorry AZ!
Greetings
Sven
Reply
#3
(05-07-2023, 06:20 PM)svenheuer Wrote: As far I Atozed know, they would go another way and will stuck on this way by 10% :-(  Sorry AZ!

Actually you are wrong about it this time ;-)
Reply
#4
(05-07-2023, 06:20 PM)svenheuer Wrote: Awesome.. I have only 5 stars. I would give you 100!!!!

Many thanks for the positive comment.

Atozed has agreed to use the help file and after a few revisions it looks ready or very close to it.

Best Regards,
Mark
Reply
#5
Telegram posts have been added to the help file (user names redacted):

[Image: IW_Help_0008.png]

Although Telegram doesn't seem to have the concept of threads I have grouped the post by hour posted and they are searchable.  For example, below I searched on AJAX and results are returned covering classes, release history, blog posts, Telegram, etc.


[Image: IW_Help_0009.png]
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)