Documenta
Community Forums/Showcase/Documenta
| ||
Just a little something to generate nicer module documentation. It's not done yet, so you'll see some stuff missing. Use it if you like, and feel free to add to it. It eats your mod folder and spits out a document folder :) Warning: It overwrites your original BlitzMax Command Reference. Use at your own risk! It spits out html files, looking something like this: ![]() Have Fun! |
| ||
cool :) the menu page could do with a bit of tidying. |
| ||
Yep, it's not done yet :) |
| ||
just need to add a <BR> after the </span> |
| ||
way cool :-). |
| ||
clever |
| ||
Added some extra bits, so intro.html files are automatically included, and examples as well. There might be a few minor bugs with the intro.html, because it's being reformatted, and it might mess up a few links. |
| ||
Hey, I like this - do me one too |
| ||
Nice work fred. |
| ||
Nicely done! Like Doxygen for Blitz! You rule Fred!! Works fine on the Mac. Had to fiddle with the directory structure of course but minimal hassle! |
| ||
best thing i have seen for blitzmax good work mate |
| ||
damned, it's really good :) ok with ie, but i use FireFox and pb with navbar, it doesn't expand :( |
| ||
It's way better than the existing help files! Perhaps BRL would do well to use this style. It can only improve the product... |
| ||
*EDIT* Never mind, I messed up. However, the fancy drop down css doesn't work in anything except IE. :\ I take that back, it works in Konquerer as well. |
| ||
awesome. Mark, notice :) |
| ||
It doesn't work correctly in FireFox at the moment, I'll try and figure out why later (I know that FF does support the display property in CSS) |
| ||
Updated! It now works with FireFox (and most over browsers I assume). And it now overwrites your original BlitzMax command reference, so that you can use F1 to bring it up inside the IDE. Please make sure to back up the original documentation before running it! Use at your own risk! |
| ||
How to enter yes, or no? I cant hit any buttons when the question come, overwrite or not. Confirm does not work for me :( . |
| ||
On linux or Windows? It works for me on windows... [Edit] Try copying the source over again, I changed the confirm alert to a proceed alert...If it still doesn't work, just remove the alert. |
| ||
Again : Damned, it's really good thanks for the firefox's fix :) |
| ||
REALLY COOL! :D ty! |
| ||
great work fredborg ! |
| ||
Quite stunning. |
| ||
OOOOH great job fredborg!!! If I finish my bmax parser (atm grapling with making a fast uber split function), you can use it for highlighting in the samples. |
| ||
Absolutely great! Looks good in Firefox over here. Thanks Fredborg. |
| ||
feature suggestion Have documenta overwrite the other help files as well and combine with www.blitzwiki.org so it comprehensively updates. The idea is that if you do a syncmods, you can also do a syncdocs, which will run the program, fix the docs and also take the stuff from the blitzwiki project online. This will mean very powerful local docs, but it may be really hard to do. It's worth thinking about though. |
| ||
Todd is the guy who set up the Wiki, and he might know enough about it to get fredborg's output into a Wiki format. That would be excellent. Aaron |
| ||
I get: "C:/Programmer/Coding/BlitzMax/Samples/documenta.debug" Unhandled Exception: Couldn't create destination folder! WriteDocs [f:\blitzmax\mod\brl.mod\filesystem.mod/filesystem.bmx;82;41] documenta [C:\Programmer\Coding\BlitzMax\Samples/documenta.bmx;1062;1] I set the Const bmaxfolder:String = "C:/Programmer/Coding/BlitzMax" [EDIT] also tried : "C:\Programme\Coding\BlitzMax" I don't have an f drive. |
| ||
"C:/Programmer/Coding/BlitzMax/" made it work |
| ||
Very Nice Work, Fredborg! |
| ||
skunk - that could be possible, even applicable since the pages are stored as xml, and it would be possible to scan through it for the headers and if it is following the rules of construction make it into the standard formats. For pages not in the correct form, the default bb docs could be used, and the page added to a list of non-compliant pages. [edit]Actually, you can view this xml by going to http://www.blitzwiki.org/index.php/Special:Export , and entering the pages you want to view. for instance "ResizeBank" This isnt actually what i was expecting, i was hoping for more of a xhtml representation of the actiol contents but ohwell. it could be possible if something like the wikipedia database dump could be created: http://download.wikimedia.org/ |
| ||
Updated to convert all help files including Language Reference and User Guide. It also creates backups of all the documents, except the individual module documents. These are automatically regenerated if you run 'BMK makedocs'. I will add a rollback option, so you may revert to the original documents. |
| ||
got an error about the bmax folder variable being const, changing to global solves it obviously. |
| ||
Strange, bmaxfolder is a global :) |
| ||
oops, I think it was from the old code (I kept my bmaxfolder variable and never noticed it had changed to global) :) |
| ||
great, nice work just one thing, about alphabetical order ( From A to Z :) ) What about functions starting with "_" like "_cls()" ? |
| ||
Looks much better than the original. But some of the docs in the /mod/pub are not converted... Mipooh |
| ||
Is there anyway to get max to document your own projects ?? |
| ||
Yavin: 'bmk docmods' in the commandline. It doesn't document types or methods though, so if you want that you're out of luck. |
| ||
Hey rad! Thanks for that tip! I was wondering the same thing Yavin! Thanks Noel! |
| ||
Add it to your sig, fredborg! |
| ||
bombs out on release f subexpression for release must be int blah etc |
| ||
if you've updated to the 1.03 version, you need to change those lines to f=null, etc |
| ||
Hi, It should work with 1.03 now, and also with the official BMax IDE. At least on windows :) |
| ||
It does indeed :) *EDIT* Hmmm... quickhelp is giving me problems. --------------------------- Microsoft Internet Explorer --------------------------- Cannot find 'C:/BlitzMaxBeta101/doc/bmxmods/c:/blitzmaxbeta101/mod/brl.mod/filesystem.mod/doc/commands.html#FileType'. Make sure the path or Internet address is correct. --------------------------- OK --------------------------- *EDIT* deleting commands.txt and redoing it seemed to work. |
| ||
awesome work, that looks so much more professional now, well done |
| ||
Cool, thanks! Works nicely in the Mac editor as well. |
| ||
in function WriteModDocs change the line that writes the module name to: WriteLine(stream,"<tr><td class=~qmodulename~q><a href=~qfile://" + m.file +"~q> "+m.name+"</a></td></tr>") You can then click the module name to open the module source :) |
| ||
Updated it, no need to change the bmxfolder variable to your installation (and added url to mod title so that the mod can be opened in the IDE): |
| ||
Cool Perturbatio, I've updated the top post as well :) |
| ||
Cool! |
| ||
works like a charm and a real improvement. Something for BRL to consider to make this the default look? |
| ||
The one thing I've noticed is that the 1.09 IDE doesn't populate the navbar correctly when using documenta's navbar html, it works fine with the old one. |
| ||
Looks great, but can you have it Generate an Index like the original has? I use that A LOT. |