nextra icon indicating copy to clipboard operation
nextra copied to clipboard

cant's use docsRepositoryBase with github enterprise

Open maticrivo opened this issue 3 years ago • 3 comments

Hi, when setting docsRepositoryBase with a self-hosted github enterprise version its throwing the error:

Invalid `docsRepositoryBase` URL!

After some investigation its coming from the parse-git-url package that does not handle self-hosted git server urls..

is there a way to add a workaround for that?

Thanks

maticrivo avatar Jan 18 '22 07:01 maticrivo

I am running into same issue here. 👍

johnbellone avatar Feb 02 '22 18:02 johnbellone

This is just a questionable design

always-maap avatar Feb 25 '22 01:02 always-maap

Same issue here.
Edit button is generated by EditPageLink in nextra-theme-docs/src/toc.tsx

Maybe we can use custom ReactNode or custom-link-generation-method instead of setting docsRepositoryBase ? 🤔

ddiu8081 avatar Mar 02 '22 13:03 ddiu8081

will be available in next v2 beta release

dimaMachina avatar Oct 27 '22 13:10 dimaMachina

@B2o5T Thanks for resolving this but honestly it has been 9 months since i opened the issue and as there was no response i have switched to use docusaurus 🙃

maticrivo avatar Oct 27 '22 15:10 maticrivo

Is there any way to remove it ?

nkechr1s avatar Jan 01 '23 23:01 nkechr1s