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
Docs: Programmatically update JSON schema URL #5894
Comments
Essentially a duplicate of #4162 if I'm not mistaken |
Hey @cortinico! I think this issue is purely about updating the Schema Store URL in the docs programmatically when we release a new detekt version and can be done in isolation. But maybe it would make more sense to tackle it only when the schema itself is being auto-generated as per the issue you linked. 🤔 Happy to close this if so. |
Yeah in general we need all the pipeline to generate & publish the json schema for each version |
@cortinico shall we keep this (duplicated) issue open, then? |
Nope we can close this. We'll keep #4162 to take care of all the JSON Schema related work |
Context
The JSON schema URL, specified in configurations.md, is now versioned. The docs were recently updated in #5881.
Expected Behavior
The URL should be programmatically updated when a new version of detekt is being prepared as part of PRs like this #5544. This would reduce the chance of it being forgotten and becoming out of date.
However, it's worth bearing in mind that the schema itself is not automatically generated as specified here:
detekt/website/docs/introduction/configurations.md
Line 191 in f081ebe
Current Behavior
The URL is manually updated.
The text was updated successfully, but these errors were encountered: