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

First pass at API documentation #615

Closed
wants to merge 1 commit into from
Closed

First pass at API documentation #615

wants to merge 1 commit into from

Conversation

tmcw
Copy link

@tmcw tmcw commented May 22, 2018

Fixes #530

This implements API documentation for VexFlow. It's not adding any new
prose - only converting existing comments to JSDoc-style comments,
moving certain comments to position them correctly.

Adds one new dependency:

  • documentation

Adds two new npm run scripts:

  • dev-docs: build & serve HTML docs
  • docs: build Markdown docs into API.md

Adds documentation output: API.md


Note that my time commitment here needs to stay pretty low: I have a
full-time job, significant side projects, and ongoing open source
commitments, so I don't have the bandwidth to get to 100% documentation
coverage or anything like that.

But I think this PR as it stands is enough for new contributors to jump in,
add more documentation, and find more old-fashioned comments that can just be
converted to JSDoc and start showing up in the docs.

This implements API documentation for VexFlow. It's not adding any new
prose - only converting existing comments to JSDoc-style comments,
moving certain comments to position them correctly.

Adds one new dependency:

- documentation

Adds two new npm run scripts:

- dev-docs: build & serve HTML docs
- docs: build Markdown docs into API.md

Adds documentation output: API.md

---

Note that my time commitment here needs to stay pretty low: I have a
full-time job, significant side projects, and ongoing open source
commitments, so I don't have the bandwidth to get to 100% documentation
coverage or anything like that.

But I think this PR as it stands is enough for new contributors to jump in,
add more documentation, and find more old-fashioned comments that can just be
converted to JSDoc and start showing up in the docs.
@gristow
Copy link
Collaborator

gristow commented May 22, 2018

On a quick glance this looks great -- I'll pull and check it out locally in the next day or two, but I agree this is an excellent start towards jsdoc style API documentation. Thanks!

@mix3d
Copy link
Contributor

mix3d commented Nov 10, 2019

No Updates, eh?

@rvilarl
Copy link
Collaborator

rvilarl commented Mar 27, 2021

@0xfe what is your oppinion on /** */ style comments? They do integrate great with VSCode to get the funtion details just by hover

@0xfe
Copy link
Owner

0xfe commented Mar 29, 2021

I'm good with that.

@rvilarl
Copy link
Collaborator

rvilarl commented Mar 29, 2021

I'm good with that.

@0xfe should I include the change in #861 already?

@rvilarl
Copy link
Collaborator

rvilarl commented Mar 29, 2021

@tmcw would you still like to collaborate on this one? We could re use a lot of your work

@rvilarl
Copy link
Collaborator

rvilarl commented May 7, 2021

@0xfe now that we use typedoc, I think you can close this PR

@0xfe 0xfe closed this May 7, 2021
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

Successfully merging this pull request may close these issues.

API documentation
5 participants