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

NEW Add documentation linting option #112

Merged

Conversation

GuySartorelli
Copy link
Member

Description

Adds an option to opt out of documentation linting - not sure why anyone would since it's only added if you have the relevant config file, but this mirrors what we're doing with other things like php linting so makes sense to just keep with the way we're doing those.

Issues

@GuySartorelli GuySartorelli marked this pull request as draft April 3, 2024 04:02
@GuySartorelli GuySartorelli marked this pull request as ready for review April 3, 2024 22:04
README.md Outdated
@@ -75,6 +75,10 @@ Create a smaller matrix with only the lowest supported PHP and MySQL versions in
Dynamically generate a matrix using feature detection. If disabled, jobs must be defined using the extra_jobs input. Default is true, disable with:
`dynamic_matrix: false`

##### Documentation linting
Runs linting against documentation using [silverstripe/documentation-lint](https://github.com/silverstripe/documentation-lint/) if the `.ss-docs-lint` config file is available. Default is true, disable with:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Runs linting against documentation using [silverstripe/documentation-lint](https://github.com/silverstripe/documentation-lint/) if the `.ss-docs-lint` config file is available. Default is true, disable with:
Runs linting against documentation using [silverstripe/documentation-lint](https://github.com/silverstripe/documentation-lint/) if the `.doclintrc` config file is available. Default is true, disable with:

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@emteknetnz emteknetnz merged commit 7b5e31a into silverstripe:1 Apr 4, 2024
4 checks passed
@emteknetnz emteknetnz deleted the pulls/1/new-docs-linting branch April 4, 2024 21:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants