Topic docs ci markdownlint#6794
Open
vanshika2720 wants to merge 2 commits into
Open
Conversation
1eadbb7 to
f157be2
Compare
Signed-off-by: Vanshika <pahalvanshikaa@gmail.com>
59bbef6 to
001bc8f
Compare
Author
Contributor
|
why do we need this? |
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.
Description
This PR introduces:
for PipeCD developer documentation in a non-disruptive and incremental way.
The workflow adds automated Markdown linting for:
to help catch common documentation issues such as:
before changes are merged.
The initial configuration intentionally relaxes several noisy legacy and Hugo-incompatible rules to avoid large-scale formatting churn across the existing documentation while still establishing a strong CI foundation for future incremental documentation quality improvements.
Changes Proposed
GitHub Actions Workflow
Added:
Workflow behavior
The workflow:
markdownlint-cli2Target scope:
Markdownlint Configuration
Added:
Configuration goals
The configuration is designed to:
Temporarily relaxed rules
Examples include:
MD013— line lengthMD033— inline HTMLMD040— fenced code languageThis keeps the rollout practical while still enforcing:
Verification
Verified locally using:
markdownlint-cli2 "docs/content/en/docs-dev/**/*.md"Output
Why this is valuable
This improves documentation DX by:
This also prepares the documentation system for:
Safety
This PR only introduces:
It does not affect:
No production application behavior is modified.