Skip to content
Permalink
Browse files
JAMES-3226 #comment Using homepage in james-site, added edit-url
Signed-off-by: Eugen Stan <ieugen@apache.org>
  • Loading branch information
ieugen committed Jul 31, 2020
1 parent 0f05468 commit cfe1da90052761ac73582d329286ca2febf28c68
Showing 3 changed files with 20 additions and 2 deletions.
@@ -1,33 +1,41 @@
site:
title: Apache James
url: https://james.apache.org/
start_page: main::index.adoc
start_page: james-site::homepage.adoc
content:
sources:
- url: https://gitbox.apache.org/repos/asf/james-hupa.git
branches: master
start_path: docs
edit_url: '{web_url}/blob/{refname}/{path}'
- url: https://gitbox.apache.org/repos/asf/james-jdkim.git
branches: master
start_path: docs
edit_url: '{web_url}/blob/{refname}/{path}'
- url: https://gitbox.apache.org/repos/asf/james-jsieve.git
branches: master
start_path: docs
edit_url: '{web_url}/blob/{refname}/{path}'
- url: https://gitbox.apache.org/repos/asf/james-jspf.git
branches: master
start_path: docs
edit_url: '{web_url}/blob/{refname}/{path}'
- url: https://gitbox.apache.org/repos/asf/james-mime4j.git
branches: master
start_path: docs
edit_url: '{web_url}/blob/{refname}/{path}'
- url: https://gitbox.apache.org/repos/asf/james-project.git
branches: master
start_path: docs
edit_url: '{web_url}/blob/{refname}/{path}'
- url: https://gitbox.apache.org/repos/asf/james-postage.git
branches: master
start_path: docs
edit_url: '{web_url}/blob/{refname}/{path}'
- url: ./../
branches: HEAD
start_path: docs
edit_url: '{web_url}/blob/{refname}/{path}'
ui:
bundle:
url: ./../antora-ui/build/ui-bundle.zip
@@ -14,6 +14,7 @@ node {
}

def siteOutputDir = "${buildDir}/site";
def localAntoraContent = project.hasProperty('localAntoraContent');

task generateDocs(type: NpxTask) {
dependsOn npmInstall
@@ -24,7 +25,12 @@ task generateDocs(type: NpxTask) {
outputs.dir(siteOutputDir)

command = 'antora'
args = ['antora-playbook.yml', '--stacktrace']

if (localAntoraContent) {
args = ['antora-playbook-local.yml', '--stacktrace']
} else {
args = ['antora-playbook.yml', '--stacktrace']
}
}

task copySomeFiles(type: Copy) {
@@ -0,0 +1,4 @@
= Welcome to Apache James Project


This is a work in progress.

0 comments on commit cfe1da9

Please sign in to comment.