tree: 94fc3d24934c1de2345a06440345d59e9fc6fd58 [path history] [tgz]
  1. archetypes/
  2. layouts/
  3. source/
  4. static/
  5. .asf.yaml
  6. .gitignore
  7. .gitmodules
  8. extract_celix_docs.sh
  9. hugo.toml
  10. Jenkinsfile
  11. JenkinsfileDoxygen
  12. LICENSE
  13. netlify.toml
  14. README.md
README.md

Apache Celix website

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

https://celix.apache.org/

Repository structure

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.

Content Management System

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

Generate the website

Copy documentation dir from celix repo

  • Run git submodule init and git 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.

Doxygen documentation

  • Run ./generate_celix_doxygen.sh "<version number>" to generate the Doxygen pages for the specified Celix release.

Generate the static 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.

Publish the website

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