<commit_before>h4
  span.prop-name= doc.shortName
  |  - 
  - var skillType = (doc.type == 'function' && doc.owner == 'this' ? 'method' : doc.type)
  code.prop-type(data-i18n='skill_docs.' + skillType)
    // In case there's no translation in en.coffee because we missed one
    = skillType
  if doc.type != 'function'
    |  (
    if writable
      span(data-i18n="skill_docs.writable") writable
    else
      span(data-i18n="skill_docs.read_only") read-only
    | )

if doc.translatedShortName
  h5
    span.translated-name= doc.translatedShortName

.description
  p!= marked(doc.description || 'Still undocumented, sorry.')
  if cooldowns && (cooldowns.cooldown || cooldowns.specificCooldown)
    p
      span
        if cooldowns.type == 'spell'
          span(data-i18n="skill_docs.spell") Spell
        else
          span(data-i18n="skill_docs.action") Action
        span.spl(data-i18n="skill_docs.action_name") name
        span.spr :
        code "#{cooldowns.name}"
        | .
      span.spl
        span(data-i18n="skill_docs.action_cooldown") Takes
        span.spr :
        code= cooldowns.cooldown
        | s.
      if cooldowns.specificCooldown<commit_msg>Don't display (read-only) on html tag docs<commit_after>h4
  span.prop-name= doc.shortName
  |  - 
  - var skillType = (doc.type == 'function' && doc.owner == 'this' ? 'method' : doc.type)
  code.prop-type(data-i18n='skill_docs.' + skillType)
    // In case there's no translation in en.coffee because we missed one
    = skillType
  // Redundant in case some tag docs are missing an owner
  if !_.contains(['function', 'basic tag'], doc.type) && doc.owner != 'HTML'
    |  (
    if writable
      span(data-i18n="skill_docs.writable") writable
    else
      span(data-i18n="skill_docs.read_only") read-only
    | )

if doc.translatedShortName
  h5
    span.translated-name= doc.translatedShortName

.description
  p!= marked(doc.description || 'Still undocumented, sorry.')
  if cooldowns && (cooldowns.cooldown || cooldowns.specificCooldown)
    p
      span
        if cooldowns.type == 'spell'
          span(data-i18n="skill_docs.spell") Spell
        else
          span(data-i18n="skill_docs.action") Action
        span.spl(data-i18n="skill_docs.action_name") name
        span.spr :
        code "#{cooldowns.name}"
        | .
      span.spl
        span(data-i18n="skill_docs.action_cooldown") Takes
        span.spr :
        code= cooldowns.cooldown
        | s.
      if cooldowns.specificCooldown
{'fraction_non_alphanumeric': 0.1258038585209003, 'fraction_numerical': 0.012861736334405145, 'mean_word_length': 2.6072463768115943, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '3018546', 'n_tokens_mistral': 891, 'n_tokens_neox': 873, 'n_words': 167}