Skip to main content

query_section

Function query_section 

Source
pub async fn query_section(
    spec_anchor: &str,
    pr: Option<&PrOpts>,
) -> Result<QueryResult>
Expand description

Query a specific section in a specification

Returns complete section information including navigation, children, and cross-references.

§Arguments

  • spec_anchor - Format: “SPEC#anchor” (e.g., “HTML#navigate”)
  • pr - Optional PR options (number + force_update) to query against a WHATWG PR preview