Skip to content
This repository was archived by the owner on Sep 11, 2020. It is now read-only.

Docs references broken imports from srcd.works #261

Closed
calvn opened this issue Feb 9, 2017 · 0 comments · Fixed by #303
Closed

Docs references broken imports from srcd.works #261

calvn opened this issue Feb 9, 2017 · 0 comments · Fixed by #303
Labels
Milestone

Comments

@calvn
Copy link

calvn commented Feb 9, 2017

Since imports uses references from srcd.works, godoc cannot resolve those URLs when trying to get docs for structs/methods that come from imported sub-packages

For example, if I want to look up the docs for plumbing.Reference under func (r *Repository) Head() (*plumbing.Reference, error) via this godoc link, it would bring me to https://godoc.org/srcd.works/go-git.v4/plumbing#Reference, which is a 404 not found page. I have to manually change the URL every time I want to look up documentation for sub-packages by changing the URL, in this particular case to https://godoc.org/gopkg.in/src-d/go-git.v4/plumbing#Reference.

Would it be possible to have srcd.works correctly serve godoc, or change the imports to be packages from gopkg.in?

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

Successfully merging a pull request may close this issue.

3 participants