unexist.dev

Changeset 0:146af884633b

Added files
author unexist
date Thu, 24 Jun 2021 17:21:38 +0200
parents
children 9cec45f4620f
files .gitignore .hgignore Makefile antora-playbook.yml
diffstat 4 files changed, 83 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/.gitignore	Thu Jun 24 17:21:38 2021 +0200
@@ -0,0 +1,39 @@
+# Eclipse
+.project
+.classpath
+.settings/
+bin/
+
+# IntelliJ
+.idea
+*.ipr
+*.iml
+*.iws
+
+# NetBeans
+nb-configuration.xml
+
+# Visual Studio Code
+.vscode
+.factorypath
+
+# OSX
+.DS_Store
+
+# Vim
+*.swp
+*.swo
+
+# patch
+*.orig
+*.rej
+
+# Maven
+target/
+pom.xml.tag
+pom.xml.releaseBackup
+pom.xml.versionsBackup
+release.properties
+
+# Antora
+dist/
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/.hgignore	Thu Jun 24 17:21:38 2021 +0200
@@ -0,0 +1,10 @@
+syntax: glob
+
+**/*.iml
+
+target/
+.idea/
+.mvn/
+
+# Antora
+dist/
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Makefile	Thu Jun 24 17:21:38 2021 +0200
@@ -0,0 +1,21 @@
+.PHONY: docs
+.DEFAULT_GOAL := docs
+
+install:
+	npm i -g @antora/cli@2.3 @antora/site-generator-default@2.3
+	npm i -g serve
+
+docs:
+	antora generate antora-playbook.yml --to-dir dist/ --clean
+
+fetch:
+	antora generate antora-playbook.yml --to-dir dist/ --clean --fetch
+
+stacktrace:
+	antora generate antora-playbook.yml --to-dir dist/ --clean --fetch --stacktrace
+
+serve:
+	serve dist/
+
+open:
+	open dist/showcase-architecture-documentation/0.1.0/index.html
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/antora-playbook.yml	Thu Jun 24 17:21:38 2021 +0200
@@ -0,0 +1,13 @@
+site:
+  title: Showcase for antora
+  url: https://hg.unexist.dev/showcase-antora
+  start_page: showcase-architecture-documentation::README.adoc
+content:
+  sources:
+    - url: https://github.com/unexist/showcase-architecture-testing-quarkus.git
+    - url: https://github.com/unexist/showcase-architecture-documentation.git
+      start_path: docs
+ui:
+  bundle:
+    url: https://gitlab.com/antora/antora-ui-default/-/jobs/artifacts/master/raw/build/ui-bundle.zip?job=bundle-stable
+    snapshot: true
\ No newline at end of file