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

gopages: exclude folders from index #53

Open
corani opened this issue May 18, 2023 · 1 comment
Open

gopages: exclude folders from index #53

corani opened this issue May 18, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@corani
Copy link

corani commented May 18, 2023

In my repository I'm (1) vendoring my dependencies in /vendor and (2) vendoring various tools such as code generators in /tools/vendor. These all end up in the index when running gopages (though no files are generated in dist/pkg, so they end up with a 404). It would be nice if the folders could be excluded somehow, e.g. via a command-line argument.

@JohnStarich
Copy link
Owner

Hmm that's an interesting one. Perhaps this kind of filtering is done internally to normal godoc with the package list (go list ./...).

I'm open to a PR with a test to reproduce and a bug fix. (If no one picks it up for a while, I may give it a try.)

@JohnStarich JohnStarich added the bug Something isn't working label May 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants