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

x/pkgsite: add "Package files" section for commands #41396

LeGEC opened this issue Sep 15, 2020 · 2 comments

x/pkgsite: add "Package files" section for commands #41396

LeGEC opened this issue Sep 15, 2020 · 2 comments


Copy link

@LeGEC LeGEC commented Sep 15, 2020

What is the URL of the page with the issue?

What is your user agent?

Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:80.0) Gecko/20100101 Firefox/80.0


not relevant

What did you do?

Just went to the doc page for this package

What did you expect to see?

A Package files section, with links to the underlying code files, as the former site would offer :
has a main.go link, which leads to :

What did you see instead?

I found no such link, in none of the tabs of the version for this url.

In this specific case, there is no public symbol to "document", and the documentation clearly implies "go read the code of the main function", so the lack of Package files section is particularly emphasized here.

Copy link

@jba jba commented Sep 19, 2020

We'll be adding a Package Files section soon.

@jba jba modified the milestones: Unreleased, pkgsite/design-2020 Sep 19, 2020
@julieqiu julieqiu changed the title x/pkgsite: no 'Package files' links x/pkgsite: add "Package files" section for commands Sep 21, 2020
Copy link

@julieqiu julieqiu commented Oct 29, 2020

This feature is now available on See #41585 (comment) for details, and as an example.

Closing this issue for #41586.

@julieqiu julieqiu closed this Oct 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
5 participants