Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Research: How can we add linting for front matter #7

Open
imsingh opened this issue Jul 1, 2022 · 2 comments
Open

Research: How can we add linting for front matter #7

imsingh opened this issue Jul 1, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@imsingh
Copy link

imsingh commented Jul 1, 2022

We should add frontmatter linting or validation to make sure certain frontmatter is always on each doc page. For instance, if we want a description on every page, we can add a linter to make sure everyone follows this guideline.

cc @iamrajiv @oleg-nenashev @vadasambar

@imsingh imsingh added the enhancement New feature or request label Jul 1, 2022
@oleg-nenashev
Copy link
Contributor

To be honest I would be careful with standardizing content formatting in a big community. Some maintenance of integration services may have strong and different opinions of how the content should be formatted. And these opinions might be different.

We could of course enforce some rules that impact the stability and visualization, but I would be careful with just syntax.

A solution for that could be a set of template GitHub action checks with some usage documentation. There are plenty of markdown lint steps out there, so having a common template in .github would be nice anyway.

@aepfli
Copy link

aepfli commented Jul 4, 2022

regarding markdownlint, I can also highlight keptn/keptn.github.io#1235 - which would also provide a make target for local development, hence that makes it easier for local usage. Regarding rules I have to agree with @oleg-nenashev, I would use it to prevent general structural errors, but would not go too heavy on standard formatting.

@iamrajiv iamrajiv changed the title Research: How can we add linting for frontmatter Research: How can we add linting for front matter Jul 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants