Skip to content

Files

Latest commit

1c586de · Aug 21, 2019

History

History
This branch is 67 commits ahead of, 7080 commits behind FDio/vpp:master.

docs

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Aug 5, 2019
Aug 10, 2018
Sep 18, 2018
May 16, 2019
Aug 9, 2018
Aug 21, 2019
Aug 5, 2019
Sep 18, 2018
Sep 7, 2018
Feb 19, 2019
Sep 18, 2018
Aug 1, 2019
Jul 12, 2019
Jul 22, 2019
May 17, 2019
Jul 27, 2018
Jul 19, 2019
Jul 19, 2019
May 17, 2019
Building VPP Documents

These instructions show how the VPP documentation sources are built.

To build your files, you can either Create a Virtual Environment using
virtualenv, which installs all the required applications for you.

Create a Virtual Environment using virtualenv
============================

For more information on how to use the Python virtual environment check
out https://packaging.python.org/guides/installing-using-pip-and-virtualenv

Get the Documents
------------------------------

For example start with a clone of the vpp.

$ git clone https://gerrit.fd.io/r/vpp
$ cd vpp

Install the virtual environment
----------------------------------------------

$ python -m pip install --user virtualenv 
$ python -m virtualenv env
$ source env/bin/activate
$ pip install -r docs/etc/requirements.txt
$ cd docs

Which installs all the required applications into it's own, isolated,
virtual environment, so as to not interfere with other builds that may
use different versions of software.

Build the html files
----------------------------

Be sure you are in your vpp/docs directory, since that is where Sphinx will
look for your conf.py file, and build the documents into an index.html file

$ make html

View the results
------------------------

If there are no errors during the build process, you should now have an
index.html file in your vpp/docs/_build/html directory, which you can
then view in your browser.