Visx: [docs] document api of all packages

Created on 8 May 2017  路  12Comments  路  Source: airbnb/visx

Most helpful comment

Do you need help writing some of the documentation? I could submit a PR for the boxplots docs, if nobody has that action.

I've been watching this project for a while, and I like it a lot. I'm interested in helping out, if you'll have me!

All 12 comments

Hey, this might be a stupid question, but where's the repo for the docs?

Great question. My current plan is to add docs to each packages/**/Readme.md then write a script that builds those to a new dir called docs/ at the vx repo root. Open to suggestions for alternative solutions!

I looked into react-docgen a bit for linking docs to code. But react-docgen assumes a class structure for it's objects and doesn't really work all that well with the existing code. It might be a future thing, but I'm just gonna write docs in the Readme's for the moment.

Is brush "stable"-ish right now? There's no longer a gallery version of it. Should I just hold off on writing the docs on it for now?

Do you need help writing some of the documentation? I could submit a PR for the boxplots docs, if nobody has that action.

I've been watching this project for a while, and I like it a lot. I'm interested in helping out, if you'll have me!

Do it! :D

Let me know it you need any help 鉂わ笍

馃檲 didn't mean to close the entire issue

These are the packages with missing documentation

  • [ ] brush
  • [ ] clip-path
  • [ ] brush
  • [ ] drag
  • [ ] event
  • [ ] hierarchy
  • [ ] responsive
  • [ ] tooltip
  • [ ] zoom

I wrote the docs for the boxplot component, and I'm happy to contribute to other utilities/components

(I was a bit swamped before, but I have some time now)

I just hacked together a little site we can use to keep track of progress on the docs:

https://trainorpj.github.io/vx-docs-progress/

I figured there are so many packages/components it'd be nice to keep track of things at a high level.

Link to the repo. Feel free to make changes. I used d3 but didn't use vx... 馃槵

Very helpful, thank you @trainorpj! I'm hoping for all green by v1

This should be fixed in: https://github.com/hshoff/vx/pull/399

Need to add descriptions, but at least api doc generation is automated now.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

bernatfortet picture bernatfortet  路  4Comments

sabarnix picture sabarnix  路  4Comments

hellosmithy picture hellosmithy  路  3Comments

m0t0r picture m0t0r  路  3Comments

elisechant picture elisechant  路  3Comments