Merge "Updated Dev quickstart for viewing doc changes"
This commit is contained in:
commit
abf2f2975a
@ -707,7 +707,9 @@ Building developer documentation
|
|||||||
|
|
||||||
If you would like to build the documentation locally, eg. to test your
|
If you would like to build the documentation locally, eg. to test your
|
||||||
documentation changes before uploading them for review, run these
|
documentation changes before uploading them for review, run these
|
||||||
commands to build the documentation set::
|
commands to build the documentation set:
|
||||||
|
|
||||||
|
- On your local machine::
|
||||||
|
|
||||||
# activate your development virtualenv
|
# activate your development virtualenv
|
||||||
source .tox/venv/bin/activate
|
source .tox/venv/bin/activate
|
||||||
@ -715,7 +717,26 @@ commands to build the documentation set::
|
|||||||
# build the docs
|
# build the docs
|
||||||
tox -edocs
|
tox -edocs
|
||||||
|
|
||||||
Now use your browser to open the top-level index.html located at::
|
#Now use your browser to open the top-level index.html located at:
|
||||||
|
|
||||||
ironic/doc/build/html/index.html
|
ironic/doc/build/html/index.html
|
||||||
|
|
||||||
|
|
||||||
|
- On a remote machine::
|
||||||
|
|
||||||
|
# Go to the directory that contains the docs
|
||||||
|
cd ~/ironic/doc/source/
|
||||||
|
|
||||||
|
# Build the docs
|
||||||
|
tox -edocs
|
||||||
|
|
||||||
|
# Change directory to the newly built HTML files
|
||||||
|
cd ~/ironic/doc/build/html/
|
||||||
|
|
||||||
|
# Create a server using python on port 8000
|
||||||
|
python -m SimpleHTTPServer 8000
|
||||||
|
|
||||||
|
#Now use your browser to open the top-level index.html located at:
|
||||||
|
|
||||||
|
http://your_ip:8000
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user