Help pages

-- B -- build_dag_graph() build_site_config()

-- C -- critical_path()

-- D -- dag_layout() diff_run_history() document_targets()

-- G -- generate_all_function_pages() generate_all_target_pages() generate_analytics_data() generate_analytics_viewer() generate_llm_content() generate_llms_txt() generate_notes() generate_reactflow_graph() generate_search_index() generate_tardoc_db() generate_viewer() generate_wasm_viewer() get_fn_docs() get_target_network_dependencies()

-- I -- inject_quack_session()

-- L -- load_targets_data()

-- M -- moxygenise() moxygenise_file()

-- P -- pipeline_profile()

-- R -- read_note() read_overview() read_run_history() record_run_snapshot()

-- S -- score_grouping() serve_tardoc_mcp() setup_site_dirs()

-- T -- tardoc tardoc-package target_groups()

-- V -- view_tardoc() view_tardoc_db() view_wasm_analytics()

1 tardoc: Generate Documentation and Analytics for targets Pipelines

Description

Auto-generates documentation for a 'targets' pipeline from '_targets.R' and the roxygen comments beside it: one markdown file per target and per function, plus a self-contained HTML viewer with an interactive dependency graph, fuzzy search, build status, timings, per-branch detail and verbatim function source. Freshness, the critical path and a diff against the previous build are reported alongside. Optional layers add a DuckDB WASM analytics page that opens from the filesystem, a local DuckDB server with full-text and semantic search, an LLM chat interface over the pipeline database via 'ellmer', and the same database as an MCP server for use with coding agents.

Author(s)

Maintainer: Cathal Byrne cathal.byrne@cso.ie

Authors:

See Also

Useful links:

2 Build the node and edge lists a React Flow graph needs

Description

Turns targets_data into the {nodes, edges} shape the viewer's graph consumes, with positions already assigned by dag_layout().

Usage

build_dag_graph(targets_data, include_functions = TRUE, groups = NULL)

Arguments

targets_data

Output of load_targets_data().

include_functions

Logical. Include function vertices as nodes. tar_network() reports the functions a target calls, and the viewer can toggle them.

groups

Optional named character vector of group label per target, from target_groups(). When supplied each node carries its group, and the result gains a groups element: a collapsed graph of one node per group, plus a per-group layout so the viewer can drill into one without laying anything out itself.

Details

Nodes come from tar_network()'s vertices, which already carry type (stem / pattern / function), a branch count, runtime and size. They are enriched from the manifest (command, branching pattern, storage settings) and the metadata (errors, warnings, build time) so a reader can inspect a target without leaving the graph.

Value

A list with nodes and edges, and groups when grouped.

3 Build a site config list

Description

All generated content goes into site_dir (default "tardoc") inside the project root. No renderer is required – output is plain markdown files plus a self-contained HTML viewer.

Usage

build_site_config(project_path = ".", site_dir = "tardoc", repo_url = NULL)

Arguments

project_path

Path to the targets project root. Default ".".

site_dir

Name of the output subfolder. Default "tardoc".

repo_url

Base URL of the hosted repo, e.g. "https://github.com/user/repo/blob/main/". Enables source links on function and target pages. Default NULL.

Value

A named list used as cfg throughout the package.

4 Longest-duration path through the pipeline

Description

The chain of targets whose runtimes sum to the largest total. Since every target on it waits for the one before, its total is a lower bound on the wall-clock time of a full rebuild however many workers you give it.

Usage

critical_path(nodes, edges)

Arguments

nodes

A data frame or list with name and seconds.

edges

A data frame with from and to.

Details

Targets with no recorded runtime count as zero rather than dropping out, so a partially built pipeline still returns a sensible path.

Value

A character vector of target names, ordered from root to leaf. Empty when there are no nodes.

Examples

critical_path(
  nodes = data.frame(name = c("a", "b", "c"), seconds = c(1, 10, 2)),
  edges = data.frame(from = c("a", "a"), to = c("b", "c"))
)
#> [1] "a" "b"

5 Assign layered (x, y) positions to a DAG

Description

Computes a left-to-right layered layout: each node's column is its longest-path depth from a root, and nodes sharing a column are stacked vertically and centred against the tallest column.

Usage

dag_layout(nodes, edges, x_spacing = 220, y_spacing = 90)

Arguments

nodes

