docs: def slice_reStructuredText(input, output):
      """
      Slices given reStructuredText file.
  
      :param input: ReStructuredText file to slice.
      :type input: unicode
      :param output: Directory to output sliced reStructuredText files.
      :type output: unicode
      :return: Definition success.
      :rtype: bool
      """
  
      LOGGER.info("{0} | Slicing '{1}' file!".format(slice_reStructuredText.__name__, input))
      file = File(input)
      file.cache()
  
      slices = OrderedDict()
      for i, line in enumerate(file.content):
          search = re.search(r"^\.\. \.(\w+)", line)
          if search:
              slices[search.groups()[0]] = i + SLICE_ATTRIBUTE_INDENT
  
      index = 0
      for slice, slice_start in slices.iteritems():
          slice_file = File(os.path.join(output, "{0}.{1}".format(slice, OUTPUT_FILES_EXTENSION)))
          LOGGER.info("{0} | Outputing '{1}' file!".format(slice_reStructuredText.__name__, slice_file.path))
          slice_end = index < (len(slices.values()) - 1) and slices.values()[index + 1] - SLICE_ATTRIBUTE_INDENT or \
                      len(file.content)
  
          for i in range(slice_start, slice_end):
              skip_line = False
              for item in CONTENT_DELETION:
                  if re.search(item, file.content[i]):
                      LOGGER.info("{0} | Skipping Line '{1}' with '{2}' content!".format(slice_reStructuredText.__name__,
                                                                                         i,
                                                                                         item))
                      skip_line = True
                      break
  
              if skip_line:
                  continue
  
              line = file.content[i]
              for pattern, value in STATEMENT_SUBSTITUTE.iteritems():
                  line = re.sub(pattern, value, line)
  
              search = re.search(r"-  `[\w ]+`_ \(([\w\.]+)\)", line)
              if search:
                  LOGGER.info("{0} | Updating Line '{1}' link: '{2}'!".format(slice_reStructuredText.__name__,
                                                                              i,
                                                                              search.groups()[0]))
                  line = "-  :ref:`{0}`\n".format(search.groups()[0])
              slice_file.content.append(line)
  
          slice_file.write()
          index += 1
  
      return True