<commit_before>.sidebar-container {
    overflow-x: hidden;
    overflow-y: auto;
    padding: 15px 15px 0 15px;

    &::-webkit-scrollbar {
        background: transparent;
        height: 4px;
        width: 4px;
    }

    &::-webkit-scrollbar-track:vertical {
        background: transparent;
    }

    &::-webkit-scrollbar-thumb:vertical {
        background: fadeout(black, 75%);
        border-radius: 1px;
    }

    .github-link {
        border-bottom: solid 1px shade(white, 18%);
        display: block;
        margin-bottom: 20px;
        padding-bottom: 20px;
        text-align: center;
        .transition(color 0.1s ease-in-out);

        .icon {
            color: @text-color;
            display: block;
            font-size: 36px;
            margin-right: 8px;
            text-align: center;
            .transition(color 0.1s ease-in-out);
            vertical-align: middle;
        }

        .link-text {
          display: inline-block;
          vertical-align: middle;
        }

        .titillium();
        text-decoration: none;

        &:hover,
        &:hover .icon {
            color: @link-color-hover;
        }

        @media (min-width: 1150px) {
            text-align: left;

            .icon {
                display: inline-block;
                font-size: 26px;
                text-align: left;
            }
        }
    }

    .toctree-wrapper > ul {
        list-style-type: none;
        margin: 0;
        overflow: hidden;
        padding: 0;
        padding-left: 20px;
        width: 100%;

        & > li.toctree-l1:first-of-type a {
            .titillium('bold');
            text-transform: uppercase;
        }

        li {
            margin: 0;

            a {
                .titillium();
                color: @text-color;
                display: block;
                font-size: 16px;
                padding: 0.4em 0.5em;
                text-decoration: none;

                &.active {
                    background: fadeout(@link-color, 80%);
                    box-shadow: inset 3px 0px 0px 0px @link-color;
                }

                &:hover {
                    color: @link-color;
                }
            }

            & + li {
                margin-top: 0px;
            }

            ul {
                list-style-type: none;
                margin: 0;
                padding: 0;
                padding-left: 20px;

                li a {
                    padding-left: 20px;
                }
            }
        }
    }

    .collapse-target {
        cursor: pointer;
        display: inline-block;
        height: 12px;
        left: -12px;
        position: absolute;
        text-align: center;
        top: 12px;
        width: 12px;
    }

    li > ul {
        max-height: 0px;
        overflow-y: hidden;
    }

    li.open {
        & > .collapse-target {
            transform: rotate(90deg);
        }

        & > ul {
            max-height: initial;
        }
    }

    @media (min-width: 769px) {
        &.sticky {
            @sticky-width: (1 / 4 * 100);
            .sticky();
            top: 0;
            width: ~"calc(@{sticky-width}%)";
        }
    }

    @media (min-width: 1025px) {
        padding: 15px 20px 0 20px;

        &.sticky {
            @sticky-width: (1/4 * 100);
            width: ~"calc(@{sticky-width}%)";
        }
    }
}

.show-section-nav {
    .docs-section-nav {
        .transform(translate(0, 0));
        .transform(translate3d(0, 0, 0));
    }
}
<commit_msg>handle both wrapped and un-wrapped TOCs<commit_after>.sidebar-container {
    overflow-x: hidden;
    overflow-y: auto;
    padding: 15px 15px 0 15px;

    &::-webkit-scrollbar {
        background: transparent;
        height: 4px;
        width: 4px;
    }

    &::-webkit-scrollbar-track:vertical {
        background: transparent;
    }

    &::-webkit-scrollbar-thumb:vertical {
        background: fadeout(black, 75%);
        border-radius: 1px;
    }

    .github-link {
        border-bottom: solid 1px shade(white, 18%);
        display: block;
        margin-bottom: 20px;
        padding-bottom: 20px;
        text-align: center;
        .transition(color 0.1s ease-in-out);

        .icon {
            color: @text-color;
            display: block;
            font-size: 36px;
            margin-right: 8px;
            text-align: center;
            .transition(color 0.1s ease-in-out);
            vertical-align: middle;
        }

        .link-text {
          display: inline-block;
          vertical-align: middle;
        }

        .titillium();
        text-decoration: none;

        &:hover,
        &:hover .icon {
            color: @link-color-hover;
        }

        @media (min-width: 1150px) {
            text-align: left;

            .icon {
                display: inline-block;
                font-size: 26px;
                text-align: left;
            }
        }
    }

    & > ul, .toctree-wrapper > ul {
        list-style-type: none;
        margin: 0;
        overflow: hidden;
        padding: 0;
        padding-left: 20px;
        width: 100%;

        & > li.toctree-l1:first-of-type a {
            .titillium('bold');
            text-transform: uppercase;
        }

        li {
            margin: 0;

            a {
                .titillium();
                color: @text-color;
                display: block;
                font-size: 16px;
                padding: 0.4em 0.5em;
                text-decoration: none;

                &.active {
                    background: fadeout(@link-color, 80%);
                    box-shadow: inset 3px 0px 0px 0px @link-color;
                }

                &:hover {
                    color: @link-color;
                }
            }

            & + li {
                margin-top: 0px;
            }

            ul {
                list-style-type: none;
                margin: 0;
                padding: 0;
                padding-left: 20px;

                li a {
                    padding-left: 20px;
                }
            }
        }
    }

    .collapse-target {
        cursor: pointer;
        display: inline-block;
        height: 12px;
        left: -12px;
        position: absolute;
        text-align: center;
        top: 12px;
        width: 12px;
    }

    li > ul {
        max-height: 0px;
        overflow-y: hidden;
    }

    li.open {
        & > .collapse-target {
            transform: rotate(90deg);
        }

        & > ul {
            max-height: initial;
        }
    }

    @media (min-width: 769px) {
        &.sticky {
            @sticky-width: (1 / 4 * 100);
            .sticky();
            top: 0;
            width: ~"calc(@{sticky-width}%)";
        }
    }

    @media (min-width: 1025px) {
        padding: 15px 20px 0 20px;

        &.sticky {
            @sticky-width: (1/4 * 100);
            width: ~"calc(@{sticky-width}%)";
        }
    }
}

.show-section-nav {
    .docs-section-nav {
        .transform(translate(0, 0));
        .transform(translate3d(0, 0, 0));
    }
}

{'fraction_non_alphanumeric': 0.12092238470191226, 'fraction_numerical': 0.028683914510686165, 'mean_word_length': 1.0786090005844535, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 14, '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': '1785562', 'n_tokens_mistral': 2389, 'n_tokens_neox': 2096, 'n_words': 432}