File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,6 +4,16 @@ root=$(pwd)
44
55IFS=$' \n ' read -d ' ' -r -a versions < docs-versions.txt
66
7+ echo " ===== DEBUG docs-versions.txt ====="
8+ cat -A docs-versions.txt
9+
10+ echo " ===== DEBUG versions array ====="
11+ for v in " ${versions[@]} " ; do
12+ echo " -> \" $v \" "
13+ done
14+
15+ echo " ==================================="
16+
717if [[ ! -d $root /docs.temp ]]; then
818 git clone --depth=1 https://github.com/api-platform/docs docs.temp
919 cd $root /docs.temp
Original file line number Diff line number Diff line change @@ -195,4 +195,8 @@ versions.forEach((version) => {
195195
196196menu += createMenu ( '' , 'current' , currentVersion )
197197
198+ console . log ( '\n================ FINAL GENERATED MENU ================\n' ) ;
199+ console . log ( menu ) ;
200+ console . log ( '\n======================================================\n' ) ;
201+
198202writeFileSync ( 'config/_default/menus.toml' , menu )
You can’t perform that action at this time.
0 commit comments