Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: simple page that lists the entire API #253

Closed
gurpreetatwal opened this issue Jun 1, 2017 · 7 comments
Closed

docs: simple page that lists the entire API #253

gurpreetatwal opened this issue Jun 1, 2017 · 7 comments

Comments

@gurpreetatwal
Copy link

gurpreetatwal commented Jun 1, 2017

I wasn't able to find document that lists/links to the library's complete API on a single page. The current docs are great for a quick getting started tutorial but aren't as helpful when you're using the library in a project already and don't remember the name or maybe the signature of one of the functions.

As an example, Sinon has this page.

@searls
Copy link
Member

searls commented Jun 1, 2017

this is a good idea and overdue 👍

@gurpreetatwal
Copy link
Author

I can start working on this if you want; however I just started using the library yesterday 😜

I was thinking of just adding a API.md to the docs folder, or maybe a wiki page?

@searls
Copy link
Member

searls commented Jun 1, 2017

Since we haven't been using wiki yet it's probably not right to start now. I think an docs/api.md makes plenty of sense as a reference point, however, even if most of what it does is list out every top-level method and just link back to the workflow-organized markdown pages elsewhere

@gurpreetatwal
Copy link
Author

gurpreetatwal commented Jun 1, 2017

Yeah I agree, the doc could have a "table of contents" which has the entire API and then each method in the doc would link to a section in the main docs.

Something like:


API

...

....

Methods

...

td.replace(object, propertyName, [manualReplacement]) ⇒ fake

short description and link back to main docs
...

@searls
Copy link
Member

searls commented Jun 1, 2017

yes, exactly

@gurpreetatwal
Copy link
Author

Sounds good! I'll get started on this later today

@searls
Copy link
Member

searls commented Mar 24, 2018

This is done if you look at the recently rewritten README.md

@searls searls closed this as completed Mar 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants