Skip to content
  • Jason Plum's avatar
    scripts: add version mapping automation v1 · bc1b1f3e
    Jason Plum authored and DJ Mountney's avatar DJ Mountney committed
    Add `class VersionMappingDoc` to `manage_version.rb`
    
    Built around RDoc, this class handles the updating of the version
    mapping table in `doc/installation/version_mappings.md`.
    
    Process:
    
    - load `version_mappings.md`
    - locate and store a copy of the table (RDoc::Markup::Paragraph)
    - allow inserting a version to the top, if not already present
    - write back to `version_mappings.md`
    
    NOTE: currently, the output document is very poorly transformed.
    RDoc::Markup::ToMarkdown butchers the output severely.
    
    Missing:
    
    - table entry ordering
    - proper output formatting
    
    [ci skip]
    bc1b1f3e