---
title: "init_site"
---

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

# `init_site()`

Initialize a qrtdown site

## Usage

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

## Arguments

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

## Value

Invisibly returns the path to _quarto.yml

## Description

Creates the necessary configuration files for a qrtdown site:

- _quarto.yml - Quarto project configuration

- _qrtdown.yml - qrtdown-specific configuration (if not exists)

## Examples

```r
## Not run: 
init_site()

## End(Not run)
```

