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

Document Repo /docs/:package-:version.tar.gz endpoint #30

Open
wojtekmach opened this issue Jul 22, 2020 · 0 comments
Open

Document Repo /docs/:package-:version.tar.gz endpoint #30

wojtekmach opened this issue Jul 22, 2020 · 0 comments

Comments

@wojtekmach
Copy link
Member

This would be an optional endpoint that a repository might implement. It would be used by e.g. mix hex.docs fetch foo 1.0.0 --repo acme to download the docs tarball. (Note, we don't yet have --repo on mix hex.docs.)

Another option would be for mix hex.docs fetch --repo to instead use the HTTP API /packages/:name/releases/:version/docs endpoint for custom repos but that doesn't seem ideal either.

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

No branches or pull requests

1 participant