Character vector of node names.

edges

A data frame or list with from and to character columns.

x_spacing

Horizontal distance between layers, in pixels.

y_spacing

Vertical distance between stacked nodes, in pixels.

Details

Cycles cannot occur in a targets pipeline, but a malformed edge list could contain one. Rather than looping forever, any node still unresolved once no further progress is possible is placed in the last computed layer.

Value

A data frame with name, layer, x and y.

Examples

dag_layout(
  nodes = c("a", "b", "c"),
  edges = data.frame(from = c("a", "b"), to = c("b", "c"))
)
#>   name layer   x y
#> 1    a     0   0 0
#> 2    b     1 220 0
#> 3    c     2 440 0

6 Compare the two most recent snapshots

Description

Compare the two most recent snapshots

Usage

diff_run_history(history, slower_by = 0.25)

Arguments

history

A list of snapshots from read_run_history().

slower_by

Numeric. Relative change in runtime counted as meaningful. Defaults to 0.25, i.e. a quarter slower or faster; anything smaller is noise on a re-run rather than a regression.

Value

NULL when there is nothing to compare, otherwise a list with from, to (the two timestamps) and character vectors added, removed, rebuilt, status_changed, slower, faster, grew, shrank – each describing one target per element.

7 Document a targets project

Description

Generates all tardoc output: markdown pages, Tier 1 viewer, Tier 2 WASM analytics viewer, Tier 3/4 server analytics database, and llms.txt.

Usage

document_targets(
  project_path = ".",
  site_dir = "tardoc",
  pkg_name = "targets docs",
  pkg_desc = "",
  repo_url = NULL,
  llm = FALSE,
  llm_chat = NULL,
  llm_provider = "openai",
  llm_model = NULL,
  llm_api_key = NULL,
  llm_base_url = NULL,
  check_outdated = TRUE,
  group_by = "auto"
)

Arguments

project_path

Path to the targets project root. Default ".".

site_dir

Subfolder for all generated content. Default "tardoc".

pkg_name

Title shown in viewer headers.

pkg_desc

One-paragraph project description (used in llms.txt).

repo_url

Optional base URL of the hosted repo for source links.

llm

Logical. Auto-generate missing target descriptions and function explanations via an LLM. Default FALSE.

llm_chat

A pre-configured ellmer Chat object. When provided, llm_provider, llm_model, llm_api_key, and llm_base_url are ignored.

llm_provider

Provider for LLM calls. One of "openai" (default), "anthropic", "ollama", "openai_compatible".

llm_model

Model name. NULL uses the ellmer default per provider.

llm_api_key

API key. NULL reads the env var.

llm_base_url

Base URL for "openai_compatible" provider (e.g. a llama.cpp server: "http://localhost:8080/v1").

check_outdated

Logical. Call targets::tar_outdated() so pages and the graph can tell a stale target from a current one. It re-hashes dependencies, so pass FALSE on a large pipeline to skip it; status then falls back to reporting errors only.

group_by

How the pipeline overview may be collapsed into groups: "auto" picks a grouping signal and rejects the lot when none scores well, "none" disables it, or name one of "declaration", "functions", "prefix", "depth" to force it. See target_groups(). Grouping only adds an option in the viewer – the flat graph stays the default view.

Details

Tiers produced:

Value

The cfg list, invisibly.

Examples

# Minimal -- Tier 1 + 2 always, Tier 3 if duckdb installed
document_targets(pkg_name = "My pipeline")
view_tardoc()              # Tier 1: file:// viewer
view_wasm_analytics()      # Tier 2: WASM, file://
view_tardoc_db()           # Tier 3: server + Quack

# With LLM descriptions (OpenAI by default, reads OPENAI_API_KEY)
document_targets(llm = TRUE)

# Local LLM via Ollama
document_targets(llm = TRUE, llm_provider = "ollama", llm_model = "llama3.2")

# Analytics + chat with any provider
view_tardoc_db(llm_chat = ellmer::chat_openai())
view_tardoc_db(llm_chat = ellmer::chat_ollama("llama3.2"))

8 Generate markdown pages for every R function

Description

Writes one .md file per function into cfg$functions_dir. Roxygen docs and source code are inside the <!-- tardoc:generated --> block and updated on every run.

Usage

generate_all_function_pages(cfg)

Arguments

cfg

A site config list.

