How to publish javadocs in gitlab?

纵饮孤独 提交于 2019-12-06 04:17:28

问题


How to publish javadocs in gitlab? So far I have javadocs html pages added to repo but when I try to view them, raw text html source is presented, not the redered html page.

Is it possible at all?


回答1:


An update for anyone who stumbles on this question.

GitLab CE is getting GitLab Pages in early 2017.

The earliest estimated release date is January 22nd with Gitlab version 8.16.

GitLab CE has now had GitLab pages implemented on 2/22/17 in version 8.17.




回答2:


You probably want to use GitLab Pages. The documentation provided is quite detailed, you shouldn't have any problems following it. GitLab Pages is an EE- and Gitlab.com-only feature, though. If you're using GitLab CE, you can use this community solution: gitlab-ce-pages.

Edit: I have now implemented the linked project in my own GitLab instance, and can confirm works as expected. Just follow the instructions on the GitLab Pages.



来源:https://stackoverflow.com/questions/31471616/how-to-publish-javadocs-in-gitlab

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