API for docs
summary
RBS 3.9 and Steep 1.1.0 add features like generic defaults, comment-based ignore for errors, and receiver-type narrowing while inline RBS remains unfinished; editor UX already shows hover, completion, and signature help driven by comments in RBS. Problem: editing comments triggers full re-typechecking. Proposal: add an index API that registers docs by stable identifiers (use normalized RBS method type strings for overloads) so the editor pulls docs without rerunning the checker; idea is proven conceptually but not yet fully implemented.
AI-written summary · about
chapters (9)
- 0:00Introduction
- 1:46RBS and Steep updates
- 4:59Documentation features
- 10:20Internal structure
- 16:59Type checking on docs
- 19:26Documentation index proposal
- 27:10Index API benefits
- 28:12Cross-tool index use
- 30:03Conclusion
related talks
26mThe future of Ruby documentation
20mJudicious: API Documentation for Novices
25mDo you know who's reading your Docs?
35mDocumenting APIs: new era, same craft
20mUser Brainpower vs. AI Blind Spots in API Docs
20mRevamping API Docs: Boosting Developer Experience
37mRuby Parser In IRB 20th Anniversary...Now Let Time Resume
20mStop writing docs; Start helping
