Commit Graph

20 Commits

Author SHA1 Message Date
Jamie Tanna b62fe59594 fix: remove references to "bot" (#39305)
We dropped the "bot" from our terminology long ago, but it looks like
we've got some outdated docs + code that reference it.

We should remove this to keep things consistent.

A `fix`, as we're changing the commit author's name, and log lines.

Co-authored-by: Claude Sonnet 5 <jamie.tanna+claude-code@mend.io>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-09-02 08:56:20 +00:00
Jamie Tanna 128f446e08 docs: ensure that config in documentation is error and warning free (#43727)
* docs: skip validation on JSON files that aren't Renovate config

As part of future changes, we'll enable validation on all JSON code
snippets to run Config Validation.

Before we do that, we should opt-out JSON snippets that aren't anything
related to Renovate config.

* docs: don't validate invalid Renovate config

As it's intentionally referencing a manager that doesn't exist.

* docs: don't validate partial Renovate config

As part of future changes, we'll enable validation on all JSON code
snippets to run Config Validation.

There are several code snippets we have that are part of a Renovate JSON,
but it doesn't make sense to convert these to a fully passing config, as
it'd reduce clarity on what we're trying to explain.

* docs: convert `baseBranchPatterns` snippets to code blocks

So we can validate them.

* docs: make sure that `datasourceTemplate` is set

So this passes validation.

* docs: clarify that `force` is global config

As it may not be clear, so we can make it extra clear with a `.js` file,
and note that it's global self-hosted config.

* docs: make sure `packageRules` is an array

* docs: `matchBaseBranches` needs `baseBranchPatterns` to be set

* docs: correct typo for `prBodyColumns`

* docs: mark global config snippets as such

As part of future changes, we'll use this to detect whether it's global
self-hosted configuration.

* docs: make sure `packageRules` wraps its children

* docs: add `allowedHeaders`

* docs: ignore deprecation warnings

As part of future changes, we'll use this to note that we don't care
about the validation warnings.

* docs: make sure `customManagers` wraps its children

* docs: make sure `fleet` wraps its children

* docs: validate JSON snippets are valid Renovate config

To make sure that we're always presenting valid JSON configuration to
our users, we can validate them as part of `check-fenced-code`.

As well as configuration errors we can warn for warnings, but allow code
blocks to opt-out, for instance when there's a known deprecation
affecting the code block.

We need to make sure to set `allowedEnv` for various code snippets that
reference environment variables.

* docs(development): document fenced code block checks

* docs: wrap `configType` and `ignoreConfigWarnings` in `{ ... }`

As otherwise we see build failures i.e.

    WARNING -  Doc file 'modules/platform/gitlab/index.md' contains a link
       '../../../self-hosted-configuration.md#autodiscoverrepoorder', but the doc
       'self-hosted-configuration.md' does not contain an anchor '#autodiscoverrepoorder'.

This needs to be wrapped alongside all other options like `title`.

* fixup! docs: wrap `configType` and `ignoreConfigWarnings` in `{ ... }`
2026-06-02 13:29:48 +00:00
RahulGautamSingh 35910b8c87 feat: add support for second file config (#37033)
Co-authored-by: Sebastian Poxhofer <secustor@users.noreply.github.com>
2025-08-11 09:14:55 +00:00
Jamie Haywood 178cc71838 feat(config): add .cjs file extension config support (#26075)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2023-12-01 13:07:10 +00:00
Rhys Arkins a4ab4523f8 feat(config)!: forkProcessing (#20759)
Removes "includeForks" option and replaces with "forkProcessing". New default behavior is to process forks if automerge=false.

Closes #20752

BREAKING CHANGE: Forked repos will now be processed automatically if autodiscover=false. includeForks is removed and replaced by new option forkProcessing.
2023-03-10 09:34:41 +01:00
HonkingGoose 789cf38d8b docs: use relative links for development docs (#15559)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-05-12 14:17:02 +02:00
Nejc Habjan 9aa97af5b3 feat(config)!: parse JSON5/YAML self-hosted admin config (#12644)
Adds support for alternative admin config file formats.

BREAKING CHANGE: Renovate will now fail if RENOVATE_CONFIG_FILE is specified without a file extension
2021-12-09 13:45:48 +01:00
Nejc Habjan 34f13fee3e test: enforce valid JSON in fenced markdown code blocks (#12196) 2021-11-11 11:11:55 +01:00
Rhys Arkins 56830ee86c refactor: admin->globalOnly 2021-08-17 07:57:45 +02:00
Rhys Arkins 750bc1656e refactor: config/definitions -> config/options 2021-08-17 07:57:45 +02:00
Rhys Arkins 23869a629c docs: fix $ prefix in docs 2021-03-09 22:58:00 +01:00
Michael Kriese 434fdbd4be feat: deprecated logLevel option (#8301)
* feat: deprecated logLevel option

* feat: deprecated logLevel option

* docs: update logging

* fix: remove log level env option

* Update warn

Co-authored-by: Rhys Arkins <rhys@arkins.net>
2021-01-19 09:29:45 +00:00
Rhys Arkins e77253208e fix: Revert "feat: deprecated logLevel option (#8293)"
This reverts commit 76ada5e7d5.
2021-01-14 15:12:53 +01:00
Michael Kriese 76ada5e7d5 feat: deprecated logLevel option (#8293)
* feat: deprecated logLevel option

* feat: deprecated logLevel option

* docs: update logging
2021-01-14 12:11:23 +00:00
HonkingGoose 06c9d9df33 docs: improve configuration development documentation (#7707)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-11-12 13:40:27 +01:00
HonkingGoose 8560b5d657 docs: remove punctuation from end of (un)ordered lists (#7669)
* fix bad indentation

* remove punctuation from end of (un)ordered lists
2020-11-06 12:00:57 +01:00
HonkingGoose 32dd490672 docs: use one sentence per line (#7625) 2020-11-02 09:52:37 +01:00
Nejc Habjan 0b5ee0b400 feat: allow config files in .gitlab directory (#5584) 2020-02-28 12:07:38 +01:00
Rhys Arkins 50e9a85961 docs: update development docs 2019-09-09 04:16:04 +02:00
Rhys Arkins af81448a87 docs: move to docs/development 2019-09-09 03:49:57 +02:00