Skip to content

fix(s4hc): canonical ACCORDION step format so steps parse - #24260

Merged
jung-thomas merged 1 commit into
masterfrom
fix/s4hc-abap-create-custom-api-accordion-format
Oct 23, 2026
Merged

jung-thomas merged 1 commit into
masterfrom
fix/s4hc-abap-create-custom-api-accordion-format

Conversation

@jung-thomas

Copy link
Copy Markdown
Contributor

What

The tutorial s4hc-abap-environment-create-custom-api renders as BROKEN (0 steps, 404 on the live site) even though it has 7 real steps.

Root cause

The 7 [ACCORDION-BEGIN] lines use the non-canonical format [Step N: Title](Title) (title inside the bracket). The v1 parser regex expects the canonical [Step N: ](Title) form (empty before ]), so it matches 0 steps and the tutorial is quarantined with Invalid stepCount value: 0. Of ~319 accordion lines across the corpus, only these 7 use the broken variant.

Fix

Reformat all 7 step headings to canonical [Step N: ](Title). Verified to parse to 7 steps. No content changed — only the title position in the heading.


One half of a mirrored pair (sap-tutorials/Tutorials ⇄ Tutorials-Contribution).

Mirror PR: https://github.com/sap-tutorials/Tutorials-Contribution/pull/42183

@sap-tutorials-builder

Copy link
Copy Markdown
Contributor

Content (6)

  • tutorials/s4hc-abap-environment-create-custom-api/s4hc-abap-environment-create-custom-api.md:1 — Required frontmatter field missing or empty: author_name
  • tutorials/s4hc-abap-environment-create-custom-api/s4hc-abap-environment-create-custom-api.md:1 — Required frontmatter field missing or empty: author_profile
  • tutorials/s4hc-abap-environment-create-custom-api/s4hc-abap-environment-create-custom-api.md:1 — Missing '## You will learn' section
  • tutorials/s4hc-abap-environment-create-custom-api/s4hc-abap-environment-create-custom-api.md:125 — [VALIDATE] block at line 125 has no ###Question — it will be silently dropped by the parser
  • tutorials/s4hc-abap-environment-create-custom-api/s4hc-abap-environment-create-custom-api.md:125 — [VALIDATE] text-type block at line 125 has no ###Match content — it will be silently dropped by the parser
  • tutorials/s4hc-abap-environment-create-custom-api/s4hc-abap-environment-create-custom-api.md:1 — Tag not in canonical taxonomy: software-product>sap-s-4hana-cloud

Checked 7fccf70 • notify-only, does not block merge

@jung-thomas
jung-thomas merged commit 326a609 into master Oct 23, 2026
1 check passed
@jung-thomas
jung-thomas deleted the fix/s4hc-abap-create-custom-api-accordion-format branch October 23, 2026 13:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant