$ show XRPLF/xrpl-dev-portal
The XRP Ledger Dev Portal (xrpl.org) is the official documentation website for the XRP Ledger, built with Redocly Realm and a custom React theme. It provides comprehensive developer documentation, interactive tutorials, multi-language code samples (JavaScript, Python, Go, Java), and developer tools such as a WebSocket API explorer, TOML checker, and transaction sender. The site includes a large Brand Design System (BDS) of reusable React components (ButtonGroup, TileLink, CarouselFeatured, PageGrid, etc.) and custom Markdoc tags for content authoring. Background automation includes a Python script for generating release notes from GitHub and a scheduled job to fetch amendment voting data. The portal is actively maintained with frequent blog posts, release notes, and code sample updates, though it contains legacy jQuery scripts and some hardcoded testnet endpoints that represent moderate technical drift.
The LLM identified 3 files worth highlighting for reuse:
A responsive button group that automatically adjusts emphasis based on button count (1-2+ buttons). Supports flush link mode, surface tokens, and adaptive styling. The component is self-contained, well-typed, and can be extracted into any React project with minimal modification. It demonstrates non-obvious skill in handling layout edge cases and design token propagation.
An atomic clickable tile component with variants (gray, lilac), hover animation (window-shade), arrow icon, and support for both link and button behaviors. It is fully isolated, uses BEM-style CSS classes, and can be reused as a generic card component in any documentation or marketing site.
A Python script that generates markdown release notes from GitHub commit history, PR metadata, and amendment diffs. It uses both REST and GraphQL APIs, computes SHA-256 checksums, and updates a YAML sidebar. The script is modular with helper functions (run_gh_rest, run_gh_graphql, compute_sha256, etc.) and can be adapted for any GitHub-based release cycle with minimal changes to the data extraction logic.