Value

A character vector of function names, invisibly.

9 Generate markdown pages for every target

Description

Writes one .md file per target into cfg$targets_dir. Each file contains a mermaid local dependency diagram, command, status, and function links. Only the region between <!-- tardoc:generated --> markers is overwritten on re-runs – any content outside those markers is preserved.

Usage

generate_all_target_pages(targets_data, cfg)

Arguments

targets_data

Output of load_targets_data().

cfg

A site config list.

Value

A character vector of target names, invisibly.

10 Generate the analytics dataset for the DuckDB WASM viewer

Description

Writes tardoc_analytics.json into cfg$site_path. This is a richer dataset than search_index.json – it includes the full edge list (for graph traversal), notes content, and all fields needed for SQL analytics. The DuckDB WASM analytics viewer loads this file and ingests it into in-browser tables.

Usage

generate_analytics_data(targets_data, function_names, cfg)

Arguments

targets_data

Output of load_targets_data().

function_names

Character vector of function names.

cfg

A site config list.

Value

Path to tardoc_analytics.json invisibly.

11 Generate the server analytics viewer template

Description

Writes analytics.html into cfg$site_path using inst/templates/analytics.html. This file is a server template: open it via view_tardoc_db(), not directly in a browser.

Usage

generate_analytics_viewer(cfg, pkg_name = "targets docs")

Arguments

cfg

A site config list.

pkg_name

Character. Project title shown in the viewer header.

Value

Path to analytics.html invisibly.

12 Generate LLM content for undescribed targets and all functions

Description

Fills in descriptions for targets that have none and adds a plain-language explanation to each function page. Requires the ellmer package.

Usage

generate_llm_content(
  targets_data,
  function_names,
  cfg,
  llm_chat = NULL,
  provider = "openai",
  model = NULL,
  api_key = NULL,
  base_url = NULL
)

Arguments

targets_data

Output of load_targets_data().

function_names

Character vector of function names to explain.

cfg

A site config list.

llm_chat

An existing ellmer Chat object. When supplied, provider, model, api_key and base_url are ignored.

provider

Character. One of "openai", "anthropic", "ollama", or "openai_compatible". Default "openai".

model

Character. Model name. Defaults to the provider's own default when NULL.

api_key

Character. API key. When NULL the provider's standard environment variable is used.

base_url

Character. Base URL for "ollama" and "openai_compatible" providers.

Value

Invisibly NULL; called for its side effect of rewriting the generated blocks of the target and function markdown pages.

13 Generate an llms.txt file for LLM consumption

Description

Writes a plain markdown file at the package root that summarises the entire targets project in a format any LLM can read directly – no HTML parsing or indexing required. Follows the llmstxt.org convention.

Usage

generate_llms_txt(
  targets_data,
  cfg,
  project_title = "Targets project",
  project_desc = ""
)

Arguments

targets_data

Output of load_targets_data().

cfg

A site config list.

project_title

Character. Title shown at the top of the file.

project_desc

Character. One-paragraph description of the project.

Value

Path to llms.txt invisibly.

14 Initialise note stub files for targets and functions

Description

Creates empty note files under cfg$notes_targets and cfg$notes_functions for any target or function that does not already have one. Existing note files are never touched – they are entirely user-owned.

Usage

generate_notes(target_names, function_names, cfg)

Arguments

target_names

Character vector of target names.

function_names

Character vector of function names.

cfg

A site config list.

Details

Note files live at:

Value

Invisibly NULL.

15 Generate the React Flow pipeline graph page

Description

Writes reactflow_graph.html into cfg$site_path: an interactive, pan-and-zoom rendering of the target DAG. Experimental, and not part of a default document_targets() run.

Usage

generate_reactflow_graph(targets_data, cfg, pkg_name = "targets docs")

Arguments

targets_data

Output of load_targets_data().

cfg

A site config list.

pkg_name

Character. Project title.

Value

Path to reactflow_graph.html, invisibly.

16 Generate a search index for the viewer

Description

Writes search_index.json into cfg$site_path. The viewer uses this for instant full-text search across all targets and functions without any server-side infrastructure.

Usage

generate_search_index(targets_data, function_names, cfg)

Arguments

targets_data

Output of load_targets_data().

function_names

Character vector of function names from generate_all_function_pages().

cfg

A site config list.

Value

