<commit_before><header local-class="header {{if @hero "hero"}}">
  <div local-class="header-inner">
    <LinkTo @route="index" local-class="index-link">
      <img src="/assets/Cargo-Logo-Small.png" role="presentation" alt="" local-class="logo">
      <h1>crates.io</h1>
    </LinkTo>

    <div local-class="search-form">
      <h1 local-class="hero-title">
        The Rust community&rsquo;s crate registry
      </h1>

      <SearchForm @size={{if @hero "big"}} />
    </div>

    <nav local-class='nav'>
      <LinkTo @route="crates" @query={{hash letter=null page=1}} data-test-all-crates-link>
        Browse All Crates
      </LinkTo>
      <span local-class="sep">|</span>
      <Dropdown as |dd|>
        <dd.Trigger local-class="dropdown-button">
          Docs
        </dd.Trigger>

        <dd.Menu local-class="doc-links" as |menu|>
          <menu.Item><a href='https://doc.rust-lang.org/cargo/getting-started/'>Getting Started</a></menu.Item>
          <menu.Item><a href='https://doc.rust-lang.org/cargo/guide/'>Guide</a></menu.Item>
          <menu.Item><a href='https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html'>Specifying Dependencies</a></menu.Item>
          <menu.Item><a href='https://doc.rust-lang.org/cargo/reference/publishing.html'>Publishing on crates.io</a></menu.Item>
          <menu.Item><a href='https://doc.rust-lang.org/cargo/faq.html'>FAQ</a></menu.Item>
          <menu.Item><a href='https://doc.rust-lang.org/cargo/reference/manifest.html'>Cargo.toml Format</a></menu.Item>
          <menu.Item><a href='https://doc.rust-lang.org/cargo/reference/build-scripts.html'>Build Scripts</a></menu.Item>
          <menu.Item><a href='https://doc.rust-lang.org/cargo/reference/config.html'>Configuration</a></menu.Item>
          <menu.Item><a href='https://doc.rust-lang.org/cargo/reference/pkgid-spec.html'>Package ID specs</a></menu.Item>
          <menu.Item><a href='https://doc.rust-lang.org/cargo/reference/environment-variables.html'>Environment Variables</a></menu.Item>
          <menu.Item><a href='https://doc.rust-lang.org/cargo/reference/source-replacement.html'>Source Replacement</a></menu.Item>
          <menu.Item><a href='https://doc.rust-lang.org/cargo/reference/external-tools.html'>External Tools</a></menu.Item>
          <menu.Item><LinkTo @route="policies">Policies</LinkTo></menu.Item>
          <menu.Item><LinkTo @route="category-slugs">List of category slugs</LinkTo></menu.Item>
        </dd.Menu>
      </Dropdown>
      <span local-class="sep">|</span>
      {{#if this.session.currentUser}}
        <Dropdown data-test-user-menu as |dd|>
          <dd.Trigger local-class="dropdown-button" data-test-toggle>
            <UserAvatar @user={{this.session.currentUser}} @size="small" local-class="avatar" data-test-avatar />
            {{ this.session.currentUser.name }}
          </dd.Trigger>

          <dd.Menu local-class="current-user-links" as |menu|>
            <menu.Item><LinkTo @route="dashboard">Dashboard</LinkTo></menu.Item>
            <menu.Item><LinkTo @route="settings">Account Settings</LinkTo></menu.Item>
            <menu.Item><LinkTo @route="me.pending-invites">Owner Invites</LinkTo></menu.Item>
            <menu.Item local-class="menu-item-with-separator">
              <button
                type="button"
                disabled={{this.session.logoutTask.isRunning}}
                local-class="logout-menu-item"
                data-test-logout-button
                {{on "click" (perform this.session.logoutTask)}}<commit_msg>Header: Remove obsolete "Docs" dropdown<commit_after><header local-class="header {{if @hero "hero"}}">
  <div local-class="header-inner">
    <LinkTo @route="index" local-class="index-link">
      <img src="/assets/Cargo-Logo-Small.png" role="presentation" alt="" local-class="logo">
      <h1>crates.io</h1>
    </LinkTo>

    <div local-class="search-form">
      <h1 local-class="hero-title">
        The Rust community&rsquo;s crate registry
      </h1>

      <SearchForm @size={{if @hero "big"}} />
    </div>

    <nav local-class='nav'>
      <LinkTo @route="crates" @query={{hash letter=null page=1}} data-test-all-crates-link>
        Browse All Crates
      </LinkTo>
      <span local-class="sep">|</span>
      {{#if this.session.currentUser}}
        <Dropdown data-test-user-menu as |dd|>
          <dd.Trigger local-class="dropdown-button" data-test-toggle>
            <UserAvatar @user={{this.session.currentUser}} @size="small" local-class="avatar" data-test-avatar />
            {{ this.session.currentUser.name }}
          </dd.Trigger>

          <dd.Menu local-class="current-user-links" as |menu|>
            <menu.Item><LinkTo @route="dashboard">Dashboard</LinkTo></menu.Item>
            <menu.Item><LinkTo @route="settings">Account Settings</LinkTo></menu.Item>
            <menu.Item><LinkTo @route="me.pending-invites">Owner Invites</LinkTo></menu.Item>
            <menu.Item local-class="menu-item-with-separator">
              <button
                type="button"
                disabled={{this.session.logoutTask.isRunning}}
                local-class="logout-menu-item"
                data-test-logout-button
                {{on "click" (perform this.session.logoutTask)}}
{'fraction_non_alphanumeric': 0.18418551606158526, 'fraction_numerical': 0.0019007793195210036, 'mean_word_length': 2.7828900071890725, 'pattern_counts': {'":': 0, '<': 139, '<?xml version=': 0, '>': 137, 'https://': 12, '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': '2611055', 'n_tokens_mistral': 1709, 'n_tokens_neox': 1676, 'n_words': 230}