Repository navigation
Fix broken relrefs, wrong shortcode names, and malformed YAML blocking the Hugo build - #283
Closed
adil-aspose wants to merge 3 commits into
Closed
adil-aspose wants to merge 3 commits into
adil-aspose wants to merge 3 commits into
Conversation
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
approved these changes
Oct 2, 2026
muqarrab-aspose
left a comment
Collaborator
There was a problem hiding this comment.
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.
Contributor
Author
|
Superseding with a fresh branch based on current main to avoid merge conflicts with concurrent automated PRs. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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