ruff/docs
Dhruv Manilawala 648cca199b
Add docs for Ruff language server (#12344)
## Summary

This PR adds documentation for the Ruff language server.

It mainly does the following:
1. Combines various READMEs containing instructions for different editor
setup in their respective section on the online docs
2. Provide an enumerated list of server settings. Additionally, it also
provides a section for VS Code specific options.
3. Adds a "Features" section which enumerates all the current
capabilities of the native server

For (2), the settings documentation is done manually but a future
improvement (easier after `ruff-lsp` is deprecated) is to move the docs
in to Rust struct and generate the documentation from the code itself.
And, the VS Code extension specific options can be generated by diffing
against the `package.json` in `ruff-vscode` repository.

### Structure

1. Setup: This section contains the configuration for setting up the
language server for different editors
2. Features: This section contains a list of capabilities provided by
the server along with short GIF to showcase it
3. Settings: This section contains an enumerated list of settings in a
similar format to the one for the linter / formatter
4. Migrating from `ruff-lsp`

> [!NOTE]
>
> The settings page is manually written but could possibly be
auto-generated via a macro similar to `OptionsMetadata` on the
`ClientSettings` struct

resolves: #11217 

## Test Plan

Generate and open the documentation locally using:
1. `python scripts/generate_mkdocs.py`
2. `mkdocs serve -f mkdocs.insiders.yml`
2024-07-18 17:41:43 +05:30
..
.overrides/partials/integrations/analytics Move some MkDocs responsibilities around (#5542) 2023-07-05 22:06:01 +00:00
assets Update docs to match updated logo and color palette (#5283) 2023-06-22 11:19:34 -04:00
editors Add docs for Ruff language server (#12344) 2024-07-18 17:41:43 +05:30
formatter Correct parenthesized long nested-expressions example to match Ruff's output (#12153) 2024-07-03 10:03:08 +02:00
stylesheets fix(docs): admonition in dark mode (#9502) 2024-01-13 07:43:13 -05:00
.gitignore Add docs for Ruff language server (#12344) 2024-07-18 17:41:43 +05:30
configuration.md [Docs] Clear instruction for single quotes (linter and formatter) (#12015) 2024-07-10 16:29:29 +00:00
faq.md docs(*): fix a few typos, consistency issues and links (#12193) 2024-07-04 19:05:51 -04:00
formatter.md docs: `Lint` -> `Format` in formatter.md (#10777) 2024-04-04 16:50:55 +00:00
installation.md Move SELinux docs to example (#12211) 2024-07-05 20:42:43 +00:00
integrations.md Add docs for Ruff language server (#12344) 2024-07-18 17:41:43 +05:30
linter.md `docs`: remove `.` from check and format commands (#10217) 2024-03-13 10:10:48 -05:00
preview.md Spellcheck & grammar (#10375) 2024-03-13 02:34:23 +00:00
requirements-insiders.txt Add a formatting step using `mdformat` as part of `generate_mkdocs.py` (#10484) 2024-03-21 00:37:40 +00:00
requirements.txt Add a formatting step using `mdformat` as part of `generate_mkdocs.py` (#10484) 2024-03-21 00:37:40 +00:00
tutorial.md Update number of implemented rules to "over 800" (#10500) 2024-03-20 22:39:37 -04:00
versioning.md Spellcheck & grammar (#10375) 2024-03-13 02:34:23 +00:00