<commit_before><template>
  <div>
    <core-drawer />

    <core-ad />

    <v-content>
      <core-page />
    </v-content>

    <core-fab />

    <core-snackbar />
  </div>
</template>

<script>
  // Prism
  import 'prismjs'
  import 'prismjs/components/prism-bash.js'
  import 'prismjs/components/prism-css.js'
  import 'prismjs/components/prism-javascript.js'
  import 'prismjs/components/prism-json.js'
  import 'prismjs/components/prism-stylus.js'
  import 'prismjs/components/prism-typescript.js'

  // Utilities
  import kebabCase from 'lodash/kebabCase'
  import camelCase from 'lodash/camelCase'
  import upperFirst from 'lodash/upperFirst'

  async function load ({ route, store }) {
    const namespace = kebabCase(route.params.namespace)
    const page = upperFirst(camelCase(route.params.page))

    store.commit('documentation/setStructure', null)

    let structure
    try {
      structure = (await import(
        /* webpackChunkName: "pages" */
        `@/data/pages/${namespace}/${page}.json`
      )).default
    } catch (err) {
      structure = false
    }

    store.commit('documentation/setStructure', structure)
  }

  export default {
    name: 'Documentation',

    asyncData: load,

    watch: {
      '$route.path' () {
        this.load({
          store: this.$store,
          route: this.$route
        })
      }
    },

    methods: {
      load
    }
  }
</script>

<style scoped>
  @media (min-width: 1264px) {
    .v-content:not([data-booted="true"]) {
      padding-left: 300px !important;
      padding-right: 210px !important;
    }
  }
</style><commit_msg>docs(page): fix lint error<commit_after><template>
  <div>
    <core-drawer />

    <core-ad />

    <v-content>
      <core-page />
    </v-content>

    <core-fab />

    <core-snackbar />
  </div>
</template>

<script>
  // Prism
  import 'prismjs'
  import 'prismjs/components/prism-bash.js'
  import 'prismjs/components/prism-css.js'
  import 'prismjs/components/prism-javascript.js'
  import 'prismjs/components/prism-json.js'
  import 'prismjs/components/prism-stylus.js'
  import 'prismjs/components/prism-typescript.js'

  // Utilities
  import kebabCase from 'lodash/kebabCase'
  import camelCase from 'lodash/camelCase'
  import upperFirst from 'lodash/upperFirst'

  async function load ({ route, store }) {
    const namespace = kebabCase(route.params.namespace)
    const page = upperFirst(camelCase(route.params.page))

    store.commit('documentation/setStructure', null)

    let structure
    try {
      structure = (await import(
        /* webpackChunkName: "pages" */
        `@/data/pages/${namespace}/${page}.json`
      )).default
    } catch (err) {
      structure = false
    }

    store.commit('documentation/setStructure', structure)
  }

  export default {
    name: 'Documentation',

    watch: {
      '$route.path' () {
        this.load({
          store: this.$store,
          route: this.$route
        })
      }
    },

    asyncData: load,

    methods: {
      load
    }
  }
</script>

<style scoped>
  @media (min-width: 1264px) {
    .v-content:not([data-booted="true"]) {
      padding-left: 300px !important;
      padding-right: 210px !important;
    }
  }
</style>
{'fraction_non_alphanumeric': 0.14463452566096424, 'fraction_numerical': 0.006220839813374806, 'mean_word_length': 2.5185995623632387, 'pattern_counts': {'":': 0, '<': 33, '<?xml version=': 0, '>': 33, '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': '6072773', 'n_tokens_mistral': 1143, 'n_tokens_neox': 1078, 'n_words': 198}