_build.js
/**
 * Generates a table with browser extensions and their descriptions
 */
Generates a table with browser extensions and their descriptions
Generates a table with browser extensions and their descriptions
function generateBrowserExtensions() {
    let extensions = `# Tarayıcı eklentileri${os.EOL + os.EOL}| Ad | Açıklama |${os.EOL}| ---- | ----------- |${os.EOL}`;
    let data = YAML.parse(fs.readFileSync(path.join(__dirname, 'yaml/browserExtensions.yml')).toString());
    data.forEach((item) => {
        let name = `[${item.name}](${item.url})`;
        let text = item.text.trim();
        let badge = addonLink(item.url);
        let tableItem = `| ${name + ' ' + badge} | ${text} |${os.EOL}`;
        extensions = extensions.concat(tableItem);
    });
    return extensions;
}
function generateBrowserExtensions ( ) { let extensions = ` os .E O L + o .E O L}| .E OL } | - - .E OL } `; let data = YAML . parse ( fs . readFileSync ( path . join ( __dirname , 'yaml/browserExtensions.yml' ) ) . toString ( ) ) ; data . forEach ( ( item ) => { let name = ` ${ item . name } ${ item . url } ` ; let text = item . text . trim ( ) ; let badge = addonLink ( item . url ) ; let tableItem = ` ${ name + ' ' + badge } ${ text } ${ os . EOL } ` ; extensions = extensions . concat ( tableItem ) ; } ) ; return extensions ; }
Generates a table with browser extensions and their descriptions
Generates a table with browser extensions and their descriptions