mirror of
https://github.com/renovatebot/renovate.git
synced 2026-10-25 15:01:49 +00:00
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>
This commit is contained in:
@@ -76,9 +76,9 @@ Fill the array with alternate index URL(s).
|
||||
|
||||
<!-- prettier-ignore -->
|
||||
!!! tip
|
||||
If a `requirements.txt` file has an index-url then Renovate follows that link, instead of following any link set in the `registryUrls` array.
|
||||
To override the URL found in `requirements.txt`, you must create a custom `packageRules` setting.
|
||||
This is because `packageRules` are applied _after_ package file extraction.
|
||||
If a `requirements.txt` file has an index-url then Renovate follows that link, instead of following any link set in the `registryUrls` array.
|
||||
To override the URL found in `requirements.txt`, you must create a custom `packageRules` setting.
|
||||
This is because `packageRules` are applied _after_ package file extraction.
|
||||
|
||||
## Disabling Python support
|
||||
|
||||
|
||||
Reference in New Issue
Block a user