summaryrefslogtreecommitdiff
path: root/doc/examples/directives/include/greeting.bst
diff options
context:
space:
mode:
authorTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2020-04-12 23:01:52 +0900
committerTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2020-04-17 20:58:24 +0900
commit0060e692b73aa4544a35345b220256ae76486205 (patch)
tree86dc4e7ddf6cc0186771e5376d6a5e2a48511c66 /doc/examples/directives/include/greeting.bst
parent5e79a84af8e9904f21d70735b61e999cca81ed27 (diff)
downloadbuildstream-0060e692b73aa4544a35345b220256ae76486205.tar.gz
doc/examples/directives: Add user guide for using project options and directives
Diffstat (limited to 'doc/examples/directives/include/greeting.bst')
-rw-r--r--doc/examples/directives/include/greeting.bst16
1 files changed, 16 insertions, 0 deletions
diff --git a/doc/examples/directives/include/greeting.bst b/doc/examples/directives/include/greeting.bst
new file mode 100644
index 000000000..c5808d744
--- /dev/null
+++ b/doc/examples/directives/include/greeting.bst
@@ -0,0 +1,16 @@
+# We define the greeting message here conditionally
+(?):
+- flavor == "normal":
+ greeting: |
+
+ Hello world !
+
+- flavor == "somber":
+ greeting: |
+
+ Hey world.
+
+- flavor == "excited":
+ greeting: |
+
+ Howdy there, and what a world it is !