docs/node_modules/@docusaurus/utils/lib/index.js
/**
 * Given an input string, convert to kebab-case and append a hash.
 * Avoid str collision.
 */
Given an input string, convert to kebab-case and append a hash.
Avoid str collision.
Given an input string convert to kebab - case and append a hash . Avoid str collision .
function docuHash(str) {
    if (str === '/') {
        return 'index';
    }
    const shortHash = simpleHash(str, 3);
    return `${lodash_kebabcase_1.default(str)}-${shortHash}`;
}
function docuHash ( str ) { if ( str === '/' ) { return 'index' ; } const shortHash = simpleHash ( str , 3 ) ; return ` ${ lodash_kebabcase_1 . default ( str ) } ${ shortHash } ` ; }
Given an input string, convert to kebab-case and append a hash.
Given an input string convert to kebab - case and append a hash .