docs: use python to highlight requirements and use more content tabs (#6549)
## Summary It appears that using `python` for code blocks containing requirements works quite well.   Also using more content tabs for cases where we need to differentiate macOS/Linux from Windows. ## Test Plan Local run of the documentation.
This commit is contained in:
committed by
GitHub
parent
6a988aca55
commit
fd17f6d902
@@ -70,7 +70,7 @@ was usually limited to single environment, which one specific architecture, oper
|
||||
version, and Python implementation. Some packages use contradictory requirements for different
|
||||
environments, for example:
|
||||
|
||||
```text
|
||||
```python
|
||||
numpy>=2,<3 ; python_version >= "3.11"
|
||||
numpy>=1.16,<2 ; python_version < "3.11"
|
||||
```
|
||||
@@ -85,7 +85,7 @@ In the above example, the partial solution would be split into two resolutions,
|
||||
If markers overlap or are missing a part of the marker space, the resolver splits additional times —
|
||||
there can be many forks per package. For example, given:
|
||||
|
||||
```text
|
||||
```python
|
||||
flask > 1 ; sys_platform == 'darwin'
|
||||
flask > 2 ; sys_platform == 'win32'
|
||||
flask
|
||||
|
||||
Reference in New Issue
Block a user