Expand description
HTML processing utilities
Provides HTML cleaning and conversion functions for documentation extraction.
Uses the scraper crate for robust HTML5 parsing.
Functions§
- clean_
html - Clean HTML by removing unwanted tags and their content
- extract_
documentation - Extract documentation from HTML by cleaning and converting to Markdown
- extract_
documentation_ as_ text - Extract documentation from HTML as plain text.
- extract_
documentation_ html - Extract documentation from HTML as cleaned HTML.
- extract_
search_ results - Extract search results from HTML
- html_
to_ text - Convert HTML to plain text by removing all HTML tags
- is_
item_ fallback_ page - Determine whether a resolved rustdoc page is a fallback rather than the
dedicated page for
item_path. - page_
h1_ text - Extract the collapsed text of the page’s primary
<h1>heading.