Closed ChillerDragon closed 5 months ago
Running ri "FileUtils"
prints some nice docs on my machine.
They are defined here https://github.com/ruby/fileutils/blob/master/lib/fileutils.rb
Whatever the standard ruby lib uses must be good. Having that for teeworlds_network would be nice for lib users.
Okay whatever yard it is:
gem install yard
yard
produced this
That could replace the whole markdown docs. Do we want that? I liked the markdown docs.
Whatever the standard ruby lib uses must be good. Having that for teeworlds_network would be nice for lib users.
We already have that lol
gem install teeworlds_network
ri "NetBase"
In javascript land jsdoc basically can replace typescript. Because there is good tooling around it.
What is that in ruby? Which has the best editor integration? But running type checks in the CI would be even more important.
As far as I can see there is https://github.com/ruby/rdoc and https://yardoc.org/ not sure which one is more maintained and more widely used.
https://stackoverflow.com/a/3699807/6287070
https://stackoverflow.com/a/64303056/6287070