Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: not adding editLink breaks DocFooter #40

Open
KalaayPT opened this issue May 30, 2024 · 0 comments
Open

bug: not adding editLink breaks DocFooter #40

KalaayPT opened this issue May 30, 2024 · 0 comments

Comments

@KalaayPT
Copy link

Vitepress version: 1.2.2
this bug is a bit convoluted to explain but bear with me:
i recently installed all of this and added the default config and whatever (i.e. used the plugin as intended). something i noticed almost immediately is that my site navigation (specifically, DocFooter prev and next page links, but also "Updated" text if a change hasn't been committed yet) is broken, see example:

image
image

what you can see here is that if i start on welcome, click next to go to "getting started" and land on the getting started page, i encounter three issues at once:

  1. i do not have a "previous page" button
  2. my "next page" button redirects to the page i'm on
  3. LastUpdate says 54 years ago (i have not committed this page yet)

what absolutely baffled me when fiddling around with and trying to fix this myself is that all of this gets fixed instantly once i add editLink: { pattern: 'https://github.com/KalaayPT/Profit-Taker-Guide/edit/master/docs/:path' }, to my config.mjs in docs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant