GithubHelp home page GithubHelp logo

atomdoc's Issues

How exactly do I use this with my project?

From readme I only saw that this package turn a string into an object. Even though I still don't know what exact procedure to make that happen. Can it be more beginner-friendly and add more elaborate examples that I can follow? Thx.

Add support for services

With atom/atom#5165 and atom/atom#5277 merged, we should have a method of documenting services provided akin to events.

I'm thinking something along the lines of:

## Service `status-bar` v0.57.0

### `consumeStatusBar`

Essential: Provides a reference to the status bar to the consuming package.

* `statusBar` Status bar {Object}
    * `addLeftTile` A {Function} for adding a tile to the left side of the status bar
    * `addRightTile` A {Function} for adding a tile to the right side of the status bar
    * `getLeftTiles` A {Function} for getting the list of tiles on the left.
    * `getRightTiles` A {Function} for getting the list of tiles on the right.

How do you handle arrays?

Suppose my method returns an array of {Widgit}s. How would I state this considering that the link parsing regex is: /\{([\w.]+)\}/

  • Returns {Array} of {Widget} sets the type as 'Array'
  • Returns {Array{Widget}} and other combinations of nested either indicate type to be {Widget} or fail.

Function name

There seems to be a lack of support for the function name. Just wondering why. The AtomDoc comment wouldn't need to specify it I guess, maybe it should just come from the js/coffeescript itself, when parsed.

Should AtomDoc then support or expect it?

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.