-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Initial documentation #1191
Initial documentation #1191
Conversation
"karma": "^0.13.2", | ||
"karma-browserify": "^4.2.1", | ||
"karma-firefox-launcher": "^0.1.6", | ||
"karma-mocha": "^0.2.0", | ||
"karma-mocha-reporter": "^1.0.2", | ||
"minami": "^1.1.1", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
note to self, remove unused theme
Known issues:
Perhaps
See next commit.
|
Insane work! I always missed a doc page for async to make easy check specific function documentation, so I'm a very fan of this. Could be interesting use a short CNAME. We can use async.js.org for free. |
Also original documentation are divided in 3 main sections: Collections, control flow and utils. What about that? |
Yeah, I haven't able to make categories work so far. Also I just noticed all the none Also I bought http://www.asyncjs.xyz/ when there was a $0.30 sale on xyz domains |
This is amazing progress! Good job! The search feature will be useful. A couple of things I noticed. In addition to the |
Btw, just a quick thought @megawac, |
Including a copy of `async` in the docs
@hargasinski go for it, there were a couple reasons I went with esdoc over jsdoc in my attempt:
However, the issues with esdoc are clearly blocking so I'd be fine with going with jsdoc if we can get them in a good spot |
@megawac awesome, I'll continue exploring the jsdoc option then. Just to add to the list, it would be good if the option we choose supported the |
@megawac, sorry for the spam, but I think I have something you'll like. You can see it at http://hargasinski.github.io/async/docs.html. I should preface by saying that this definitely isn't a permanent solution, but it should work for the time being. Essentially, it's using It includes
In regards to the comment on #1083, it'll all on one page, including the
Let me know what you think, thank you! |
Mind dropping this commit? I'd prefer to do this with a plugin. The plugin would be ridiculously straight forward. I'll send your branch a PR in a bit.
Fine for now. Going to continue watching esdocs though :)
Cool that's a must. Have you looked into runnable snippets?
Feel free to cc me on commits, I've been checking your branch quite frequently to see what you're up to. Also loving the progress |
merged the PR, thanks!
I've been thinking about it some more, and I could probably recreate the search functionality of esdocs using typeahead.js and cheerio. I'll look into it the next couple of days.
No, not yet. I'll start looking into libraries for it.
Awesome, I'll start doing that. It'll help address issues more directly. |
Nice, I like the direction things are going. How easy is it to tweak the minami theme? Do you have to fork the module? I would say that runnable snippets are less important since most of our examples refer to |
@aearly currently tweaking the minami theme has been relatively easy as it's mainly been small changes. Its just taking a while to do. I'm reading in the outputted HTML, and adding our components using cheerio. The script is under 200 lines, you can see it here. I'll continue tweaking it, but I may have to fork it eventually for some of the bigger changes, like a REPL, or runnable scripts. We have a list of things that still need to be added on the issues page of my fork. |
Alright this took longer than expected. Mostly because I was working out nuances in our jsdoc configurations. I have a number of commits related to this over the past couple weeks on my personal fork :/. Anyway the main one that drove me nuts was namespaces vs modules.
Take a look at dc4cac3 for real changes
Could people take a look at the docs and share their thoughts?
Docs: http://rawgit.com/caolan/async/docs/docs/index.html
/cc @aearly @hargasinski @Kikobeats
Fixes #1083 #1135