-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Get documentation into Octave/QHelp format #8
Comments
I'm tagging this as "help wanted" because this is just clerical work, and I don't like working with Texinfo. Maybe some kind soul will come along and save me from this onerous task. |
HI Andrew, Cheers |
Hi Maria, Glad you're interested! There's only the UserGuide.md under /doc. But there is per-function and per-class "helptext" documentation in each of the public functions and classes in the library. (For example, this whole block.) All that will need to be converted to TexInfo as well. If you want to see some examples, take a look at my Tablicious package - all its doco is in correct Octave-friendly Texinfo format. (And it's one of the few Octave packages that correctly supports class-level Texinfo documentation; that's an extension I added in to the package's doco-building scripts.) |
I decided I'm not so lazy that I can't do this. Work is proceeding on the convert-doco-to-texinfo branch: https://github.com/apjanke/octave-slf4o/tree/convert-doco-to-texinfo. |
Okay, I got the doco kind of converted to Texinfo format and merged it to It's not entirely working:
|
Hi Andrew, Not sure If I can help you with anything else now that you've done the work! hehehe What I see is that the way you extract the "helptext" documentation of the library, can be useful for my project. So. I'll catch a glimpse and try to use it. Any tips! Thanks a lot! |
Feel free to take my helptext extractor code! The stuff you need is:
Edit the These scripts are based on the doco-generation stuff in various Octave Forge packages, but I've modified them to support namespaces and Let me know how they work out for you! I'd be happy to fix them up if you have problems with them. |
Building the QHelp project is fixed now. Double-quotes in section names were producing invalid XML. The mktexi.pl stuff should be fixed to handle this case by escaping the quotes, but for now, I just removed the quotes from the section name. |
Oh! I forgot to add the special You'll want to grab and adapt those, too, if you're using my helptext extractor stuff. |
Aha: found a bug in the doco generation code: #13. |
Okay, I think this is all working now. Closing as fixed. Let me know if you have any issues! |
doc/
to texinfoPKG_ADD
hack to load the QHelp manualThe documentation-building scripts and Makefile can be taken from the Tablicious package.
Follows up #3.
The text was updated successfully, but these errors were encountered: