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

themeConfig.editLink There is no attribute pattern #775

Closed
3 tasks done
k983551019 opened this issue Jun 11, 2022 · 2 comments
Closed
3 tasks done

themeConfig.editLink There is no attribute pattern #775

k983551019 opened this issue Jun 11, 2022 · 2 comments
Labels
bug: pending triage Maybe a bug, waiting for confirmation

Comments

@k983551019
Copy link

Describe the bug

It's in the documentation
https://vitepress.vuejs.org/guide/theme-edit-link.html#edit-link

themeConfig.editLink
There is no attribute pattern

Reproduction

export default defineConfig({
    themeConfig: {
        editLink:{
          pattern: "https://gitea.com/:path",
        }
    }
})

Expected behavior

add pattern

System Info

System:
    OS: Windows 10 10.0.19042
    CPU: (8) x64 Intel(R) Core(TM)2 Duo CPU     T7700  @ 2.40GHz
    Memory: 797.08 MB / 24.00 GB
  Binaries:
    Node: 16.14.0 - C:\Program Files\nodejs\node.EXE
    Yarn: 1.22.18 - C:\Program Files\nodejs\yarn.CMD
    npm: 8.11.0 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Edge: Spartan (44.19041.1266.0), Chromium (102.0.1245.33)
    Internet Explorer: 11.0.19041.1566
  npmPackages:
    vitepress: 1.0.0-alpha.1 => 1.0.0-alpha.1

Additional context

No response

Validations

  • Follow our Code of Conduct
  • Read the docs.
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
@k983551019 k983551019 added the bug: pending triage Maybe a bug, waiting for confirmation label Jun 11, 2022
@k983551019
Copy link
Author

image
image

@kecrily
Copy link
Contributor

kecrily commented Jun 11, 2022

ref #698

Update: This commit is not in alpha.1, it will be in the next release.

@brc-dd brc-dd closed this as completed Jun 11, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 21, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug: pending triage Maybe a bug, waiting for confirmation
Projects
None yet
Development

No branches or pull requests

3 participants