nextra icon indicating copy to clipboard operation
nextra copied to clipboard

Is it possible to redirect feedback to another link instead of the docsRepositoryBase

Open Yuzuki-Matsumoto opened this issue 3 years ago • 1 comments

Rather than using the GitHub issues section, I would like to add my own feedback section. Is it possible to redirect to another link instead?

image

Yuzuki-Matsumoto avatar Dec 05 '22 08:12 Yuzuki-Matsumoto

We should add support for that, maybe an optional feedback.link: (currentTitle, currentURL) => string

shuding avatar Dec 05 '22 13:12 shuding

I was looking for this today as well, that sounds like a great fix @shuding. Do you want a hand implementing that?

mrmckeb avatar Dec 16 '22 06:12 mrmckeb

@mrmckeb yeah would love to accept a PR for that ❤️

shuding avatar Dec 17 '22 11:12 shuding

@shuding I don’t think we need the new option, since we have toc.extraContent option for this case https://github.com/shuding/nextra/blob/e34eff493eff00a350b87e86e31aa9625fec957b/packages/nextra-theme-docs/src/types.ts#L107

dimaMachina avatar Dec 17 '22 12:12 dimaMachina