https://github.com/hawkular/hawkular.github.io
Web presence of Hawkular
https://github.com/hawkular/hawkular.github.io
Last synced: 8 months ago
JSON representation
Web presence of Hawkular
- Host: GitHub
- URL: https://github.com/hawkular/hawkular.github.io
- Owner: hawkular
- License: apache-2.0
- Created: 2015-01-13T15:33:36.000Z (over 11 years ago)
- Default Branch: pages
- Last Pushed: 2019-01-18T12:11:18.000Z (over 7 years ago)
- Last Synced: 2025-04-11T14:19:33.606Z (about 1 year ago)
- Language: CSS
- Size: 33 MB
- Stars: 9
- Watchers: 18
- Forks: 29
- Open Issues: 4
-
Metadata Files:
- Readme: README.adoc
- License: LICENSE
Awesome Lists containing this project
README
:title: hawkular.github.io
== Web presence of Hawkular
image:https://travis-ci.org/hawkular/hawkular.github.io.svg?branch=pages["Build Status", link="https://travis-ci.org/hawkular/hawkular.github.io"]
image:http://www.issuestats.com/github/hawkular/hawkular.github.io/badge/pr["PR Stats", link="http://www.issuestats.com/github/hawkular/hawkular.github.io"]
=== Description
When pushing a commit into this branch, the site is automatically built and published to http://hawkular.github.io
Most likely the content of the website you are looking for is link:src/main/jbake/content/[here].
=== Building the site on localhost
. `git clone https://github.com/hawkular/hawkular.github.io`
. `git checkout pages`
. Provided Maven is installed, run one of following commands:
* `mvn` Simply runs jbake and generate the site into `target/website` dir.
* `mvn -Pwatch` Polls a folder and run jbake whenever changes happen.
* `mvn -Pinline` Same as -Pwatch, but also launches an embedded winstone container that by default listens on http://localhost:8080. Additionally you may want to use `-Djbake.port=X -Djbake.listenAddress=Y`.
=== Variable Substitution
All files inside the link:src/main/jbake/templates/[templates] directory can contain `${config.property_name}` and all files in link:src/main/jbake/content/[content] can use `{property_name}`. The key-value pairs are declared in link:src/main/jbake/jbake.properties[jbake.properties] file, so for example with the "property_name" the line would look like `property_name=whatever` (no "config" prefix here).
NOTE: If you want to enforce the attribute substitution in Asciidoc, say, inside source block or other block, where the attribute substitution isn't enabled by detault, use `,subs="+attributes"` like in link:https://github.com/hawkular/hawkular.github.io/commit/77e929eb[here].