You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@felix.apache.org by dj...@apache.org on 2021/07/11 23:17:16 UTC

[felix-antora] branch main created (now bac2467)

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

djencks pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/felix-antora.git.


      at bac2467  add kroki and antora-indexer extensions

This branch includes the following new commits:

     new 2e0d919  initial felix antora playbook project
     new bac2467  add kroki and antora-indexer extensions

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


[felix-antora] 02/02: add kroki and antora-indexer extensions

Posted by dj...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

djencks pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/felix-antora.git

commit bac2467bb0c329673d7f333255be246e199cae8f
Author: David Jencks <dj...@apache.org>
AuthorDate: Tue Sep 1 18:39:01 2020 -0700

    add kroki and antora-indexer extensions
---
 antora-playbook.yml | 6 ++++++
 package.json        | 4 +++-
 2 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/antora-playbook.yml b/antora-playbook.yml
index 7a868b6..63b3f08 100644
--- a/antora-playbook.yml
+++ b/antora-playbook.yml
@@ -5,6 +5,12 @@ content:
   sources:
   - url: ./../felix-site
 
+asciidoc:
+  attributes:
+    allow-uri-read: true
+  extensions:
+    - asciidoctor-kroki
+    - "@djencks/asciidoctor-antora-indexer"
 
 ui:
   bundle:
diff --git a/package.json b/package.json
index 0f46a3f..0cff57d 100644
--- a/package.json
+++ b/package.json
@@ -8,6 +8,8 @@
   "devDependencies": {
     "@antora/cli": "^2.3.3",
     "@antora/site-generator-default": "^2.3.3",
-    "@felix/felix-antora-ui": "./../felix-antora-ui"
+    "@felix/felix-antora-ui": "./../felix-antora-ui",
+    "asciidoctor-kroki": "^0.9.2",
+    "@djencks/asciidoctor-antora-indexer": "^0.0.4"
   }
 }

[felix-antora] 01/02: initial felix antora playbook project

Posted by dj...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

djencks pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/felix-antora.git

commit 2e0d919840d21c8e05f8eea7125b3d8e650e6d46
Author: David Jencks <dj...@apache.org>
AuthorDate: Tue Sep 1 11:14:13 2020 -0700

    initial felix antora playbook project
---
 .gitignore          |  6 +++++
 antora-playbook.yml | 15 +++++++++++++
 package.json        | 13 +++++++++++
 pom.xml             | 63 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 97 insertions(+)

diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..732cded
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,6 @@
+/build/
+package-lock.json
+node
+node_modules
+.cache
+.idea
diff --git a/antora-playbook.yml b/antora-playbook.yml
new file mode 100644
index 0000000..7a868b6
--- /dev/null
+++ b/antora-playbook.yml
@@ -0,0 +1,15 @@
+site:
+  title: Apache
+  url: https://felix.apache.org
+content:
+  sources:
+  - url: ./../felix-site
+
+
+ui:
+  bundle:
+    url: node_modules/@felix/felix-antora-ui/build/felix-antora-ui-bundle.zip
+    snapshot: false
+
+output:
+  clean: true
diff --git a/package.json b/package.json
new file mode 100644
index 0000000..0f46a3f
--- /dev/null
+++ b/package.json
@@ -0,0 +1,13 @@
+{
+  "private": true,
+  "scripts": {
+    "clean-build": "npm run clean-install;npm run build",
+    "clean-install": "rm -rf node_modules/ .cache/ package-lock.json;npm i --cache=.cache/npm",
+    "build": "node_modules/.bin/antora antora-playbook.yml --stacktrace --fetch --clean"
+  },
+  "devDependencies": {
+    "@antora/cli": "^2.3.3",
+    "@antora/site-generator-default": "^2.3.3",
+    "@felix/felix-antora-ui": "./../felix-antora-ui"
+  }
+}
diff --git a/pom.xml b/pom.xml
new file mode 100644
index 0000000..81bbda6
--- /dev/null
+++ b/pom.xml
@@ -0,0 +1,63 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+  <modelVersion>4.0.0</modelVersion>
+
+  <groupId>org.my.project</groupId>
+  <artifactId>antora-site</artifactId>
+  <version>0.0.1</version>
+  <packaging>pom</packaging>
+
+  <properties>
+    <!-- see https://github.com/eirslett/frontend-maven-plugin -->
+    <frontend.maven.plugin.version>1.10.0</frontend.maven.plugin.version>
+    <!-- See https://nodejs.org/en/download/ for latest node and npm (lts) versions -->
+    <node.version>v12.18.2</node.version>
+    <npm.version>6.14.5</npm.version>
+  </properties>
+
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>com.github.eirslett</groupId>
+        <artifactId>frontend-maven-plugin</artifactId>
+        <version>${frontend.maven.plugin.version}</version>
+
+        <executions>
+
+          <execution>
+            <id>install node and npm</id>
+            <goals>
+              <goal>install-node-and-npm</goal>
+            </goals>
+            <configuration>
+              <nodeVersion>${node.version}</nodeVersion>
+              <npmVersion>${npm.version}</npmVersion>
+            </configuration>
+          </execution>
+
+          <execution>
+            <id>npm run clean-install</id>
+            <goals>
+              <goal>npm</goal>
+            </goals>
+            <configuration>
+              <arguments>run clean-install</arguments>
+            </configuration>
+          </execution>
+
+          <execution>
+            <id>npm run build</id>
+            <goals>
+              <goal>npm</goal>
+            </goals>
+            <configuration>
+              <arguments>run build</arguments>
+            </configuration>
+          </execution>
+
+        </executions>
+      </plugin>
+    </plugins>
+  </build>
+</project>