invertase / docs.page

Instant Open Source docs with zero configuration.
https://docs.page
Apache License 2.0
471 stars 76 forks source link

New feature: Change default repo link in upper right corner #387

Open rydmike opened 1 month ago

rydmike commented 1 month ago

Is there a way to change the repo link shown in the upper right corner? If not i would suggest a feature that enables this.

It by default links to the repo the docs are in, which is not very useful for my use case.

For update and access convenience, I have chosen to not have the docs.page repo in the same repo as the package and app the documentation documents.

It would therefore be much more useful if it could be defined to be to another repo, so I can point it to the actual repo the docs document. That would be one more anchor link I can remove. Earlier I had it as an anchor link, but those seems broken, as posted in other issue.

Screenshot 2024-10-06 at 17 31 28

Ehesp commented 1 month ago

Yep that's a fair point, should be pretty trivial to add, maybe an optional githubCardRepo: 'org/repo' in the header config?

rydmike commented 1 month ago

Since Anchors are back again 😄 I'm as before, using it as place for a link to the repo the doc is about.

But as mentioned, it would be nice to be able to remove it and have it in the intended place.

Screenshot 2024-10-09 at 15 59 19