---
title: "clean_site"
---

[< Back to Reference](../reference.qmd) | [View source](https://usrbinr.codeberg.page/qrtdown//src/branch/main/R/build.R#L167)

# `clean_site()`

Clean the built site

## Usage

```r
clean_site(pkg = ".", quiet = FALSE)
```

## Arguments

| Argument | Description |
|----------|-------------|
| `pkg` | Path to the package root directory |
| `quiet` | Suppress progress messages |

## Value

Invisibly returns TRUE if cleaning succeeded

## Description

Removes all generated site files including the output directory,
the _qrtdown/ directory, and Quarto cache.

