docs.openc3.com/scripts/generate_docs_from_yaml.rb
Method build_page
has 72 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def build_page(meta, page)
modifiers = {}
meta.each do |keyword, data|
page << "\n#{'#' * @level} #{keyword}\n"
if data['since']
Method build_parameters
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def build_parameters(parameters, page)
page << "| Parameter | Description | Required |\n"
page << "|-----------|-------------|----------|\n"
parameters.each do |param|
description = param['description']