Giter Site home page Giter Site logo

discordjs / docgen Goto Github PK

View Code? Open in Web Editor NEW
64.0 64.0 25.0 145 KB

The docs.json generator for discord.js and its related projects

License: Apache License 2.0

JavaScript 100.00%
discord discordjs docgen docs documentation generator hacktoberfest jsdoc

docgen's People

Contributors

amishshah avatar dependabot[bot] avatar favna avatar gawdl3y avatar icrawl avatar itsfolf avatar serhann 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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

docgen's Issues

throws is always undefined

Using this

/**
 * Test Class
 */
class myClass {
  /**
   * @throws {Error} TestError
   */
  myFunc2() {
    throw new Error('myError');
  }
}

I couldn't get the result to include throws
modifying the code,

- throws: this.directData.throws
+ throws: this.directData.exceptions

I could get the expected result
I would also like to add that the return type for this (directData.exceptions / throws) is pretty much the same the returns' (directData.returns) however that gets formatted while throws doesn't, shouldn't it do the same for consistency?
(not requesting any changes since this doesn't seem very active, just wanted to inform)

Add support for type queries and more

jsdoctypeparser#50

Would be nice if the docgen supported type queries and other features listed in the above. I maintain a fork of commando and found about the missing of type queries by trying to use typeof Command when it passes the class directly (instead of instance).

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.