% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/documentation_metrics.R
\name{get_rd_sections}
\alias{get_rd_sections}
\title{Get all Rd sections by tag}
\usage{
get_rd_sections(rd, section)
}
\arguments{
\item{rd}{An Rd object (a nested list with "Rd_tag" attributes on nodes).}

\item{section}{Section name without leading backslash (e.g., "alias", "examples").}
}
\value{
A list of Rd nodes matching the section (possibly empty).
}
\description{
Recursively collects all nodes whose `Rd_tag` matches a given section
name, e.g., "alias", "examples", "example", "name".
}
\keyword{internal}
