Coder Social home page Coder Social logo

sszuev / jena-site Goto Github PK

View Code? Open in Web Editor NEW

This project forked from apache/jena-site

0.0 0.0 0.0 18.32 MB

Website sources for the Apache Jena website

Home Page: https://jena.apache.org/

License: Apache License 2.0

Shell 0.32% JavaScript 11.51% CSS 9.55% HTML 71.86% SCSS 6.76%

jena-site's Introduction

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 published website.

  • The main 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 as part of the main website under documentation/javadoc/

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

Additionally the repository also has a asf-staging branch that can be used to preview website changes prior to publishing them to the main website. Any branch other than main that has a Jenkinsfile present in it will automatically be staged at https://jena.staged.apache.org, the Javadoc from the javadoc branch is also automatically staged into this staging site.

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 apache#17 (July 2020).

Steps to set up 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 (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.

jena-site's People

Contributors

afs avatar rvesse avatar kinow avatar claudenw avatar ajs6f avatar ebremer avatar stephen-allen avatar galbiston avatar oyvindlgjesdal avatar aklakan avatar rlenferink avatar osma avatar jmkeil avatar jiezhi avatar simonbin avatar leonpoon avatar eroux avatar den1s0v avatar rybesh avatar bobdc avatar xristy avatar mgillis avatar furkanakkurt1335 avatar lorenzbuehmann avatar lolgab avatar micahcochran avatar michaelwechner avatar nicholascar avatar ostrzyciel avatar robbe-haesendonck avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.