commit | c7b0ce579681a5e6fba73cf8ed3699367e4fb130 | [log] [tgz] |
---|---|---|
author | Julian Feinauer <j.feinauer@pragmaticminds.de> | Wed Apr 03 18:16:54 2019 +0200 |
committer | Julian Feinauer <j.feinauer@pragmaticminds.de> | Wed Apr 03 18:16:54 2019 +0200 |
tree | d77f24815c2b9299d333b829c6dca00e5958237d | |
parent | 3c5ace42719f960199b9de0bba2cda5936f56409 [diff] |
Use "bundle exec" in front of jekyll, to make it more robust (see https://stackoverflow.com/questions/6317980/you-have-already-activated-x-but-your-gemfile-requires-y).
http://edgent.incubator.apache.org/
This procedure was borrowed in part from the Apache Apex site except we use Jekyll.
The master
branch of this repo contains the source files that are used to generate the HTML that ultimately gets pushed to the incubator site. The asf-site
branch is where the actual generated files are stored. Note that this branch must contain exactly one folder called content
, and so has been checked out as an orphan branch with its own commit history apart from the master
branch. See the Contributing section below.
Through a gitpubsub mechanism on the apache.org server, files are taken from the asf-site
branch and pushed to the live server.
If you would like to make a change to the site:
master
If you are a committer, do the following:
build.sh
from the master branch directory (requires Jekyll). This checks out and updates the asf-site
branch with a new commit of the build from the current branch.asf-site
branch. Simply push this branch to the asf remote with git push origin asf-site
and the site will automatically be updated within seconds.Note: If you want to try out the website locally on the asf-site branch before you push, you can do so with jekyll serve -d content --skip-initial-build
and point your browser to http://localhost:4000
.
The website utilizes Markdown as the basis for website content. This cheatsheet may prove useful.
In order to ensure a consistent user experience, these guidelines should be followed:
##
in order to have them be automatically added to the Table of Contents##
to ####
.`
```
, and if applicable, specify the language for syntax highlightingsite
directory: cd site
jekyll serve
http://localhost:4000