问题
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