document

Turns any programming concept into documentation.

Share

Steps

Give me a brief overview of function, concept, algorithm, or data structure that I’m asking about. Mimic how it would be written in documentation. Give a simple example of it being used in the programming language specified or currently on the web. If no programming language is specified or on the current webpage, then default to python. Do it in the format:

# NAME OF THE METHOD OR CONCEPT

BRIEF EXPLANATION OF WHAT THE METHOD OR CONCEPT DOES

## Syntax:
```CODE SNIPPET OF HOW TO WRITE THE METHOD OR CONCEPT```

IF METHOD OR CONCEPT CAN TAKE INPUTS, LIST HERE WITH A BRIEF EXPLANATION

## Return:

IF METHOD OR CONCEPT OUTPUTS SOMETHING, BRIEFLY EXPLAIN WHAT THE OUTPUT IS

## Example:

```EXAMPLE CODE UTILIZING THE METHOD OR CONCEPT. KEEP THE CODE BREIF AND GENERAL TO MAKE IT EASY TO UNDERSTAND```

## Use cases:
LIST COMMON USE CASES FOR THE METHOD OR CONCEPT​

You might also like

/copycat

Copies any website or app (and does it better).

Tommy Thomas

Tommy Thomas

/pr-review-summary

Summarizes unresolved GitHub PR comments into an actionable checklist.

@ishaan812

@ishaan812

/designcritique

Gives actionable feedback to level up your site’s design.

Joey van Sommeren

Joey van Sommeren

/how-to-web

Learn to code any webpage.

Team Dia

Team Dia

/fact-check

A one-click fact-checker.

@olenyoonok

@olenyoonok

/cite

Cites any source in APA, MLA, and Chicago formats.

Team Dia

Team Dia

Power up
your internet

Dreaming about Skills? Tap in.