Remove getting started guide in community

This commit is contained in:
stianst 2021-10-20 08:58:23 +02:00 committed by Stian Thorgersen
parent c41cf4e7c3
commit 29b0fb95c6
6 changed files with 19 additions and 16 deletions

View file

@ -26,12 +26,6 @@
<version>${project.version}</version>
<type>pom</type>
</dependency>
<dependency>
<groupId>org.keycloak.documentation</groupId>
<artifactId>getting-started</artifactId>
<version>${project.version}</version>
<type>pom</type>
</dependency>
<dependency>
<groupId>org.keycloak.documentation</groupId>
<artifactId>securing-apps</artifactId>

View file

@ -34,7 +34,6 @@ li a:hover {
<body>
<img src="keycloak_logo.png"/>
<ul>
<li><a href="getting_started/${masterFile}.html">Getting Started</a></li>
<li><a href="server_installation/${masterFile}.html">Server Installation</a></li>
<li><a href="securing_apps/${masterFile}.html">Securing Apps</a></li>
<li><a href="server_admin/${masterFile}.html">Server Admin</a></li>

View file

@ -32,7 +32,6 @@
<module>header-maven-plugin</module>
<module>api_documentation</module>
<module>authorization_services</module>
<module>getting_started</module>
<module>securing_apps</module>
<module>server_admin</module>
<module>server_development</module>
@ -55,6 +54,7 @@
<imagesDir>rhsso-images</imagesDir>
</properties>
<modules>
<module>getting_started</module>
<module>openshift</module>
<module>openshift-openj9</module>
</modules>

View file

@ -57,12 +57,6 @@
<version>${project.version}</version>
<type>pom</type>
</dependency>
<dependency>
<groupId>org.keycloak.documentation</groupId>
<artifactId>getting-started</artifactId>
<version>${project.version}</version>
<type>pom</type>
</dependency>
<dependency>
<groupId>org.keycloak.documentation</groupId>
<artifactId>securing-apps</artifactId>
@ -134,6 +128,14 @@
<name>product</name>
</property>
</activation>
<dependencies>
<dependency>
<groupId>org.keycloak.documentation</groupId>
<artifactId>getting-started</artifactId>
<version>${project.version}</version>
<type>pom</type>
</dependency>
</dependencies>
</profile>
</profiles>

View file

@ -1,7 +1,15 @@
package org.keycloak.documentation.test;
import org.junit.Assume;
import org.junit.BeforeClass;
public class GettingStartedTest extends AbstractDocsTest {
@BeforeClass
public static void skipOnCommunity() {
Assume.assumeTrue("Skipping product OpenShift guide testing in community", System.getProperties().containsKey("product"));
}
@Override
public String getGuideDirName() {
return "getting_started";

View file

@ -68,8 +68,8 @@ endif::[]
:developerguide_jsproviders_link: {developerguide_link}#_script_providers
:gettingstarted_name: Getting Started Guide
:gettingstarted_name_short: Getting Started
:gettingstarted_link: {project_doc_base_url}/getting_started/
:gettingstarted_link_latest: {project_doc_base_url_latest}/getting_started/
:gettingstarted_link: https://www.keycloak.org/getting-started
:gettingstarted_link_latest: https://www.keycloak.org/getting-started
:upgradingguide_name: Upgrading Guide
:upgradingguide_name_short: Upgrading
:upgradingguide_link: {project_doc_base_url}/upgrading/