mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-15 06:35:20 -07:00
Remove github links and comments from formulae
This commit is contained in:
parent
4a9156cfd8
commit
15d8969405
1 changed files with 10 additions and 9 deletions
|
|
@ -184,14 +184,15 @@ class MakeHomebrewList {
|
|||
|
||||
formulaeRow.name = formulaeRow.fullName.split(' ')[0]
|
||||
|
||||
formulaeRow.links = tr.querySelectorAll('a').map( a => {
|
||||
const href = a.getAttribute('href')
|
||||
return {
|
||||
href,
|
||||
label: a.rawText,
|
||||
// a
|
||||
}
|
||||
})
|
||||
formulaeRow.links = []
|
||||
// formulaeRow.links = tr.querySelectorAll('a').map( a => {
|
||||
// const href = a.getAttribute('href')
|
||||
// return {
|
||||
// href,
|
||||
// label: a.rawText,
|
||||
// // a
|
||||
// }
|
||||
// })
|
||||
|
||||
// if (formulaeRow.links.length !== 0) console.log('formulaeRow', formulaeRow.links)
|
||||
|
||||
|
|
@ -280,7 +281,7 @@ class MakeHomebrewList {
|
|||
category
|
||||
}),//`/formula/${slug}`,
|
||||
category,
|
||||
content: formulae.comments,
|
||||
content: '',//formulae.comments,
|
||||
relatedLinks: [
|
||||
{
|
||||
href: `https://formulae.brew.sh/formula/${formulae.name}`,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue