diff --git a/doc/function/get_mse_version.txt b/doc/function/get_mse_version.txt new file mode 100644 index 00000000..d8a79bd4 --- /dev/null +++ b/doc/function/get_mse_version.txt @@ -0,0 +1,7 @@ +Function: get_mse_version + +--Usage-- +> get_mse_version() + +Returns the current MSE app version in a string of the form: +"major.minor.patch" diff --git a/doc/function/index.txt b/doc/function/index.txt index 13ed7844..a2fab71f 100644 --- a/doc/function/index.txt +++ b/doc/function/index.txt @@ -109,6 +109,7 @@ These functions are built into the program, other [[type:function]]s can be defi | [[fun:write_set_file]] Write a MSE set file to the output directory. ! Other functions <<< +| [[fun:get_mse_version]] Get the MSE app version. | [[fun:trace]] Output a message for debugging purposes. | [[fun:assert]] Check a condition for debugging purposes. | [[fun:warning]] Output a warning message. diff --git a/tools/website/drupal/mse-drupal-modules/highlight.inc b/tools/website/drupal/mse-drupal-modules/highlight.inc index 2c9f908d..de16bb9f 100644 --- a/tools/website/drupal/mse-drupal-modules/highlight.inc +++ b/tools/website/drupal/mse-drupal-modules/highlight.inc @@ -100,6 +100,7 @@ $built_in_functions = array( 'write_image_file' =>'', 'write_set_file' =>'', // other + 'get_mse_version' =>'', 'trace' =>'', 'assert' =>'', 'exists_in_package' =>'',