<commit_before><div class="sidebar--toggle" id="sidebar--toggle"><span class="icon search"></span> &nbsp;Browse InfluxDB documentation</div>
<div class="sidebar--mask-container" id="sidebar--mask-container">
  <div class="sidebar--mask" id="sidebar--mask"></div>
</div>
<aside class="sidebar" id="sidebar">
  <section class="sidebar--section">
    {{ partial "support-ad.html" . }}
  </section>
  {{ $currentNode := . }}
  {{ if (eq $currentNode.RelPermalink "/influxdb/") }}
    {{ range (index $.Site.Menus .Site.Data.default_versions.influxdb) }}
      <section class="sidebar--section">
        <div class="sidebar--section-title">
          <a class="{{ if or ($currentNode.IsMenuCurrent $currentNode.Section .) ($currentNode.HasMenuCurrent $currentNode.Section .) }} active{{end}}" href="{{ .URL }}">{{ .Name }}</a>
        </div>
        {{ if .HasChildren }}
            {{ range .Children }}
            <a class="sidebar--page{{ if or ($currentNode.IsMenuCurrent $currentNode.Section .) ($currentNode.HasMenuCurrent $currentNode.Section .) }} active{{end}}" href="{{ .URL }}">{{ .Name }}</a>
            {{ end }}
        {{end}}
      </section>
    {{end}}
  {{end}}
  {{ range .Site.Menus.influxdb }}
    {{ if (in $currentNode.Permalink .URL) }}
      {{ range (index $.Site.Menus .Identifier) }}
        <section class="sidebar--section">
          <div class="sidebar--section-title">
            <a class="{{ if or ($currentNode.IsMenuCurrent $currentNode.Section .) ($currentNode.HasMenuCurrent $currentNode.Section .) }} active{{end}}" href="{{ .URL }}">{{ .Name }}</a>
          </div>
          {{ if .HasChildren }}
            {{ range .Children }}
              <a class="sidebar--page{{ if or ($currentNode.IsMenuCurrent $currentNode.Section .) ($currentNode.HasMenuCurrent $currentNode.Section .) }} active{{end}}" href="{{ .URL }}" {{ if eq .Identifier "download" }} target="_blank" {{ end }}>{{ .Name }}</a>
            {{ end }}
            {{ end }}
          {{end}}
        </section>
      {{end}}
    {{end}}
  {{end}}
  <section class="sidebar--section">
    <div class="sidebar--section-title">
      <a href="/influxdb/">InfluxDB versions</a>
    </div>
    {{ range .Site.Menus.influxdb }}
    <a class="sidebar--page{{ if or ($currentNode.IsMenuCurrent $currentNode.Section .) ($currentNode.HasMenuCurrent $currentNode.Section .) }} active{{end}}" href="{{ .URL }}">{{ .Name }}</a>
    {{end}}
  </section>
</aside>
<commit_msg>Fix sidebar error<commit_after><div class="sidebar--toggle" id="sidebar--toggle"><span class="icon search"></span> &nbsp;Browse InfluxDB documentation</div>
<div class="sidebar--mask-container" id="sidebar--mask-container">
  <div class="sidebar--mask" id="sidebar--mask"></div>
</div>
<aside class="sidebar" id="sidebar">
  <section class="sidebar--section">
    {{ partial "support-ad.html" . }}
  </section>
  {{ $currentNode := . }}
  {{ if (eq $currentNode.RelPermalink "/influxdb/") }}
    {{ range (index $.Site.Menus .Site.Data.default_versions.influxdb) }}
      <section class="sidebar--section">
        <div class="sidebar--section-title">
          <a class="{{ if or ($currentNode.IsMenuCurrent $currentNode.Section .) ($currentNode.HasMenuCurrent $currentNode.Section .) }} active{{end}}" href="{{ .URL }}">{{ .Name }}</a>
        </div>
        {{ if .HasChildren }}
            {{ range .Children }}
            <a class="sidebar--page{{ if or ($currentNode.IsMenuCurrent $currentNode.Section .) ($currentNode.HasMenuCurrent $currentNode.Section .) }} active{{end}}" href="{{ .URL }}">{{ .Name }}</a>
            {{ end }}
        {{end}}
      </section>
    {{end}}
  {{end}}
  {{ range .Site.Menus.influxdb }}
    {{ if (in $currentNode.Permalink .URL) }}
      {{ range (index $.Site.Menus .Identifier) }}
        <section class="sidebar--section">
          <div class="sidebar--section-title">
            <a class="{{ if or ($currentNode.IsMenuCurrent $currentNode.Section .) ($currentNode.HasMenuCurrent $currentNode.Section .) }} active{{end}}" href="{{ .URL }}">{{ .Name }}</a>
          </div>
          {{ if .HasChildren }}
            {{ range .Children }}
                        {{ if in .URL "internal_statistics" }}

                        {{ else }}
              <a class="sidebar--page{{ if or ($currentNode.IsMenuCurrent $currentNode.Section .) ($currentNode.HasMenuCurrent $currentNode.Section .) }} active{{end}}" href="{{ .URL }}" {{ if eq .Identifier "download" }} target="blank" {{ end }}>{{ .Name }}</a>
            {{ end }}
            {{ end }}
          {{end}}
        </section>
      {{end}}
    {{end}}
  {{end}}
  <section class="sidebar--section">
    <div class="sidebar--section-title">
      <a href="/influxdb/">InfluxDB versions</a>
    </div>
    {{ range .Site.Menus.influxdb }}
    <a class="sidebar--page{{ if or ($currentNode.IsMenuCurrent $currentNode.Section .) ($currentNode.HasMenuCurrent $currentNode.Section .) }} active{{end}}" href="{{ .URL }}">{{ .Name }}</a>
    {{end}}
  </section>
</aside>

{'fraction_non_alphanumeric': 0.2118745035742653, 'fraction_numerical': 0.0, 'mean_word_length': 2.839176829268293, 'pattern_counts': {'":': 0, '<': 75, '<?xml version=': 0, '>': 75, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7542865', 'n_tokens_mistral': 1524, 'n_tokens_neox': 1507, 'n_words': 319}