Github-pages: download release

ⅰ亾dé卋堺 提交于 2019-12-07 11:40:50

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!