Repository navigation
Strip the smallest common indent from schema-row descriptions - #1799
Open
shadromani wants to merge 1 commit into
Open
shadromani wants to merge 1 commit into
shadromani wants to merge 1 commit into
Conversation
The Markdown schema-row partial removed exactly two leading spaces from each line of a field description. That is correct only while every row uses a two-space base indent. A row with a different indent lost its list nesting, or became an indented code block, and Hugo gave no error. Find the smallest indent of the non-blank lines and remove that amount. All current rows use a two-space or no indent, so the site output does not change. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
Deploying dev-site with
|
| Latest commit: |
cb38227
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://7b2c4096.dev-site-4ua.pages.dev |
| Branch Preview URL: | https://sromani-uhu-3499-the-markdow.dev-site-4ua.pages.dev |
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.
Fixes UHU-3499: https://linear.app/maxmind/issue/UHU-3499/the-markdown-build-keeps-the-nesting-of-schema-rows-with-any-indent
layouts/partials/markdown/schema-row.mdremoved exactly two leading spaces from each line of a field description. A row with a different indent lost its list nesting, or became a code block, and Hugo showed no error.Verified with a full build: the output is identical to
main. A row indented by four spaces with a nested list keeps its nesting. Lint passes.Follow-up to the review of #1771.
🤖 Generated with Claude Code