module Nexmo::OAS::Renderer::Helpers::Navigation

Constants

HEADING_TAG_DEPTHS

Public Instance Methods

navigation_from_content(content:, title: nil) click to toggle source

Private Instance Methods

build_document(content) click to toggle source
# File lib/nexmo/oas/renderer/helpers/navigation.rb, line 59
def build_document(content)
  Nokogiri::HTML::DocumentFragment.parse(content)
end