Skip to contents

Detect, rename, and resolve legacy document paths

Usage

migrate_legacy_docs(subdir, doc_type, rerender_skeleton = FALSE)

Arguments

subdir

Path. Directory where template files are located.

doc_type

String. Document type.

Options: "figures", "tables"

rerender_skeleton

Logical. TRUE/FALSE; Indicate if rerendering is active.

Default: FALSE

Value

A list containing using_legacy (logical), legacy_name, current_name, and resolved_name.