Skip to content

Commit 8cb6129

Browse files
committed
doc: Update building docs section
* Use python3 as a binary (most of distros still have python reserved for python2). * Mention sphinx can be used from package. * While at it, replace 'source' with '.' (shorter, although most of the developers use shell which support source bashism, let's not encourage to use it). Link: https://lore.kernel.org/ltp/[email protected]/ Reviewed-by: Andrea Cervesato <[email protected]> Signed-off-by: Petr Vorel <[email protected]>
1 parent 0a682f1 commit 8cb6129

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/developers/documentation.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ command as following:
2121
cd doc
2222
2323
# prepare virtual enviroment
24-
python -m virtualenv .venv
25-
source .venv/bin/activate
24+
python3 -m virtualenv .venv
25+
. .venv/bin/activate
2626
27-
pip install sphinx
27+
pip install sphinx # usually packaged in distros
2828
pip install -r requirements.txt
2929
3030
# build documentation

0 commit comments

Comments
 (0)