Skip to content

Commit b222e66

Browse files
Fix sphinx warnings and made code block emphasize the relevant line
Signed-off-by: Shay Nehmad <shayn@recolabs.ai>
1 parent 367a0c0 commit b222e66

File tree

2 files changed

+14
-11
lines changed

2 files changed

+14
-11
lines changed

docs/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ Contents:
2424
quick-start
2525
api
2626
migrating
27+
troubleshooting
2728

2829

2930
If you still can't find what you're looking for, try in one of the following pages:

docs/troubleshooting.rst

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,19 @@ It seems like in some situations, installing and then updating ``betterproto`` i
1313

1414
To do that, run ``poetry env info`` to see the venv path:
1515

16-
```sh
17-
❯ poetry env info
18-
19-
Virtualenv
20-
Python: 3.8.7
21-
Implementation: CPython
22-
Path: /home/username/.cache/pypoetry/virtualenvs/project-name-random-py3.8 # <-- THIS PATH
23-
Valid: True
24-
```
25-
26-
Then just ``rm -rf`` that path to delete the venv, and re-create the env using `poetry shell` and `poetry install`.
16+
.. code-block:: shell
17+
:linenos:
18+
:emphasize-lines: 6
19+
20+
$ poetry env info
21+
22+
Virtualenv
23+
Python: 3.8.7
24+
Implementation: CPython
25+
Path: /home/username/.cache/pypoetry/virtualenvs/project-name-random-py3.8 # <-- THIS PATH
26+
Valid: True
27+
28+
Then just ``rm -rf`` that path to delete the venv, and re-create the env using ``poetry shell`` and ``poetry install``.
2729

2830
.. _Slack: https://join.slack.com/t/betterproto/shared_invite/zt-f0n0uolx-iN8gBNrkPxtKHTLpG3o1OQ
2931

0 commit comments

Comments
 (0)