yard-yaml 0.1.1: safer UTF-8 handling for YAML documentation
The release of yard-yaml 0.1.1 enhances UTF-8 handling for YAML documentation in Ruby projects. This update improves the converter's resilience to file encodings and includes various maintenance updates for documentation and CI support. Users can now install the gem and enable the YARD plugin to generate documentation from YAML files more effectively.
- ▪yard-yaml 0.1.1 is a RubyGem that helps document YAML files alongside API docs.
- ▪The update preserves valid UTF-8 text and safely scrubs malformed UTF-8 in non-strict mode.
- ▪This release includes refreshed project tooling and CI support for better documentation maintenance.
Opening excerpt (first ~120 words) tap to expand
try { if(localStorage) { let currentUser = localStorage.getItem('current_user'); if (currentUser) { currentUser = JSON.parse(currentUser); if (currentUser.id === 561326) { document.getElementById('article-show-container').classList.add('current-user-is-article-author'); } } } } catch (e) { console.error(e); } Peter H. Boling Posted on May 25 yard-yaml 0.1.1: safer UTF-8 handling for YAML documentation #ruby #rubygems #yard #yaml yard-yaml 0.1.1 is available. yard-yaml is a RubyGem that plugs into YARD and helps Ruby projects document YAML files alongside the rest of their API docs. It can discover .yml, .yaml, and Citation File Format (.cff) files, convert them to HTML pages, and expose inline documentation tags such as @yaml and @yaml_file.
…
Excerpt limited to ~120 words for fair-use compliance. The full article is at DEV.to (Top).