Skip to content

Commit

Permalink
renamed _json_data to help clear use
Browse files Browse the repository at this point in the history
  • Loading branch information
Tearran committed Dec 2, 2024
1 parent 89dff35 commit 3df0a29
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions tools/modules/docs/generate_json_data.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ module_options+=(
#
# Function to generate a JSON-like object file
#
function generate_json_options() {
function generate_json_data() {
local i=0

features=()
Expand Down Expand Up @@ -83,14 +83,16 @@ function generate_json_options() {
} | jq .
}

test_object() {
test_json_data() {
# Test Function

#generate_json_options > tools/json/config.temp.json
#json_file="$tools_dir/json/config.temp.json"

#json_data=$(<$json_file)
json_data=$(generate_json_options)
generate_menu "Modules" "$json_data"
#generate_top_menu "$json_data"

json_data=$(generate_json_data)
generate_menu "Modules" "$json_data"


}

0 comments on commit 3df0a29

Please sign in to comment.