Closed Nakilon closed 1 year ago
@Nakilon This question probably belongs more in discussions. :)
But I will attempt to answer as good as possible, please consider that this is my opinion, if ri
is good enough for you—then that's great. But I tried ri
and pry-doc
before starting this project and I was very frustrated with experience.
These are the issue from my memory, they might not be up-to-date right now or I could be forgetting something:
ri
worked pretty stably for me for anything related to stdlib, but I had issues picking up gem docs with it. pry-docs
, but it worked for me only if 'pry-doc' gem was part of a bundle. But somehow pry-doc
had issues picking up stdlib classes.ri
to use. In some cases, I had to modify .gemrc
to include docs for gems and I haven't found a way to do so selectively for gems.I decided to build this gem to generate "markdown and search index". In my mind, this approach seems easier:
I'm also building a TUI client on top of this library—I call it posh . I plan to solve all the issues I had with ri
and pry-doc
with this combo.
Thanks for the explanation! P.S.: there is no Discussions tab:
Considering this: