<commit_before>{% macro navigation(section) -%}
  <nav id="document-navigation">
    <ul>
      <li class="has-children">
        <div class="section{{ ' active' if category == 'design' }}">
          <h2 class="title nav-title">{{ _('Design') }}</h2>
          <ol>
            <li>
              <a href="{{ url('ecosystem.design_concept') }}"
                 {%- if section == 'design_concept' %}
                 class="selected"
                 {% endif %}>
                {{- _('Concept: A great app') }}</a>
            </li>
            <li>
              <a href="{{ url('ecosystem.design_fundamentals') }}"
                 {%- if section == 'design_fundamentals' %}
                 class="selected"
                 {% endif %}>
                {{- _('Design Fundamentals') }}</a>
            </li>
            <li class="has-children{{ ' active' if section in ('design_ui',
                                                               'design_patterns') }}">
              <h2 class="subtitle nav-title">
                <a href="{{ url('ecosystem.design_ui') }}">
                  {{- _('UI Guidelines') }}</a>
              </h2>
              <ol>
                <li>
                  <a href="//developer.mozilla.org/docs/Web_Development/Mobile/Responsive_design"
                     rel="external">
                    {{- _('Intro to Responsive Design') }}</a>
                </li>
                <li>
                  <a href="{{ url('ecosystem.design_patterns') }}"
                     {%- if section == 'design_patterns' %}
                     class="selected"
                     {% endif %}>
                    {{- _('Responsive Navigation Patterns') }}</a>
                </li>
                <li>
                  <a href="//developer.mozilla.org/en-US/docs/Apps/UI-Guidelines"
                     rel="external">
                    {{- _('UI Guidelines for Firefox OS') }}</a>
                </li>
              </ol>
            </li>
          </ol>
        </div>
        <div class="section{{ ' active' if category == 'build' }}">
          <h2 class="title nav-title">{{ _('Build') }}</h2>
          <ol>
            <li>
              <a href="{{ url('ecosystem.build_quick') }}"
                {%- if section == 'build_quick' %}
                class="selected"
                {% endif %}>
                {{- _('Quick Start') }}</a>
            </li>
            <li>
              <a href="{{ url('ecosystem.build_intro') }}"
                {%- if section == 'build_intro' %}
                class="selected"
                {% endif %}>
                {{- _('Intro to Open Web apps') }}</a>
            </li>
            <li>
              <a href="{{ url('ecosystem.build_ffos') }}"
                 {%- if section == 'firefox_os' %}
                 class="selected"
                 {% endif %}>
                {{- _('Intro to Firefox OS') }}</a>
            </li>
            <li class="has-children{{ ' active' if section in ('build_reference',
                                                               'chrono',
                                                               'face_value',
                                                               'podcasts',
                                                               'roller',
                                                               'webfighter') }}">
              <h2 class="subtitle nav-title">
                <a href="{{ url('ecosystem.build_reference') }}">
                  {{- _('Reference Apps') }}</a>
              </h2>
              <ol>
                <li>
                  <a href="{{ url('ecosystem.apps_documentation',
                     page='chrono') }}"
                     {%- if section == 'chrono' %}
                     class="selected"
                     {% endif %}>
                    {{- _('Chrono') }}</a>
                </li>
                <li>
                  <a href="{{ url('ecosystem.apps_documentation',
                     page='face_value') }}"
                     {%- if section == 'face_value' %}
                     class="selected"<commit_msg>fixed navigation display; bug 881115<commit_after>{% macro navigation(section) -%}
  <nav id="document-navigation">
    <ul>
      <li class="has-children">
        <div class="section{{ ' active' if category == 'design' }}">
          <h2 class="title nav-title">{{ _('Design') }}</h2>
          <ol>
            <li>
              <a href="{{ url('ecosystem.design_concept') }}"
                 {%- if section == 'design_concept' %}
                 class="selected"
                 {% endif %}>
                {{- _('Concept: A great app') }}</a>
            </li>
            <li>
              <a href="{{ url('ecosystem.design_fundamentals') }}"
                 {%- if section == 'design_fundamentals' %}
                 class="selected"
                 {% endif %}>
                {{- _('Design Fundamentals') }}</a>
            </li>
            <li class="has-children{{ ' active' if section in ('design_ui',
                                                               'design_patterns') }}">
              <h2 class="subtitle nav-title">
                <a href="{{ url('ecosystem.design_ui') }}">
                  {{- _('UI Guidelines') }}</a>
              </h2>
              <ol>
                <li>
                  <a href="//developer.mozilla.org/docs/Web_Development/Mobile/Responsive_design"
                     rel="external">
                    {{- _('Intro to Responsive Design') }}</a>
                </li>
                <li>
                  <a href="{{ url('ecosystem.design_patterns') }}"
                     {%- if section == 'design_patterns' %}
                     class="selected"
                     {% endif %}>
                    {{- _('Responsive Navigation Patterns') }}</a>
                </li>
                <li>
                  <a href="//developer.mozilla.org/en-US/docs/Apps/UI-Guidelines"
                     rel="external">
                    {{- _('UI Guidelines for Firefox OS') }}</a>
                </li>
              </ol>
            </li>
          </ol>
        </div>
        <div class="section{{ ' active' if category == 'build' }}">
          <h2 class="title nav-title">{{ _('Build') }}</h2>
          <ol>
            <li>
              <a href="{{ url('ecosystem.build_quick') }}"
                {%- if section == 'build_quick' %}
                class="selected"
                {% endif %}>
                {{- _('Quick Start') }}</a>
            </li>
            <li>
              <a href="{{ url('ecosystem.build_intro') }}"
                {%- if section == 'build_intro' %}
                class="selected"
                {% endif %}>
                {{- _('Intro to Open Web apps') }}</a>
            </li>
            <li>
              <a href="{{ url('ecosystem.build_ffos') }}"
                 {%- if section == 'firefox_os' %}
                 class="selected"
                 {% endif %}>
                {{- _('Intro to Firefox OS') }}</a>
            </li>
            <li class="has-children{{ ' active' if section in ('build_reference',
                                                               'chrono',
                                                               'face_value',
                                                               'generalnotes',
                                                               'podcasts',
                                                               'roller',
                                                               'webfighter') }}">
              <h2 class="subtitle nav-title">
                <a href="{{ url('ecosystem.build_reference') }}">
                  {{- _('Reference Apps') }}</a>
              </h2>
              <ol>
                <li>
                  <a href="{{ url('ecosystem.apps_documentation',
                     page='chrono') }}"
                     {%- if section == 'chrono' %}
                     class="selected"
                     {% endif %}>
                    {{- _('Chrono') }}</a>
                </li>
                <li>
                  <a href="{{ url('ecosystem.apps_documentation',
                     page='face_value') }}"
                     {%- if section == 'face_value' %}
                     class="selected"
{'fraction_non_alphanumeric': 0.15804529201430273, 'fraction_numerical': 0.002622169249106079, 'mean_word_length': 0.9554882311815428, 'pattern_counts': {'":': 0, '<': 133, '<?xml version=': 0, '>': 131, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 28, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4220492', 'n_tokens_mistral': 2223, 'n_tokens_neox': 2024, 'n_words': 418}