mirror of
https://github.com/renovatebot/renovate.git
synced 2026-10-25 15:01:49 +00:00
8108714fc3
* docs: correct `onboardingConfig` example As we'll be enforcing this as valid Global config in future commits. Co-authored-by: Claude Sonnet 5 <jamie.tanna+claude-code@mend.io> * docs: correct `module.exports` syntax As we'll be enforcing this as valid Global config in future commits. Co-authored-by: Claude Sonnet 5 <jamie.tanna+claude-code@mend.io> * docs: completely skip `doc-fence-check` on code blocks only used for synatx highlighting Co-authored-by: Claude Sonnet 5 <jamie.tanna+claude-code@mend.io> * docs: skip schema validation on non-config snippets As we'll be enforcing this as valid Global config in future commits. Co-authored-by: Claude Sonnet 5 <jamie.tanna+claude-code@mend.io> * chore(tools/doc-fence-check): validate JSONC and Javascript code blocks To further ensure that our documentation is well-formed, we can validate that JSONC and Javascript code blocks are well-formed syntactically, and are valid Renovate configuration. Co-authored-by: Claude Sonnet 5 <jamie.tanna+claude-code@mend.io> * chore(tools/doc-fence-check): allow opting out of syntax validation On top of schema validation wanting to be disabled, we should also support disabling the syntax validation, in the case that we're using `json` code blocks for syntax highlighting, but they're not necessarily well-formed JSON. Co-authored-by: Claude Sonnet 5 <jamie.tanna+claude-code@mend.io> * docs: use `json` syntax highlighting As `jsonc` doesn't seem to exist in Material for MkDocs. As it's only for syntax highlighting, we need to opt out of validation. * tsc --------- Co-authored-by: Claude Sonnet 5 <jamie.tanna+claude-code@mend.io>