Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to publish javadocs in gitlab?

Tags:

javadoc

gitlab

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?

like image 519
Marian Paździoch Avatar asked Jul 17 '15 08:07

Marian Paździoch


People also ask

How do I publish a Javadoc?

In the Goals field, place javadoc:javadoc —this will tell Maven to generate the Javadoc documentation. Now go to the “Post-build Action” and tick the “Publish Javadoc” checkbox. This project is a multimodule project, so a separate subdirectory is generated for each module (core, services, web and so forth).

Can you host website on GitLab?

In general, you are allowed to create and host two sorts of websites with GitLab Pages: User/Group Websites - a single site per user or group. Project Websites - as many sites you want.

What GitLab feature allows you to publish static websites directly from a repository in GitLab?

With GitLab Pages, you can publish static websites directly from a repository in GitLab. Use for any personal or business website.

Does GitLab have pages like GitHub?

GitLab Pages are very similar to GitHub Pages. GitLab Pages also supports custom domain names and SSL certificates and includes a continuous integration platform. Create a new GitLab repository, create a new Gatsby site if you haven't already, and add the GitLab remote. git add .


2 Answers

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.

like image 121
Christopher Schneider Avatar answered Oct 04 '22 19:10

Christopher Schneider


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.

like image 28
Raphael Mäder Avatar answered Oct 04 '22 17:10

Raphael Mäder