# Docstring

Docstring generator helps you in documenting your code in a professional and standardized way.

It supports Python, Java, JavaScript, C, C++, and C#. Forget about writing documentation for your code let us take care of that for you.

### Step 1 :

Log in first with Google Authentication in Kodezi.

<figure><img src="/files/sBFAeQYa8JQh8o22tLtU" alt=""><figcaption></figcaption></figure>

### Step 2 :

After signing in successfully, click on Generate Documentation button.

<figure><img src="/files/OWz83UYPyx6RWliAb1Yg" alt=""><figcaption></figcaption></figure>

### Step 3 :

Inside the Generate Documentation UI select the Docstring, then click on Generate button.

<figure><img src="/files/lq9Rfx96rnNFxPPhxSH8" alt=""><figcaption></figcaption></figure>

{% hint style="warning" %}
Kodezi does not support extremely large sections of code, so you may have select a block of code for Docstring if guided to do so.
{% endhint %}

### Step 4 :

After clicking on Generate button, the document-generating process will start.

<figure><img src="/files/WhLQJerYKMxAfvQWs0hJ" alt=""><figcaption></figcaption></figure>

### Step 5 :

You will see results similar to these in your IDE once the document-generating process is finished.

<figure><img src="/files/X9crlIZUH2yXSQggNpHd" alt=""><figcaption></figcaption></figure>

### Step 6 :

Now You can simply click on the apply button for the result that will be added to your original file.&#x20;


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.kodezi.com/feature-guides/generate-documents/docstring.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
