docs: function pubname(resolved, cwd) {
  	var extension, pubname, relpath;
  
  	cwd = cwd || process.cwd();
  
  	relpath = path.relative(cwd, resolved);
  	extension = path.extname(relpath, '.js');
  	pubname = extension ? relpath.slice(0, relpath.lastIndexOf(extension)) : relpath;
  
  	return pubname;
  }