Make the docs for a tox wrapper script clearer
[ci skip]
This commit is contained in:
parent
625a2c3060
commit
47480d07f0
@ -356,6 +356,20 @@ also typically means you'll be using an older release of QtWebEngine.
|
|||||||
On Windows, run `tox -e 'mkvenv-win' instead, however make sure that ONLY
|
On Windows, run `tox -e 'mkvenv-win' instead, however make sure that ONLY
|
||||||
Python3 is in your PATH before running tox.
|
Python3 is in your PATH before running tox.
|
||||||
|
|
||||||
|
Creating a wrapper script
|
||||||
|
~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
Running `tox` does not install a system-wide `qutebrowser` script. You can
|
||||||
|
launch qutebrowser by doing `.venv/bin/python3 -m qutebrowser`.
|
||||||
|
|
||||||
|
You can create a simple wrapper script to start qutebrowser somewhere in your
|
||||||
|
`$PATH` (e.g. `/usr/local/bin/qutebrowser` or `~/bin/qutebrowser`):
|
||||||
|
|
||||||
|
----
|
||||||
|
#!/bin/bash
|
||||||
|
~/path/to/qutebrowser/.venv/bin/python3 -m qutebrowser "$@"
|
||||||
|
----
|
||||||
|
|
||||||
Building the docs
|
Building the docs
|
||||||
~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
@ -368,17 +382,6 @@ Then, run:
|
|||||||
$ python3 scripts/asciidoc2html.py
|
$ python3 scripts/asciidoc2html.py
|
||||||
----
|
----
|
||||||
|
|
||||||
Creating a wrapper script
|
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
||||||
|
|
||||||
You can then create a simple wrapper script to start qutebrowser somewhere in
|
|
||||||
your `$PATH` (e.g. `/usr/local/bin/qutebrowser` or `~/bin/qutebrowser`):
|
|
||||||
|
|
||||||
----
|
|
||||||
#!/bin/bash
|
|
||||||
~/path/to/qutebrowser/.venv/bin/python3 -m qutebrowser "$@"
|
|
||||||
----
|
|
||||||
|
|
||||||
Updating
|
Updating
|
||||||
~~~~~~~~
|
~~~~~~~~
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user