in lib/helpers/generic.rb [104:116]
def section_exists?(docs, path)
docs.each do |doc|
return true if doc[:doc_url] == path
sub_docs = doc[:docs]
next unless sub_docs
return true if section_exists?(sub_docs, path)
end
false
end