Git Product home page Git Product logo

gendocs's People

Contributors

fincs avatar hoppfrosch avatar infogulch avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gendocs's Issues

Consistent usage of keyword 'Remarks:'

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?

Consistent support of keywords w/o @UseShortForm

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)
   */

Error with identically named method and 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:

  • Duplicate id is generated within MyClass.html as well.
  • Both 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 ...)

Display "Version" in Library title

Generating the main library documentation page the contents of author and the license fileds are included in pagetitle.
Include a Version field as well.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.