From 06dcd45ff81e06bc8cf40ed487c0b2652d346a5a Mon Sep 17 00:00:00 2001 From: John DeNisco Date: Thu, 26 Jul 2018 12:45:10 -0400 Subject: Initial commit of Sphinx docs Change-Id: I9fca8fb98502dffc2555f9de7f507b6f006e0e77 Signed-off-by: John DeNisco --- docs/guides/api/index.rst | 19 +++++++++++++++++++ docs/guides/api/jvpp.rst | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 65 insertions(+) create mode 100644 docs/guides/api/index.rst create mode 100644 docs/guides/api/jvpp.rst (limited to 'docs/guides/api') diff --git a/docs/guides/api/index.rst b/docs/guides/api/index.rst new file mode 100644 index 00000000000..d410d4a10cc --- /dev/null +++ b/docs/guides/api/index.rst @@ -0,0 +1,19 @@ +.. _api: + +.. toctree:: + + +API User Guides +=============== + +This chapter describes how to use the C, Python and java APIs. + +.. _jvppjar: + +Downloading the jvpp jar +------------------------ +The following are instructions on how to download the jvpp jar + +.. toctree:: + + jvpp diff --git a/docs/guides/api/jvpp.rst b/docs/guides/api/jvpp.rst new file mode 100644 index 00000000000..4c5c58256c2 --- /dev/null +++ b/docs/guides/api/jvpp.rst @@ -0,0 +1,46 @@ +.. _jvpp: + +.. toctree:: + +Getting jvpp jar +------------------- +VPP provides java bindings which can be downloaded at: + +* https://nexus.fd.io/content/repositories/fd.io.release/io/fd/vpp/jvpp-core/18.01/jvpp-core-18.01.jar + +Getting jvpp via maven +------------------------- + +**1. Add the following to the repositories section in your ~/.m2/settings.xml to pick up the fd.io maven repo:** + +.. code-block:: console + + + fd.io-release + fd.io-release + https://nexus.fd.io/content/repositories/fd.io.release/ + + false + + + true + + + +For more information on setting up maven repositories in settings.xml, please look at: + +* https://maven.apache.org/guides/mini/guide-multiple-repositories.html + +**2. Then you can get jvpp by putting in the dependencies section of your pom.xml file:** + +.. code-block:: console + + + io.fd.vpp + jvpp-core + 17.10 + + +For more information on maven dependency managment, please look at: + +* https://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html -- cgit 1.2.3-korg