Commit Graph

13 Commits

Author SHA1 Message Date
Sebastian Poxhofer 9a27d7aa78 ci(prettier): add prettier plugin for admonitions (#43615)
* ci: add local mkdocs-admonitions plugin for prettier to allow admonition preservation

* docs: remove uses of `prettier-ignore` for admonitions

* test: rather use await expect

* chore: use named group exclusively
2026-05-27 09:39:52 +00:00
Jamie Tanna 4b0146ab7b docs: use 2-space indentation for Markdown (#43537)
As noted in #39090, MkDocs requires 4 spaces for indentation (in
particular, for nested lists) whereas our Prettier/markdownlint
configuration expects 2 spaces.

This means that when trying to use i.e. nested lists, we need to ignore
prettier and markdownlint, otherwise it fails.

To handle this, we can add a Markdown hook to override the indentation
level to 2 spaces.

This also requires we update:

- admonitions
- indented text in `index.md`

Co-authored-by: Claude Sonnet 4.6 <jamie.tanna+claude-code@mend.io>
2026-05-26 09:05:42 +00:00
Jamie Tanna 107fcfd3f3 docs(mend-hosted): how to perform config validation (#40441)
It's a somewhat commonly asked question, and has been something I've
been meaning to officially document since mid-November.
2026-03-30 16:50:24 +00:00
Jamie Tanna 30b74215cb docs(config-validation): note the behaviour of --no-global (#40584) 2026-01-26 19:11:19 +00:00
Jamie Tanna 89db243cbd docs(config-validation): clarify reconfigure branch works only on base repo (#40452) 2026-01-23 18:41:12 +00:00
Jamie Tanna 239b94f655 feat(renovate-config-validator): detect global environment options (#40534)
feat(renovate-config-validator): automagically detect global configuration

A long-standing issue with `renovate-config-validator` has been that
setting global configuration options such as `RENOVATE_ALLOWED_ENV` or
`RENOVATE_ALLOWED_COMMANDS` has no effect.

To make it possible to validate alongside the `config.js` (or other
self-hosted global configuration) as well as setting environment
variables while performing validation, we can ensure that we partially
initialise the `GlobalConfig`.

We can also make sure that this is documented as part of this change.

Functionality such as authenticating to the platform to retrieve remote
presets will be done at a future point.
2026-01-22 19:58:12 +00:00
RahulGautamSingh a86b32ea0f feat: configurable repo config filenames (#36644)
* feat: configurable repo config filenames

* docs: configFileNames

* fix tests

* update tests

* fix coverage

* Apply Suggestions

* refactor: remove platform-based filename filtering

* docs

* refactor

* docs: add note for config-validator use

* feat: add inherited config support

* fix: build

* fix lint

* fix test
2025-10-20 06:19:01 +00:00
Róbert Papp eadca27384 docs(validator): Recommend npx to run validator (#26628)
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2024-02-18 15:56:24 +00:00
RahulGautamSingh 32340dbc47 feat(config): validate reconfigure branch (#24699)
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Sebastian Poxhofer <secustor@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2023-11-03 13:31:49 +00:00
Daniel Koch 947e5f9392 docs: fix small typo in code example (#25535)
Co-authored-by: Daniel Koch <Daniel.Koch@arineo.com>
2023-11-03 09:02:28 -04:00
HonkingGoose 1fae51ed29 docs(config validation): rewrite (#22689) 2023-09-16 07:49:49 +00:00
Florian Greinacher 7b7670c2e4 feat(config-validator): add --strict option (#23677) 2023-08-03 12:26:43 +00:00
Florian Greinacher ad78e851aa docs: add config-validation chapter (#21969)
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
2023-05-09 03:38:37 +00:00