Client for fetching and parsing hexdocs.pm content.
HexDocs has no structured API. This module:
- Fetches the search-data JSON (used by the docs JS search)
- Falls back to scraping the sidebar HTML for module listings
- Converts individual module pages from HTML to markdown
Summary
Functions
Get documentation for a specific module or function.
Get the module listing for a package (table of contents).
Get the README content for a package, converted to markdown.
Convert HTML content to a simplified markdown representation.
Search within a package's documentation by name.
Functions
Get documentation for a specific module or function.
Get the module listing for a package (table of contents).
Get the README content for a package, converted to markdown.
Convert HTML content to a simplified markdown representation.
Targets the #content area of hexdocs pages and strips navigation,
search, and footer chrome.
Search within a package's documentation by name.