in src/components/Menu/RepoActions/index.tsx [26:38]
function createIssueLink(directoryPath, url) {
url = `https://docs.amplify.aws${url}`;
const NEW_GITHUB_ISSUE_LINK =
"https://github.com/aws-amplify/docs/issues/new";
const params = [
"title=[Feedback]FEEDBACK_TITLE_HERE",
`labels=${encodeURIComponent(getLabelForPath(directoryPath))}`,
`body=${encodeURIComponent(
`**Page**: [\`${directoryPath}\`](${url})\n\n**Feedback**:\n\n<!-- your feedback here -->`,
)}`,
];
return `${NEW_GITHUB_ISSUE_LINK}?${params.join("&")}`;
}