Skip to content

Fix broken relrefs, wrong shortcode names, and malformed YAML blocking the Hugo build - #92

Merged
adil-aspose merged 3 commits into
mainfrom
fix/relref-and-misc-20261002140129
Oct 2, 2026
Merged

adil-aspose merged 3 commits into
mainfrom
fix/relref-and-misc-20261002140129

Conversation

@adil-aspose

Copy link
Copy Markdown
Contributor

Second wave of pre-existing content bugs found while validating the new deploy-product.yml pipeline. See commit message for full detail.

🤖 Generated with Claude Code

muqarrab-aspose and others added 3 commits October 1, 2026 09:54
Calls aspose-tutorials-workflows/deploy-product.yml directly for both
production and staging, instead of the manual two-stage pipeline
(copycat into tutorials.aspose.com + manual workflow_dispatch of
aspose-tutorials-workflows). workflow_dispatch only for now -- push
stays commented out until a manual run is verified clean.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Found while validating the new deploy-product.yml pipeline: pre-existing
content corruption (leaked LLM reasoning before the real opening tag,
scrambled wrapper tag order, a bogus closing tag on the void
products-backtop-button shortcode, or a mistyped closing-tag name)
that was never caught because nothing was running a real Hugo build
against this repo regularly. Fixed via the same validated fixers used
in the earlier cross-repo remediation (strip_leaked_preamble_text,
fix_hugo_header_position, fix_hugo_footer_position), each file
self-verified clean via validate_shortcode_nesting before being
written.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
…g the Hugo build

Second wave of pre-existing content bugs found while validating the new
deploy-product.yml pipeline, distinct from the shortcode-nesting pass:
broken internal relref targets (wrong/missing path prefix, or genuinely
dangling links to tutorials that were never written -- removed those),
a non-existent shortcode name typo'd into otherwise-correct content
(e.g. blocks/products/pf/backtop-button instead of the real
blocks/products/products-backtop-button), a fake Handlebars-style code
sample ({{#if}}/{{else}}/{{/if}}) mistakenly using Hugo's own shortcode
delimiter inside a C# code fence, leaked LLM reasoning mentioning a
closing tag inline mid-sentence (which Hugo's real scanner matches
regardless of line position, unlike this repo's own nesting validator),
and malformed YAML frontmatter (a prematurely-closed quote, and stray
trailing garbage characters) in FAQ schema blocks.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>

@muqarrab-aspose muqarrab-aspose left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Content-only fix: second wave of pre-existing bugs (broken relrefs, a typo d shortcode name, a fake Handlebars code sample colliding with Hugo shortcode syntax, leaked inline text, malformed YAML) found while validating the new deploy-product.yml pipeline. See commit message for detail.

@adil-aspose
adil-aspose merged commit d8970d8 into main Oct 2, 2026
1 check passed
@adil-aspose
adil-aspose deleted the fix/relref-and-misc-20261002140129 branch October 2, 2026 09:05
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.

2 participants