Closed benlesh closed 8 years ago
I'm pretty optimistic about esdoc. In general I'm favorable of putting technical specs of each operator in esdoc, and then elaborating in more details at reactivex.io where we can put documentation not linked directly to source code.
then elaborating in more details at reactivex.io where we can put documentation not linked directly to source code.
That's totally true. I'd lost sight of that when I made this issue. (I'm not sure why it's come up at Netflix a dozen times)
As I mentioned in the original markdown-doctest pull request, if we do opt for esdoc as the future, I will write almost definitely write esdoctest
if nothing does that already, as I think having runnable examples as a CI enforced concept is quite important.
Don't let markdown-doctest
sway you too much is all I'm saying.
Have any examples been written using esdoc
so far? Would love to be pointed in the right direction if so.
I will write almost definitely write esdoctest if nothing does that already, as I think having runnable examples as a CI enforced concept is quite important.
That would be great!
Hi! I am developing ESDoc. Thanks for using it :smile:
ESDoc supports to integrate markdown file into documentation. Please see https://esdoc.org/feature.html#integration-manual for more information. this might help to you.
If you have feature requests for ESDoc, please tell me it.
Feel free this comment. Thanks.
ESDoc supports to integrate markdown file into documentation. Please see https://esdoc.org/feature.html#integration-manual for more information. this might help to you.
Perfect, then.
I think I'm 90% ready to close this issue... But how much description can we add in ESDoc? Can we embed little JSBins or anything like that?
Can we embed little JSBins or anything like that?
Can't even do that in markdown docs. :D ESDoc might be possible since it generates a webpage.
Can't even do that in markdown docs. :D
I know you can't do this in comments, but this is true for .md files committed to the repo as well? Aww, man... 😕
E.g. I know you can't embed youtube videos in .md files, but you can embed images and gifs.
If we're going to do markdown + esdoc and there's a build step to compile to html, I feel like we can totally do interactive examples. The code for extracting code snippets already exists in markdown-doctest, we would just need to browserify the code and embed an editor in the generated htnl.
I might take a crack at that soon, see what's possible On 4/12/2015 9:22 am, "Ben Lesh" notifications@github.com wrote:
Can't even do that in markdown docs. :D
I know you can't do this in comments, but this is true for .md files committed to the repo as well? Aww, man... 😕
— Reply to this email directly or view it on GitHub https://github.com/ReactiveX/RxJS/issues/851#issuecomment-161771801.
@Widdershin just blew my mind a little there. That sounds really cool
I think we can close this issue and stick with esdocs for now then.
So, I find the documentation generation problematic.
Doc Gen (esdoc, et al)
PROS:
CONS:
Markdown Docs
PROS:
CONS: