<commit_before>-# locals: nodes, depth, active

- if nodes
  - nodes.reject{|n| n.options.suppress_in_nav}.each do |node|
    %li
      -# TODO: Handle nav suppression at any level of the hierarchy (not just leaf nodes)
      - klass = 'is-active current' if !active.nil? && (node == active || (active.options.suppress_in_nav && node == active.parent))
      %a{ href: public_node_path(node), class: klass }
        = node.name
      - if depth > 1 && !node.children.published.empty?
        %ul
          = render partial: 'navbar_part', locals: { nodes: node.children.published, depth: depth - 1, active: active }<commit_msg>update markup to match documentation for 1.6'<commit_after>-# locals: nodes, depth, active

- if nodes
  - nodes.reject{|n| n.options.suppress_in_nav}.each do |node|
    %li
      -# TODO: Handle nav suppression at any level of the hierarchy (not just leaf nodes)
      - klass = 'is-active current' if !active.nil? && (node == active || (active.options.suppress_in_nav && node == active.parent))
      %a{ href: public_node_path(node), class: klass }
        = node.name
      - if depth > 1 && node.children.published.present?
        %ul
          = render partial: 'navbar_part', locals: { nodes: node.children.published, depth: depth - 1, active: active }
{'fraction_non_alphanumeric': 0.13597513597513597, 'fraction_numerical': 0.004662004662004662, 'mean_word_length': 3.050314465408805, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2357105', 'n_tokens_mistral': 403, 'n_tokens_neox': 392, 'n_words': 122}