Skip to main content

Code Documentation

Write clear inline documentation, JSDoc/docstrings, and module-level docs for your code

Template Fields

What Does the Code Do?multilineRequired

Describe the function, module, or codebase section to document. Paste code if helpful.

Programming LanguageselectRequired
TypeScriptJavaScriptPythonGoRustJavaC#RubyPHPSwift
Documentation TypeselectRequired
Function / method docs (JSDoc/docstring)Module / file headerREADME for a moduleInline comments for complex logicAPI type definitionsArchitecture overview
Documentation Audienceselect
Team membersOpen source contributorsAPI consumersFuture maintainers (including yourself)
Include Usage Examples?select
YesNo

Related Templates