This is the source code for the website of Apache Celix, hosted at:
https://celix.apache.org/
This repository uses 2 branches for serving 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 Celix website.
When contributing patches, apply them to the master
branch. Jenkins will then regenerate the website
and commit the changes to the asf-site
branch.
The Celix website uses Hugo as static website generator. See Hugo for more info and for details how to install Hugo.
- Run
git submodule init
andgit submodule update
to retrieve the Celix sources. - Run
./extract_celix_docs.sh "<version number>"
to copy the markdown files from the Celix main repository to the site repository. - Create a docs.md in the just updated celix documentation at `source/docs/X.Y.Z/docs.md. The docs.md can be based on the previous celix documentations docs.md file.
- Run
./generate_celix_doxygen.sh "<version number>"
to generate the Doxygen pages for the specified Celix release.
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
.
Jenkins is used for generating the website and committing the generated site to the asf-site
branch.