问题
I have a repository at https://github.com/parsiad/mlinterp.
Though I have made a release of the project, the corresponding download link does not appear on the page https://parsiad.github.io/mlinterp/ (I used the gh-pages wizard to create this page).
Any suggestions to get the usual "download latest tarball/zip" download links?
回答1:
It looks like you're using an auto generated GitHub Pages site. To get the download links on your site, you have three options.
- Add links to the downloads at the top of your README.md. The zip link is (https://github.com/parsiad/mlinterp/archive/v0.1.zip) and the tar ball link is (https://github.com/parsiad/mlinterp/archive/v0.1.tar.gz). You can create links in Markdown easily; instructions for links can be found here. Once the links are added to your README.md, they will appear on your auto-generated site.
- Change your theme to something like Modernist that comes with the download links by default.
- Instead of automatically generating your GitHub Pages site, pull it into your repository and modify it yourself. You would then be able to add a link to the top of your theme next to the one that is already there.
来源:https://stackoverflow.com/questions/44637784/github-pages-download-release