For AI agents: the docs index is at https://docs.mamopay.com/llms.txt. Append .md to any documentation page URL to get its markdown version.
// (the JavaScript box only runs on Enterprise; we are on Pro). Re-paste it after editing.
(function () {
var WORD = /\b(recipe)(s?)\b/gi;
var SKIP = { CODE: 1, PRE: 1, SCRIPT: 1, STYLE: 1, TEXTAREA: 1, INPUT: 1 };
function relabel(match, word, plural) {
var out = 'use case' + (plural ? 's' : '');
if (word === word.toUpperCase()) return out.toUpperCase();
return word[0] === 'R' ? 'U' + out.slice(1) : out;
}
function fix(root) {
var walker = document.createTreeWalker(root, NodeFilter.SHOW_TEXT, {
acceptNode: function (node) {
for (var el = node.parentElement; el; el = el.parentElement) {
if (SKIP[el.tagName] || el.isContentEditable) return NodeFilter.FILTER_REJECT;
}
WORD.lastIndex = 0;
return WORD.test(node.nodeValue) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_REJECT;
},
});
var nodes = [];
while (walker.nextNode()) nodes.push(walker.currentNode);
nodes.forEach(function (node) { node.nodeValue = node.nodeValue.replace(WORD, relabel); });
WORD.lastIndex = 0;
if (WORD.test(document.title)) document.title = document.title.replace(WORD, relabel);
}
function start() {
fix(document.body);
// ReadMe renders client-side; relabel whatever it adds or changes later.
new MutationObserver(function (mutations) {
mutations.forEach(function (m) {
if (m.type === 'characterData') fix(m.target.parentNode || document.body);
m.addedNodes.forEach(function (n) { if (n.nodeType === 1 || n.nodeType === 3) fix(n.nodeType === 1 ? n : n.parentNode || document.body); });
});
}).observe(document.body, { childList: true, subtree: true, characterData: true });
}
if (document.body) start();
else document.addEventListener('DOMContentLoaded', start);
})();