X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/2f83fcd45b4b23db2bb5bb4afbe1e863ebd77ec6..9f1850a385ee8e0a011474de19ee6507b0b168f3:/doc/README.textile diff --git a/doc/README.textile b/doc/README.textile index 85757980a7..4c807a3dd6 100644 --- a/doc/README.textile +++ b/doc/README.textile @@ -20,11 +20,13 @@ arvados/doc$ bundle install To generate the Python SDK documentation, these additional dependencies are needed:
-arvados/doc$ sudo apt-get install python3-pip
-arvados/doc$ pip3 install arvados-python-client
-arvados/doc$ pip3 install pdoc3
+arvados/doc$ sudo apt install python3-pip python3-venv
+arvados/doc$ python3 -m venv .venv
+arvados/doc$ .venv/bin/pip install pdoc
 
+Then you must activate the virtualenv (e.g., run @. .venv/bin/activate@) before you run the @bundle exec rake@ commands below. + h2. Generate HTML pages
@@ -69,12 +71,6 @@ You can set @baseurl@ (the URL prefix for all internal links), @arvados_cluster_
 arvados/doc$ bundle exec rake generate baseurl=/doc arvados_api_host=xyzzy.arvadosapi.com
 
-Make the docs appear at {workbench_host}/doc by creating a symbolic link in Workbench's @public@ directory, pointing to the generated HTML tree. - -
-arvados/doc$ ln -sn ../../../doc/.site ../apps/workbench/public/doc
-
- h2. Delete generated files