Skip to content

Commit 55b8b32

Browse files
authored
Merge pull request #973 from meowmeowmeowcat/patch-1
direct-url: Wrap `pip` commands with backticks
2 parents f6a4e8d + 89b0fd9 commit 55b8b32

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

source/specifications/direct-url.rst

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -278,18 +278,18 @@ Example pip commands and their effect on direct_url.json
278278

279279
Commands that generate a ``direct_url.json``:
280280

281-
* pip install https://example.com/app-1.0.tgz
282-
* pip install https://example.com/app-1.0.whl
283-
* pip install "git+https://example.com/repo/app.git#egg=app&subdirectory=setup"
284-
* pip install ./app
285-
* pip install file:///home/user/app
286-
* pip install --editable "git+https://example.com/repo/app.git#egg=app&subdirectory=setup"
281+
* ``pip install https://example.com/app-1.0.tgz``
282+
* ``pip install https://example.com/app-1.0.whl``
283+
* ``pip install "git+https://example.com/repo/app.git#egg=app&subdirectory=setup"``
284+
* ``pip install ./app``
285+
* ``pip install file:///home/user/app``
286+
* ``pip install --editable "git+https://example.com/repo/app.git#egg=app&subdirectory=setup"``
287287
(in which case, ``url`` will be the local directory where the git repository has been
288288
cloned to, and ``dir_info`` will be present with ``"editable": true`` and no
289289
``vcs_info`` will be set)
290-
* pip install -e ./app
290+
* ``pip install -e ./app``
291291

292292
Commands that *do not* generate a ``direct_url.json``
293293

294-
* pip install app
295-
* pip install app --no-index --find-links https://example.com/
294+
* ``pip install app``
295+
* ``pip install app --no-index --find-links https://example.com/``

0 commit comments

Comments
 (0)