Website sources for the Apache Jena website

Clone this repo:
  1. 24c7c85 Merge pull request #27 from LorenzBuehmann/patch-1 by Andy Seaborne · 4 weeks ago master
  2. c5e6489 GeoSPARQL doc extra notes on `jena-spatial` setup. by GregAlbo · 4 weeks ago
  3. 566b1c8 Remove 3.0.0-3.1.0 documentation by Andy Seaborne · 6 weeks ago
  4. 8e8cb04 Correct srv:serviceContext by Andy Seaborne · 6 weeks ago
  5. 4446550 Added note about TDB2 option. by GregAlbo · 6 weeks ago

Apache Jena website

This is the source code for the website of Apache Jena, hosted at:

https://jena.apache.org/

Repository structure

This repository uses 3 branches for building the website.

  • The master branch, which contains all the sources for the website.
  • The asf-site branch, which contains the generated website being used for the actual website.
  • The javadoc branch, which has the javadoc to be published at

When contributing patches, please create pull requests for the master branch.

Content Management System

The website uses Hugo as static website generator. See Hugo for more info and for details how to install Hugo.

Generate the website

To generate the static website, execute hugo to generate and serve the website on localhost:1313.

During development, it may be useful to run an incremental build. For this to work, execute hugo server -D to continuously generate and serve the website on localhost:1313.

Building and publishing the website

The ASF Jenkins Jena_Site job is used for generating the website and committing the generated site to the asf-site branch.

Separately, javadoc for a release is committed into the javadoc branch during the release process.

gitpubsub is used to publish the site, using the content from the asf-site and javadoc branches.

ASF Jenkins job

The Jenkinsfile was contributed in https://github.com/apache/jena-site/pull/17 (July 2020).

Steps to do to setup the Jenkins job:

  • Create a new multibranch pipeline (e.g. ‘Jena_Site’).

  • Branch source -> git

  • Set the gitbox url -> https://gitbox.apache.org/repos/asf/jena-site.git and use the jenkins (master pub key) credentials.

  • In the ‘Scan Multibranch Pipeline Triggers’ check the ‘Periodically if not otherwise run’ checkbox and enter a sane value (e.g. 15 minutes). This is needed because webhooks are not delivered to ci-builds (yet - 2020-07-28).

  • Save the job and click the ‘Scan Multibranch Pipeline Now’ button to trigger an initial scan. A first run may also happen as the SCM polls.

It is at this point that it gets the label git-websites so the first job may have run on the wrong node.