History

Adjust heading levels in docs (#7163)

This PR adjusts the heading levels in the docs, as some of them weren't following the right hierarchy. I also formatted all of the docs with Prettier. Release Notes: - N/A

Marshall Bowers committed 2 years ago

Commit 39200ec1 parent 6e443ac14 files · +144 −137Browse files

Showing the changes to docs/src/languages/python.md (1 of 14 files). Show all

Unified · Split

docs/src/languages/python.md+3−3
@@ -17,8 +17,8 @@ By default, the Pyright language server will look for Python packages in the def · 16 unmodified lines
1717
1818 To do this, create a JSON file called `pyrightconfig.json` at the root of your project. This file must include two keys:
1919
20−* `venvPath`: a relative path from your project directory to any directory that _contains_ one or more virtual environment directories
21−* `venv`: the name of a virtual environment directory
20+- `venvPath`: a relative path from your project directory to any directory that _contains_ one or more virtual environment directories
21+- `venv`: the name of a virtual environment directory
2222
2323 For example, a common approach is to create a virtual environment directory called `.venv` at the root of your project directory with the following commands:
2424
@@ -40,7 +40,7 @@ Having done that, you would create a `pyrightconfig.json` with the following con · 15 unmodified lines
4040
4141 ### Code formatting
4242
43−The Pyright language server does not provide code formatting. If you want to automatically reformat your Python code when saving, you'll need to specify an _external_code formatter in your settings. See the [configuration](../configuration/configuring-zed.md) documentation for more information.
43+The Pyright language server does not provide code formatting. If you want to automatically reformat your Python code when saving, you'll need to specify an \_external_code formatter in your settings. See the [configuration](../configuration/configuring-zed.md) documentation for more information.
4444
4545 A common tool for formatting python code is [Black](https://black.readthedocs.io/en/stable/). If you have Black installed globally, you can use it to format Python files by adding the following to your `settings.json`:
4646

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t