fincs / gendocs Goto Github PK
View Code? Open in Web Editor NEWAutoHotkey documentation generator
Home Page: http://ahkscript.org/boards/viewtopic.php?f=6&t=1797
AutoHotkey documentation generator
Home Page: http://ahkscript.org/boards/viewtopic.php?f=6&t=1797
It's possible to use Remarks:
-Keyword within Method
-documentation section. This way additional information can be added to Method
-documentation. This is especially useful if you want to add structure to your remarks using Markup:
/*!
Method: test(x)
bla
Parameters:
x - *(Optional)* bla
Remarks:
### See also:
[test2](#test2)
### Author(s)
* 20130308 - [hoppfrosch]([email protected]) - bla
*/
I failed to find a way to add something similar to the class
- or library
-documentation block ..
Wouldn't it make sense to support Remarks:
-Keyword within method
as well as property
, class
and library
documentation (what else?) sections to get some consistency and make usage of Remarks:
more intuitive?
The usage/non-usage of attribute @UseShortForm within documentation results in different output.
For example: omitting "@UseShortForm", the keyword "Parameters:" for a "Property: " does not produce an output. Using "@UseShortForm" the keyword "Parameters:" for a "Property:" produces an output ....
Example
/*! ---------------------------------------------------------------------------------------
Property: alwaysOnTop[flag] [get/set]
Get or Set the *AlwaysOnTop*-Property. To toogle current *Always-On-Top*-Property, simply use `obj.alwaysOnTop := !obj.alwaysOnTop`
Parameters:
flag - true or false (activates/deactivates *AlwaysOnTop*-Property)
*/
Within my class I've implemented a method named test()
and within _Get()
of my class I've created a property with the same name test
.
Documenting the code using the following:
/*!
Class: MyClass
@UseShortForm
*/
...
/*!
Method: test(mode)
...
*/
...
/*!
Property: test [get]
...
*/
Everything seems to be fine, but looking inside html, both test
entries are generated with the same id
(anchor). Therefore linking to one of these test
entries is ambiguous..
Omitting the @UseShortForm
the generated output is obviously erroneous as well:
id
is generated within MyClass.html
as well.test
-entries result in the same outputtfile MyClass.test.html
- only the "last" test
-documentation is available (in example above property documentation is available - method documentation is overwritten ...)Hi,
I was looking for an AHK script that converts the selected text from Markdown to HTML, and looking at your repository I think we can extract this function from it... could you help me doing this please ? :D
Generating the main library documentation page the contents of author and the license fileds are included in pagetitle.
Include a Version field as well.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.