% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/documentation_metrics.R
\name{get_rd_section}
\alias{get_rd_section}
\title{Get the first Rd section by tag}
\usage{
get_rd_section(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{
The first matching Rd node or `NULL` if not found.
}
\description{
Depth-first search returning the first node whose `Rd_tag` equals
`paste0("\\\\", section)`.
}
\keyword{internal}