Path to search_index.json invisibly.

17 Generate the tardoc DuckDB analytics database

Description

Creates tardoc/tardoc.duckdb. Attempts each capability layer in turn; skips cleanly if the required extension is unavailable. The _meta table records which capabilities succeeded so the analytics viewer can adapt its UI accordingly.

Usage

generate_tardoc_db(targets_data, function_names, cfg, db_extensions = FALSE)

Arguments

targets_data

Output of load_targets_data().

function_names

Character vector of function names.

cfg

A site config list.

db_extensions

Logical. When TRUE, attempts to install community extensions: quackformers (BERT embeddings), faiss (ANN index), duckdb_mcp (MCP server config). Each step is wrapped in tryCatch; a failure skips that layer and the reason is recorded in the _meta_detail table. Default FALSE – core tables and FTS only.

Value

Path to tardoc.duckdb invisibly, or NULL if the duckdb package is not installed.

18 Generate a self-contained HTML viewer

Description

Writes viewer.html into cfg$site_path by loading inst/templates/viewer.html and substituting data placeholders. No R string escaping – the template is plain HTML with real JavaScript.

Usage

generate_viewer(
  targets_data,
  function_names,
  cfg,
  pkg_name = "targets docs",
  group_by = "auto"
)

Arguments

targets_data

Output of load_targets_data().

function_names

Character vector of function names.

cfg

A site config list.

pkg_name

Character. Site title shown in the viewer header.

group_by

Passed to target_groups(). When a grouping is found the overview offers a group toggle; the flat graph remains the default view.

Value

Path to viewer.html invisibly.

19 Generate the self-contained WASM analytics viewer

Description

Writes wasm_analytics.html into cfg$site_path using inst/templates/wasm_analytics.html. All pipeline data is embedded directly so the file opens as file:// with no server required.

Usage

generate_wasm_viewer(analytics_data, cfg, pkg_name = "targets docs")

Arguments

analytics_data

A list with targets, functions and edges, from .build_analytics_data().

cfg

A site config list.

pkg_name

Character. Project title.

Value

Path to wasm_analytics.html invisibly.

20 Get roxygen docs for a single function as a markdown string

Description

Nothing is written to disk. The result can be embedded directly into a vignette string, printed, or passed to any downstream function.

Usage

get_fn_docs(fn_name, file)

Arguments

fn_name

Character. Function name (without .Rd).

file

Character. Path to the .R file that defines fn_name.

Value

A markdown string, or NULL (with a warning) if not found.

21 Get upstream and downstream dependencies for a target

Description

Recursively retrieves both upstream and downstream dependencies of a target with independently controlled depths, and returns relevant edges.

Usage

get_target_network_dependencies(
  target_name,
  network_data,
  max_depth_up = Inf,
  max_depth_down = Inf,
  visited_up = NULL,
  visited_down = NULL
)

Arguments

target_name

Character. Name of the target to analyse.

network_data

List from targets::tar_network() with vertices and edges data frames.

max_depth_up

Integer. Max depth for upstream traversal. Use Inf for the full graph.

max_depth_down

Integer. Max depth for downstream traversal.

visited_up, visited_down

Internal recursion tracking vectors – leave as NULL when calling directly.

Value

A list with:

upstream

Character vector of upstream node names.

downstream

Character vector of downstream node names.

edges

Tibble of from/to edges traversed.

Examples

network_data <- list(
  vertices = data.frame(name = c("A", "B", "C"), type = "target"),
  edges    = data.frame(from = c("A", "B"), to = c("B", "C"))
)
res <- get_target_network_dependencies("B", network_data,
                                       max_depth_up = 1, max_depth_down = 1)
print(res$edges)
#>   from to
#> 1    A  B
#> 2    B  C

22 Inject Quack session credentials into the analytics template

Description

Reads analytics.html, replaces the placeholder tokens with live values, and writes _session_analytics.html – the file served at http://localhost:<port> by view_tardoc_db().

Usage

inject_quack_session(
  cfg,
  token,
  quack_port,
  has_faiss = FALSE,
  llm_enabled = FALSE
)

Arguments

cfg

A site config list.

token

Quack authentication token.

quack_port

Port the Quack server is listening on.

has_faiss

Logical. Whether the FAISS index was built.

llm_enabled

Logical. Whether an LLM chat backend is available.

