question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Edit this page on GitHub button link breaks often

See original GitHub issue

Version

@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:closed
  • Created 2 years ago
  • Comments:7

github_iconTop GitHub Comments

1reaction
sanamiycommented, Dec 9, 2021

Thank you so much, @NozomuIkuta ! Problems were all solved by defaultBranch and defaultDir options! I confirmed that in docs of pwa module problems was not caused by dir but by branch. Thank you for telling me ☺️

0reactions
danieldevinecommented, Jun 6, 2022

as written in documentation

Ironically, this link is 404. Is this documentation still available somewhere?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Broken edit links · Issue #1637 - GitHub
Non-latest branches: on a page like http://www.tornadoweb.org/en/stable/, the "edit on github" link in the upper right is broken because it ...
Read more >
'Edit on Github' should link to the page, not the project #269
However, I should note that the "edit this page" links don't go to the "editor," they simply go to the page and the...
Read more >
Button block styling broken in editor and on front end due to ...
Describe the bug The changes in #21266 have resulted in button styles being broken in our Genesis child themes designed around the block ......
Read more >
Link UI: Add and edit links directly within the block toolbar ...
The Link UI consumes the toolbar, hiding the selected block's buttons. image. --. This also touches on some recent work around Reusable blocks ......
Read more >
Site navigation when full site editing · Issue #19204 - GitHub
This would allow a user to search for a page much like searching for a ... I added an "Edit Page Template" button...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found