diff options
author | Florian Bruhin <me@the-compiler.org> | 2022-12-12 11:04:59 +0100 |
---|---|---|
committer | Florian Bruhin <me@the-compiler.org> | 2022-12-12 11:06:28 +0100 |
commit | af176f749fd7f5521d3978e268a1fad169ac2bd4 (patch) | |
tree | 1bf135e34b77d44ea0336b1f39fb2006d58e2206 /doc | |
parent | b63cdf19f4691b3dfcab1fbad97c7289be568a03 (diff) | |
download | qutebrowser-af176f749fd7f5521d3978e268a1fad169ac2bd4.tar.gz qutebrowser-af176f749fd7f5521d3978e268a1fad169ac2bd4.zip |
scripts: Use pip-installed asciidoc
Fixes #7352, closes #6793
Diffstat (limited to 'doc')
-rw-r--r-- | doc/install.asciidoc | 18 |
1 files changed, 3 insertions, 15 deletions
diff --git a/doc/install.asciidoc b/doc/install.asciidoc index bbf7ab62f..da211d850 100644 --- a/doc/install.asciidoc +++ b/doc/install.asciidoc @@ -48,7 +48,7 @@ instructions! Note you'll need some basic libraries to use the virtualenv-installed PyQt: ---- -# apt install --no-install-recommends git ca-certificates python3 python3-venv asciidoc libglib2.0-0 libgl1 libfontconfig1 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-shape0 libxcb-xfixes0 libxcb-xinerama0 libxcb-xkb1 libxkbcommon-x11-0 libdbus-1-3 libyaml-dev gcc python3-dev libnss3 libasound2 +# apt install --no-install-recommends git ca-certificates python3 python3-venv libglib2.0-0 libgl1 libfontconfig1 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-shape0 libxcb-xfixes0 libxcb-xinerama0 libxcb-xkb1 libxkbcommon-x11-0 libdbus-1-3 libyaml-dev gcc python3-dev libnss3 libasound2 ---- // FIXME not needed anymore? @@ -72,7 +72,7 @@ qutebrowser in a virtualenv>> with a newer PyQt/Qt binary instead. Note you'll need some basic libraries to use the virtualenv-installed PyQt: ---- -# apt install --no-install-recommends git ca-certificates python3 python3-venv asciidoc libglib2.0-0 libgl1 libfontconfig1 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-shape0 libxcb-xfixes0 libxcb-xinerama0 libxcb-xkb1 libxkbcommon-x11-0 libdbus-1-3 libyaml-dev gcc python3-dev libnss3 libasound2 +# apt install --no-install-recommends git ca-certificates python3 python3-venv libglib2.0-0 libgl1 libfontconfig1 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-shape0 libxcb-xfixes0 libxcb-xinerama0 libxcb-xkb1 libxkbcommon-x11-0 libdbus-1-3 libyaml-dev gcc python3-dev libnss3 libasound2 ---- Ubuntu 20.04 LTS / Linux Mint 20 (or newer) @@ -93,7 +93,7 @@ Additional hints this for you): + ---- -# apt install --no-install-recommends asciidoc +$ pip install -r misc/requirements/requirements-docs.txt # or install asciidoc manually $ python3 scripts/asciidoc2html.py ---- @@ -514,18 +514,6 @@ You can create a simple wrapper script to start qutebrowser somewhere in your ~/path/to/qutebrowser/.venv/bin/python3 -m qutebrowser "$@" ---- -Building the docs -~~~~~~~~~~~~~~~~~ - -To build the documentation, install `asciidoc` (note that LaTeX which comes as -optional/recommended dependency with some distributions is not required). - -Then, run: - ----- -$ python3 scripts/asciidoc2html.py ----- - Updating ~~~~~~~~ |