Value

Path to _session_analytics.html invisibly.

23 Load all targets project data

Description

tar_manifest() and tar_network() only require _targets.R to exist – they parse the pipeline definition without needing a store. tar_meta() requires the store (i.e. the pipeline has been run at least once) and provides run history: status, timestamps, and errors. If no store is found meta is filled with NAs so all downstream functions still work.

Usage

load_targets_data(cfg, check_outdated = TRUE)

Arguments

cfg

A site config list produced by build_site_config().

check_outdated

Logical. Call targets::tar_outdated() to find which targets are stale. This is what separates "did not error last run" from "still current": a target whose upstream changed is outdated even though it never errored. It re-hashes files and dependencies, so on a large pipeline it costs a few seconds – pass FALSE to skip it and fall back to the error-only classification.

Value

A named list with:

meta

Tibble of target metadata. Status/time columns are NA if no store exists.

target_names

Character vector of stem/pattern target names.

network

List from targets::tar_network().

manifest

Tibble from targets::tar_manifest().

has_store

Logical. Whether a store was found.

outdated

Character vector of stale target names, or NULL when the check was skipped or failed.

progress

Tibble from targets::tar_progress() – what each target did on the last run – or NULL without a store.

24 Generate Rd documentation from roxygen comments (whole directory)

Description

Generate Rd documentation from roxygen comments (whole directory)

Usage

moxygenise(codepath, manpath)

Arguments

codepath

Character. Path to directory containing R source files.

manpath

Character. Path to directory where .Rd files will be saved.

Value

Invisibly NULL.

25 Generate Rd documentation from a single R script

Description

Generate Rd documentation from a single R script

Usage

moxygenise_file(file, manpath)

Arguments

file

Character. Path to a single .R source file.

manpath

Character. Path to directory where .Rd files will be saved.

Value

Invisibly NULL.

26 Summarise where a pipeline spends its time and space

Description

Summarise where a pipeline spends its time and space

Usage

pipeline_profile(targets_data, top = 10L)

Arguments

targets_data

Output of load_targets_data().

top

Integer. How many targets to rank.

Value

A list with total_seconds, total_bytes, slowest, largest, critical_path (names) and critical_seconds (their total). slowest and largest are data frames of name and the measure, already ordered.

27 Read a note file, returning empty string if not found

Description

Read a note file, returning empty string if not found

Usage

read_note(name, type = c("targets", "functions"), cfg)

Arguments

name

Character. Target or function name.

type

One of "targets" or "functions".

cfg

A site config list.

Value

Character string (possibly empty).

28 Read the project overview note

Description

The home-page counterpart of read_note(): notes/index.md, which is yours to write and is never overwritten. Returns the empty string when it is missing or still only the stub's comments.

Usage

read_overview(cfg)

Arguments

cfg

A site config list.

Value

Character string (possibly empty).

29 Read the recorded run history

Description

Read the recorded run history

Usage

read_run_history(cfg)

Arguments

cfg

A site config list.

Value

A list of snapshots, oldest first; empty when there is no history file or it cannot be parsed.

30 Append a snapshot of the current run to the history file

Description

Writes history.json in cfg$site_path: one entry per docs build, each recording every target's status, build time, runtime and size. Snapshots are only appended when something actually differs from the previous one, so repeated builds of an unchanged pipeline do not pad the file.

Usage

record_run_snapshot(targets_data, cfg, max_runs = 50L)

Arguments

targets_data

Output of load_targets_data().

cfg

A site config list.

max_runs

Integer. How many snapshots to keep; the oldest are dropped.

Value

The full history, invisibly: a list of snapshots, oldest first.

31 Score how usable a grouping is

Description

A grouping earns its place when it has a handful of groups, none of them swallowing the pipeline, and enough members per group to be worth collapsing. Everything else – one group of 400, or 400 groups of one – is a restatement of the flat list.

Usage

score_grouping(g, min_per_group = 3, max_share = 0.7)

Arguments

g

A character vector of group labels, one per target.

min_per_group

Numeric. Mean members per group below which the grouping is rejected. Six groups across seven targets is arithmetically well balanced and completely useless, which is what this catches.

max_share

Numeric. Largest share of the pipeline one group may hold. A 90/10 split is not a grouping, however good its other numbers look.

Value

A numeric score; -Inf when the grouping is unusable.

