---
title: "build_reference"
---

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

# `build_reference()`

Build Reference Documentation

## Usage

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

## Arguments

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

## Value

Invisibly returns the path to the reference index

## Description

Generates reference documentation from roxygen2-generated .Rd files.
Creates individual pages for each function (like pkgdown) plus an
index page listing all functions. All generated files go to the
_qrtdown/ directory to keep the package root clean.
Build the function reference page

