code: function cleanPath( txt ) {
  		var ch;
  		var j;
  		if ( txt.charCodeAt( 0 ) === 34 ) {
  			j = 1;
  			for ( j = 1; j < txt.length; j++ ) {
  				ch = txt.charCodeAt( j );
  				if ( ch === 34 ) {
  					txt = txt.slice( 1, j );
  					break;
  				}
  			}
  		}
  		j = txt.indexOf( '/docs/types/' );
  		if ( j >= 0 ) {
  			txt = txt.slice( 0, j );
  		} else {
  			j = txt.indexOf( '/index.d' );
  			if ( j >= 0 ) {
  				txt = txt.slice( 0, j );
  			}
  		}
  		return txt;
  	}
docs: eslint-disable-line func-names, no-restricted-syntax 
  Removes extraneous information from a path.
  
  @private
  @param {string} txt - text 1
  @returns {string} cleaned text