Edit this page on GitHub button link breaks often
See original GitHub issueVersion
@nuxt/content: v1.15.1 nuxt: 2.15.3 @nuxt/content-theme-docs: v0.11.1
Reproduction Link
https://pwa.nuxtjs.org/ https://github.com/nuxt-community/pwa-module/tree/main/docs
Steps to reproduce
Edit this page on GitHub button links always break when create a document site with @nuxt/content-theme-docs
and the /content
folder is directory belongs to the main directory. ~/content/*.md
case of failure: https://pwa.nuxtjs.org/ broken Edit this page on GitHub link: https://github.com/nuxt-community/pwa-module/edit/master/docs/content/en/index.md
on the other hand, if /content
folder is under docs
folder the link do not break.
~/docs/content/*.md
case of success:https://content.nuxtjs.org/
Edit this page on GitHub link: https://github.com/nuxt/content/edit/main/docs/content/ja/index.md
What is actually happening?
the string in links /docs is the cause of this bug. The string in links /docs should be option. or if the option already exists, please tell me.
Thank you,
Issue Analytics
- State:
- Created 2 years ago
- Comments:7
Top GitHub Comments
Thank you so much, @NozomuIkuta ! Problems were all solved by
defaultBranch
anddefaultDir
options! I confirmed that in docs of pwa module problems was not caused by dir but by branch. Thank you for telling me ☺️Ironically, this link is 404. Is this documentation still available somewhere?