Improving documentation quality with automated Markdown checks #54833
Replies: 2 comments 1 reply
-
|
I really like the idea of automated Markdown checks for documentation quality. In my experience, many projects start with good docs but over time formatting becomes inconsistent — broken links, incorrect headings, or missing sections. We recently started applying something similar while organizing documentation for a small website project called Fixit Home (it’s a service website for things like flooring, carpets, curtains, etc.). Even though it’s not a large open-source project, using automated Markdown checks helped us keep things consistent across guides and internal documentation. A few things that helped us: Markdown linting to enforce heading structure Automated checks for broken links Standard templates for documentation pages CI checks before merging updates It reduced a lot of manual review work and made documentation easier to maintain. I think integrating these checks into CI pipelines is especially useful for teams where multiple contributors are editing docs. Curious what tools others here are using for automated Markdown validation? |
Beta Was this translation helpful? Give feedback.
-
|
We should be using a standardized tool for this rather than writing a script. There are a few projects that are already doing markdown linting. The website is going to be a challenge. Enforcement like this can be really hard to retroactively implement. There is just so much existing markdown that even enabling one check at a time is going to result in a large diff. There's also the issue of contributor frustration when they submit something that renders fine, but then are given the feedback that it is not "correct". That can turn some people away. Personally, I do like having at least some of the validation. Just because something renders correctly today doesn't mean the rendering library might get updated and break the support for the "incorrect" formatting. But if we are going to start linting some rules in the website I think we will need to be very cautious and very choosy about what things we enable. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone 👋
While exploring and contributing to the Kubernetes documentation recently, I noticed that the repository contains a large number of Markdown files spread across different sections of the docs. With so many contributors working on documentation, it can sometimes be easy for small formatting inconsistencies to slip in over time.
For example:
These are small issues individually, but across a large documentation project they can slowly impact readability and consistency.
I was curious to hear how the community currently approaches this. Are there existing tools or workflows used by contributors to validate Markdown formatting before submitting a PR?
One idea that came to mind was introducing a lightweight validation script or automated check that could help contributors catch these kinds of issues locally. This could potentially make documentation reviews a bit smoother and help maintain consistent formatting across the repo.
I'm interested in hearing thoughts from maintainers and other contributors here:
Looking forward to hearing your perspectives!
Beta Was this translation helpful? Give feedback.
All reactions