<commit_before><!-- Based on https://github.com/kennethreitz/python-guide/commit/7a58e5c03ab1a21f07367937454c966505ca8af7 -->
<aside id="python27eol">
    <a href="https://pythonclock.org/" target="_blank" title="Python 2.7 EOL Countdown">
        Python 3, the new best practice, is here to stay.
        Python 2 will retire in only <time></time>!
    </a>
    <p>
      Since version 18.0.0 CherryPy has
      <a href="https://python3statement.org" target="_blank">dropped
      support for Python 2</a>,
      but there's still LTS branch for v17 supporting hybrid
      Python 2 and 3 code, which will get bugfixes and security updates.
    </p>
</aside>

<!-- Python 2 EOL Clock -->
<style type="text/css">
  body {
    margin-top: 8em;
  }

  #python27eol {
    position: absolute;
    top: 0;
    left: 0; right: 0;
    height:  auto;
    text-align: center;
    color: white;
    background-color: black;
    font-size: larger;
  }

  #python27eol * {
    color: white;
    background-color: black;
  }

  #python27eol>a {
    display: block;
  }

  #python27eol>p {
    padding: 0 100px;
  }

  @media screen and (max-width: 875px) {
    #python27eol p {
      padding: 0;
    }

    div.body {
      min-width: 100%;
    }
  }
</style>

<script src="//cdnjs.cloudflare.com/ajax/libs/moment.js/2.18.1/moment.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/countdown/2.6.0/countdown.min.js"></script>
<script src="//cdn.rawgit.com/icambron/moment-countdown/master/dist/moment-countdown.min.js"></script>

<script>
  var py2_death = moment('2020-04-12').toDate()

  countdown(py2_death, update_time_left, ~(countdown.SECONDS | countdown.MILLISECONDS))

  function update_time_left(moments_left, timer_id) {
    document.querySelector('#python27eol time').innerHTML = moments_left.toHTML("em")
  }
</script>
<commit_msg>Fix undersized sidebar in docs under mobile<commit_after><!-- Based on https://github.com/kennethreitz/python-guide/commit/7a58e5c03ab1a21f07367937454c966505ca8af7 -->
<aside id="python27eol">
    <a href="https://pythonclock.org/" target="_blank" title="Python 2.7 EOL Countdown">
        Python 3, the new best practice, is here to stay.
        Python 2 will retire in only <time></time>!
    </a>
    <p>
      Since version 18.0.0 CherryPy has
      <a href="https://python3statement.org" target="_blank">dropped
      support for Python 2</a>,
      but there's still LTS branch for v17 supporting hybrid
      Python 2 and 3 code, which will get bugfixes and security updates.
    </p>
</aside>

<!-- Python 2 EOL Clock -->
<style type="text/css">
  body {
    margin-top: 8em;
  }

  #python27eol {
    position: absolute;
    top: 0;
    left: 0; right: 0;
    height:  auto;
    text-align: center;
    color: white;
    background-color: black;
    font-size: larger;
  }

  #python27eol * {
    color: white;
    background-color: black;
  }

  #python27eol>a {
    display: block;
  }

  #python27eol>p {
    padding: 0 100px;
  }

  @media screen and (max-width: 875px) {
    #python27eol p {
      padding: 0 !important;
    }

    body {
      margin: inherit !important;
      padding: inherit !important;
    }

    div.body {
      min-width: inherit !important;
      width: 100% !important;
    }

    div.documentwrapper {
      margin: inherit !important;
    }

    div.bodywrapper {
      margin: 20px 30px !important;
      padding-top: 190px !important;
    }

    div.sphinxsidebar {
      margin: inherit !important;
      padding: inherit !important;
      width: 100% !important;
    }
  }
</style>

<script src="//cdnjs.cloudflare.com/ajax/libs/moment.js/2.18.1/moment.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/countdown/2.6.0/countdown.min.js"></script>
<script src="//cdn.rawgit.com/icambron/moment-countdown/master/dist/moment-countdown.min.js"></script>

<script>
  var py2_death = moment('2020-04-12').toDate()

  countdown(py2_death, update_time_left, ~(countdown.SECONDS | countdown.MILLISECONDS))

  function update_time_left(moments_left, timer_id) {
    document.querySelector('#python27eol time').innerHTML = moments_left.toHTML("em")
  }
</script>

{'fraction_non_alphanumeric': 0.1419292759201347, 'fraction_numerical': 0.045224921818619195, 'mean_word_length': 2.9789473684210526, 'pattern_counts': {'":': 0, '<': 47, '<?xml version=': 0, '>': 51, 'https://': 6, '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': '4207420', 'n_tokens_mistral': 1617, 'n_tokens_neox': 1454, 'n_words': 322}