Update broken links in the documentation (#12677)

## Summary

Running `mkdocs server -f mkdocs.insiders.yml` gave warnings about these
broken links.

## Test plan

I built the docs locally and verified that the updated links work
properly.
This commit is contained in:
Dhruv Manilawala 2024-08-05 11:05:23 +05:30 committed by GitHub
parent 2c79045342
commit 82e69ebf23
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 12 additions and 10 deletions

View file

@ -381,7 +381,7 @@ You can also change the default selection using the [`include`](settings.md#incl
Ruff has built-in support for [Jupyter Notebooks](https://jupyter.org/).
!!! info
Notebooks are linted and formatted by default when using [preview mode](preview).
Notebooks are linted and formatted by default when using [preview mode](preview.md).
You can opt-out of notebook linting and formatting by adding `*.ipynb` to [`extend-exclude`](settings.md#extend-exclude).
To opt in to linting and formatting Jupyter Notebook (`.ipynb`) files, add the `*.ipynb` pattern to

View file

@ -235,9 +235,8 @@ You may use prefixes to select rules as well, e.g., `F` can be used to promote f
### Disabling fixes
To limit the set of rules that Ruff should fix, use the [`lint.fixable`](settings.md#lint_fixable) and
[`lint.unfixable`](settings.md#lint_unfixable) settings, along with their [`lint.extend-fixable`](settings.md#lint_extend-fixable)
and [`lint.extend-unfixable`](settings.md#lint_extend-unfixable) variants.
To limit the set of rules that Ruff should fix, use the [`lint.fixable`](settings.md#lint_fixable)
or [`lint.extend-fixable`](settings.md#lint_extend-fixable), and [`lint.unfixable`](settings.md#lint_unfixable) settings.
For example, the following configuration would enable fixes for all rules except
[`unused-imports`](rules/unused-import.md) (`F401`):