You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openmeetings.apache.org by so...@apache.org on 2018/12/26 04:10:51 UTC

[openmeetings] branch 4.0.x updated: [OPENMEETINGS-1969] source block highlightings is fixed

This is an automated email from the ASF dual-hosted git repository.

solomax pushed a commit to branch 4.0.x
in repository https://gitbox.apache.org/repos/asf/openmeetings.git


The following commit(s) were added to refs/heads/4.0.x by this push:
     new 16df418  [OPENMEETINGS-1969] source block highlightings is fixed
16df418 is described below

commit 16df418d71c6c618cb57708aa1f4d6d5b2eb90dd
Author: Maxim Solodovnik <so...@gmail.com>
AuthorDate: Wed Dec 26 11:10:40 2018 +0700

    [OPENMEETINGS-1969] source block highlightings is fixed
---
 openmeetings-server/pom.xml | 2 +-
 src/site/site.xml           | 2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/openmeetings-server/pom.xml b/openmeetings-server/pom.xml
index f9c2b7d..84fafee 100644
--- a/openmeetings-server/pom.xml
+++ b/openmeetings-server/pom.xml
@@ -252,7 +252,7 @@
 							<version>${reflow-maven-skin.version}</version>
 							<type>jar</type>
 							<overWrite>false</overWrite>
-							<includes>**/css/*.css,**/css/themes/${reflow-theme}/*.css,**/css/fontawesome/**,**/js/*.js</includes>
+							<includes>**/css/*.css,**/css/themes/${reflow-theme}/*.css,**/css/fontawesome/**,**/js/*.js,**/js/styles/github*.css</includes>
 						</artifactItem>
 					</artifactItems>
 					<outputDirectory>${project.build.directory}/site</outputDirectory>
diff --git a/src/site/site.xml b/src/site/site.xml
index 7a91fb4..1f0884a 100644
--- a/src/site/site.xml
+++ b/src/site/site.xml
@@ -69,6 +69,8 @@
 			<toc position="fixed">sidebar</toc>
 			<navbar cssClass="navbar-dark bg-primary"/>
 			<skinAttribution>false</skinAttribution>
+			<highlightJs>true</highlightJs>
+			<highlightJsTheme>github</highlightJsTheme>
 			<endContent>
 				<script type="text/javascript" src="$resourcePath/js/site.js"></script>
 				<p class="text-center">Apache OpenMeetings, OpenMeetings, Apache, the Apache feather, and the Apache OpenMeetings project logo</p>