docus
docus copied to clipboard
[Components] Edit on GitHub button
Tried setting this app config
github: { edit: true, dir: 'content', owner: '', repo: 'docs', branch: 'main' },
but cannot see the button rendered at bottom of the page
Looks like GitHub edit function wasn't finished.
https://github.com/nuxt-themes/docus/blob/3e054be6ccbff0fabbbea2c28f62320f5a33194b/components/docs/DocsPageContent.vue#L83-L84
I saw it enabled on nuxt.com. so I tried and discovered that it still needs a bit of work to be a working feature.
Nuxt.com docs, doesn't use Docus for its website since this PR: https://github.com/nuxt/framework/pull/9007
They're using nuxt-website-theme NPM package, but I can't find the GitHub repo for it.
Indeed @kduma
If you want to open a PR to finish the edit on GitHub that would be awesome ❤️🔥
Hey; this has been moved to our current backlog for Docus.
We also have this task on Elements: https://github.com/nuxt-themes/elements/issues/160