GenDocs - StdLib Documentation Generator

Post your working scripts, libraries and tools for AHK v1.1 and older
User avatar
fincs
Posts: 527
Joined: 30 Sep 2013, 14:17
Location: Seville, Spain
Contact:

GenDocs - StdLib Documentation Generator

30 Jan 2014, 17:28

[Repost]

GenDocs is a utility for easily creating documentation for AutoHotkey libraries. It supports function, classes (with methods, properties, constructors and inner classes), as well as custom-formatted pages. It works through specially-crafted comment blocks, which contain GenDocs-flavored markdown.

Download - GitHub - Documentation
fincs
Windows 11 Pro (Version 22H2) | AMD Ryzen 7 3700X with 32 GB of RAM | AutoHotkey v2.0.0 + v1.1.36.02
Get SciTE4AutoHotkey v3.1.0 - [My project list]
User avatar
fischgeek
Posts: 435
Joined: 29 Jan 2014, 21:39

Re: GenDocs - StdLib Documentation Generator

30 Jan 2014, 17:42

Wondering if there's a way for me to get this working. It seems like such an awesome feature. Everytime I try to generate a doc, I get "An error happened (FileRead)! 1|"

Just trying some basic stuff from the example(s):

Code: Select all

/*!
	Library: Test library, version 1.0
	Author: fincs
	License: WTFPL
*/

/*!
	Page: Test Page
	Filename: TestPage
	Contents: @file:TestPage.md
*/

/*!
	Function: something(a, b [, c])
		something() does something :)

	Parameters:
		a - Something
		    > MsgBox Yay, this works?! ; comment!
		b - Something else
		c - (Optional) Even more stuff

	Remarks:
		Meow.

	Returns:
		Dinner, really :)

	Extra:
		### It looks like everybody's been taken to Tykogi Tower!
		Oh, my!

	Throws:
		Stuff if stuff
*/

myTest(a,b,c) {
	return "This is a test"
}
User avatar
fincs
Posts: 527
Joined: 30 Sep 2013, 14:17
Location: Seville, Spain
Contact:

Re: GenDocs - StdLib Documentation Generator

30 Jan 2014, 17:45

You left the "Page:" block in there from the example, which tries to read the file TestPage.md. Does that file exist in the same folder as the script? If not, then remove the Page block.
fincs
Windows 11 Pro (Version 22H2) | AMD Ryzen 7 3700X with 32 GB of RAM | AutoHotkey v2.0.0 + v1.1.36.02
Get SciTE4AutoHotkey v3.1.0 - [My project list]
User avatar
fischgeek
Posts: 435
Joined: 29 Jan 2014, 21:39

Re: GenDocs - StdLib Documentation Generator

30 Jan 2014, 17:56

Where's the face slap emoticon? Oh well, this will do: :oops:
-_+
Posts: 70
Joined: 06 Dec 2014, 12:43

Re: GenDocs - StdLib Documentation Generator

06 Apr 2015, 00:51

fincs, that'd be nice, if you'd add some example of some script and the results of it's GenDoc parsing right here.
Also, why not write a module for ahk language for Doxygen?
Thanks for your script.

Return to “Scripts and Functions (v1)”

Who is online

Users browsing this forum: gwarble and 46 guests