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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doc comments & generated API docs #182

Merged
merged 7 commits into from
Feb 13, 2017
Merged

Doc comments & generated API docs #182

merged 7 commits into from
Feb 13, 2017

Conversation

yusefnapora
Copy link
Contributor

This adds a bunch of jsdoc comments to most of the code in src/peer, and an npm run build:docs command to generate HTML docs using the jsdoc cli tool & a docstrap template.

I also added npm run check:style and npm run check:types scripts, mostly so that I can easily run the version of flow that's bundled as a dev dependency; @parkan I think that the Buffer / Array errors you were seeing only occur on flow 0.37, but things seem to check out with 0.38 which is installed as the flow-bin dev dependency.

The 107 files changed 馃槢 is due to committing the generated docs... I kind of went back and forth on that but it will let us point github pages at the docs dir and easily host them without using a gh_pages branch. I'm fine with adding a script to build and commit to the gh_pages branch though, if having the built docs on master is too annoying.

Copy link
Contributor

@parkan parkan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hooray

@parkan parkan merged commit 9ae0aa4 into master Feb 13, 2017
@yusefnapora yusefnapora deleted the yn-doc-comments branch February 14, 2017 16:00
@parkan
Copy link
Contributor

parkan commented Feb 14, 2017

do we have a copy of the generated docs up anywhere public?

@yusefnapora
Copy link
Contributor Author

yeah, it's at https://mediachain.github.io/aleph/

@parkan
Copy link
Contributor

parkan commented Feb 14, 2017

馃憤

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.

None yet

2 participants