Commit 20ac3645 authored by Pierre Smeyers's avatar Pierre Smeyers
Browse files

debug: dump generated TOC

parent 6020eb4a
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -206,7 +206,6 @@ function build_aggregated_json() {
function build_aggregated_toc() {
  log_info "--- Generating aggregated documentation TOC..."
  toc_file="$tmp_dir/toc.md"

  {
    echo "- Templates Reference:"
    if [[ -f "$tmp_dir/toc/build" ]]; then
@@ -238,7 +237,7 @@ function build_aggregated_toc() {
      sort "$tmp_dir/toc/others" | sed 's/^/    /'
    fi
  } > "$toc_file"

  cat "$toc_file"
}

# API url default to local GitLab instance