Skip to content
Permalink
Browse files
Using font icons for asciidoc. Adding additional doc.
  • Loading branch information
effrafax committed Nov 23, 2019
1 parent 12db024 commit 9bd4a175d716840bf549a5fbf5b20d9b736eff10
Showing 5 changed files with 23 additions and 12 deletions.
20 pom.xml
@@ -283,7 +283,7 @@
<dependency>
<groupId>org.asciidoctor</groupId>
<artifactId>asciidoctor-maven-plugin</artifactId>
<version>1.6.0</version>
<version>1.5.8</version>
</dependency>
</dependencies>
</plugin>
@@ -354,21 +354,20 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<version>3.8.2</version>
<version>3.7.1</version>

<configuration>
<skipDeploy>true</skipDeploy>
<stagingDirectory>${site.staging.base}/target/staging/components/</stagingDirectory>
<asciidoc>
<!-- optional site-wide AsciiDoc attributes -->
<!-- site-wide AsciiDoc attributes -->
<attributes>
<!--
<icons>font</icons>
-->
<source-highlighter>coderay</source-highlighter>
<coderay-css>style</coderay-css>
<toclevels>2</toclevels>
</attributes>
</asciidoc>
<skipDeploy>true</skipDeploy>
<stagingDirectory>${site.staging.base}/target/staging/components/</stagingDirectory>
</configuration>
<executions>
<execution>
@@ -378,6 +377,13 @@
</goals>
</execution>
</executions>
<dependencies>
<dependency><!-- add Asciidoctor Doxia Parser Module -->
<groupId>org.asciidoctor</groupId>
<artifactId>asciidoctor-maven-plugin</artifactId>
<version>1.5.8</version>
</dependency>
</dependencies>
</plugin>


@@ -31,6 +31,7 @@
<groupId>org.apache.archiva.components.registry</groupId>
<artifactId>archiva-components-spring-registry-api</artifactId>
<name>Archiva Components :: Spring Registry Api</name>
<description>Spring Registry API interfaces and classes.</description>

<properties>
<site.staging.base>${project.parent.parent.basedir}</site.staging.base>
@@ -30,6 +30,8 @@

<artifactId>archiva-components-spring-registry-commons</artifactId>
<name>Archiva Components :: Spring Registry Commons</name>
<description>Common components and implementation of the Spring Registry API.</description>

<properties>
<site.staging.base>${project.parent.parent.basedir}</site.staging.base>
</properties>
@@ -20,11 +20,11 @@ http://maven.apache.org/guides/mini/guide-apt-format.html
////

= Spring Registry Component
Brett Porter
7 February 2007
Brett Porter; Martin Stockhammer <martin_s@apache.org>
2019-11-23


== Spring Registry
== About

The Spring registry is a single source of external configuration for Spring components and applications.
It can be used by components to source configuration, knowing that it can be used from within applications
@@ -58,8 +58,10 @@

<body>
<head>
<![CDATA[<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.11.2/css/fontawesome.min.css">]]>
<![CDATA[<link rel="stylesheet" href="../css/site.css">]]>
<!-- The font-awesome is used by asciidoc -->
<![CDATA[ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.5.0/css/font-awesome.min.css">]]>
<!-- this points to the parent site.css -->
<![CDATA[ <link rel="stylesheet" href="../css/site.css">]]>
</head>

<links>

0 comments on commit 9bd4a17

Please sign in to comment.