mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-10 01:12:37 +00:00
Update build-apidoc.js
This commit is contained in:
parent
cf94e06718
commit
9190421820
1 changed files with 4 additions and 0 deletions
|
@ -358,6 +358,10 @@ if (project) {
|
|||
.map((s) => {
|
||||
if (s.text.indexOf('[here]') > -1) {
|
||||
return `${s.text.slice(0, s.text.indexOf('[here]'))} <a target="_blank" href="${s.text.slice(s.text.indexOf('(') + 1, s.text.indexOf(')'))}">here</a> ${s.text.slice(s.text.indexOf(')') + 1)}`;
|
||||
} else if (s.text.indexOf('[MDN Reference]') > -1) {
|
||||
return `${s.text.slice(0, s.text.indexOf('[MDN Reference]'))} <a target="_blank" href="${s.text.slice(s.text.indexOf('(') + 1, s.text.indexOf(')'))}">MDN Reference</a> ${s.text.slice(
|
||||
s.text.indexOf(')') + 1
|
||||
)}`;
|
||||
}
|
||||
|
||||
return s.text || '';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue