# cli.py

**Path:** `src/thedoc/cli.py`

## Functions

### main

TheDoc - Documentation generation tool.

```python
main()
```

---

### init

Initialize TheDoc in the current project.

```python
init()
```

---

### generate

Generate documentation for the project.

```python
generate()
```

---

### release_notes

Generate release notes based on conventional commits.

```python
release_notes()
```

---

### build

Build MkDocs documentation site.

```python
build()
```

---

### serve

Start the MkDocs development server.

```python
serve()
```

---

## Modules

### cli

Command-line interface for TheDoc.

---