Examples

score_grouping(rep(c("a", "b", "c"), each = 5))
#> [1] 2.213147
score_grouping(rep("everything", 20))       # -Inf: one group is no grouping
#> [1] -Inf
score_grouping(as.character(1:20))          # -Inf: all singletons
#> [1] -Inf

32 Expose the tardoc database as an MCP server for Claude Desktop / Claude Code

Description

Starts the DuckDB duckdb_mcp extension server, making tardoc.duckdb queryable by any MCP-compatible LLM client. Also writes tardoc/tardoc_mcp_config.json – add its contents to your Claude Desktop configuration to make the pipeline database available as a persistent tool.

Usage

serve_tardoc_mcp(project_path = ".", site_dir = "tardoc", port = 8765)

Arguments

project_path

Path to the targets project root.

site_dir

Subfolder used in document_targets().

port

MCP server port. Default 8765.

33 Create all required output directories

Description

Create all required output directories

Usage

setup_site_dirs(cfg)

Arguments

cfg

A site config list produced by build_site_config().

Value

cfg invisibly.

34 Work out how a pipeline's targets group

Description

Tries each signal in turn and takes the first that clears the bar:

Usage

target_groups(
  targets_data,
  cfg = NULL,
  method = c("auto", "declaration", "functions", "prefix", "depth", "none"),
  min_targets = 15L,
  min_score = 1.2
)

Arguments

targets_data

Output of load_targets_data().

cfg

A site config list; needed for declaration and functions.

method

One of "auto" (score them all and pick), a specific signal, or "none". A named method is honoured even when it scores poorly – the caller asked for it; "auto" holds the bar.

min_targets

Integer. Below this many targets "auto" does not group at all. Grouping exists to manage scale, and a seven-target pipeline reads perfectly well as a list.

min_score

Numeric. The bar a signal must clear for "auto" to accept it. See score_grouping().

Details

declaration

The file each target is declared in. This is the author's own structure – how they chose to split _targets.R – and so is preferred whenever a project has more than one such file.

functions

The source file of the functions a target calls.

prefix

A common name prefix, e.g. ingest_01 and ingest_02.

depth

Bands of longest-path depth. A last resort: meaningful on a deep pipeline, arbitrary on a wide one.

Value

A list with method, score, and groups – a named character vector of group label per target name. groups is empty when no signal produced a usable grouping.

35 Open the Tier 1 static viewer (file://, no dependencies)

Description

Open the Tier 1 static viewer (file://, no dependencies)

Usage

view_tardoc(project_path = ".", site_dir = "tardoc")

Arguments

project_path

Path to the targets project root.

site_dir

Subfolder used in document_targets().

36 Open the Tier 3 server analytics viewer (Quack + optional LLM chat)

Description

Starts a DuckDB Quack server (background process via callr) and a minimal httpuv HTML server. The browser DuckDB WASM connects via Quack for all queries. When llm_chat is provided, a /chat endpoint is exposed and the Chat tab becomes active.

Usage

view_tardoc_db(
  project_path = ".",
  site_dir = "tardoc",
  port = 9000,
  quack_port = 9494,
  llm_chat = NULL,
  db_extensions = FALSE
)

Arguments

project_path

Path to the targets project root.

site_dir

Subfolder used in document_targets().

port

Port for the HTML server. Default 9000.

quack_port

Port for the Quack DuckDB server. Default 9494.

llm_chat

An ellmer Chat object for the chat interface. Any provider: ellmer::chat_openai(), ellmer::chat_ollama("llama3.2"), ellmer::chat_anthropic(), ellmer::chat_openai_compatible(base_url). NULL (default) disables chat.

db_extensions

Logical. Install community DuckDB extensions when building tardoc.duckdb: quackformers (BERT semantic search), faiss, duckdb_mcp. Slow on first run. Default FALSE.

37 Open the Tier 2 WASM analytics viewer (file://, no server needed)

Description

Opens wasm_analytics.html directly in the browser. DuckDB WASM is loaded from CDN; all pipeline data is embedded in the HTML. Provides full SQL / dplyr queries, BM25 search, and lineage – no R process required after document_targets() has run.

Usage

view_wasm_analytics(project_path = ".", site_dir = "tardoc")

Arguments

project_path

Path to the targets project root.

site_dir

Subfolder used in document_targets().