docs: def shall_skip(module, opts):
      """Check if we want to skip this module."""
      # skip it if there is nothing (or just \n or \r\n) in the file
      if path.getsize(module) <= 2:
          return True
      # skip if it has a "private" name and this is selected
      filename = path.basename(module)
      if filename != '__init__.py' and filename.startswith('_') and \
         not opts.includeprivate:
          return True
      return False