Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Support for Bitbucket server in Edit Link #2043

Copy link
Copy link
Open
@RecuencoJones

Description

@RecuencoJones
Issue body actions

Feature request

What problem does this feature solve?

From what I've seen in #1235, bitbucket cloud is now supported. However, bitbucket server uses a different format for the repository URL, it would be great to support this as well.

What does the proposed API look like?

In themeConfig, we could have something like this:

themeConfig: 
  docsRepo: bitbucket server # Match with a regex like /bitbucket.*server/i
  bitbucketServerRepo: https://my.bitbucket.server/projects/awesome/repos/documentation

How should this be implemented in your opinion?

I've tested so far the following changes PageEdit.vue:

https://github.com/RecuencoJones/vuepress/blob/c13b271bcd7d19049124ebcd2320c48585c45b45/packages/%40vuepress/theme-default/components/PageEdit.vue#L84-L94

Are you willing to work on this yourself?

Sure!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.