<commit_before>import React, { PropTypes } from "react"

import { repository } from "../../../package.json"

const EditThisPage = (props) => {
  return (
    <a
      href={
        repository.replace(/\.git$/, "") +
        "/edit/master/"+
        "docs/content/" + // phenomic docs specificity
        props.filename
      }
      style={ { color: "#08b09b" } }
    >
      { "Edit this page" }
    </a>
  )
}

EditThisPage.propTypes = {
  filename: PropTypes.string.isRequired,
}

export default EditThisPage<commit_msg>Docs: fix "Edit this page" hover effect<commit_after>import React, { PropTypes } from "react"

import { repository } from "../../../package.json"

const EditThisPage = (props) => {
  return (
    <a
      href={
        repository.replace(/\.git$/, "") +
        "/edit/master/"+
        "docs/content/" + // phenomic docs specificity
        props.filename
      }
    >
      { "Edit this page" }
    </a>
  )
}

EditThisPage.propTypes = {
  filename: PropTypes.string.isRequired,
}

export default EditThisPage
{'fraction_non_alphanumeric': 0.1600771456123433, 'fraction_numerical': 0.003857280617164899, 'mean_word_length': 2.2336448598130842, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 9, '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': '4026536', 'n_tokens_mistral': 330, 'n_tokens_neox': 329, 'n_words': 72}