summaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
authortmartins <thigm85@gmail.com>2020-09-01 21:11:29 +0200
committertmartins <thigm85@gmail.com>2020-09-01 21:11:29 +0200
commit4ecdbda897e51d7e0bf4466eb003461a8b20e1a8 (patch)
tree0cdafa02e310ca999c78f79a88a63a168da15116 /python
parentf0e50929f58506b6ef0cca2b8f636a10aae2dcdf (diff)
Try to link to reference API
Diffstat (limited to 'python')
-rw-r--r--python/vespa/docs/sphinx/source/index.rst11
1 files changed, 11 insertions, 0 deletions
diff --git a/python/vespa/docs/sphinx/source/index.rst b/python/vespa/docs/sphinx/source/index.rst
index 5a32163943a..29b0b47bfd8 100644
--- a/python/vespa/docs/sphinx/source/index.rst
+++ b/python/vespa/docs/sphinx/source/index.rst
@@ -28,6 +28,17 @@ You can install ``pyvespa`` via ``pip``:
pip install pyvespa
+Connecting to a running Vespa instance
+++++++++++++++++++++++++++++++++++++++
+
+If you have a running Vespa instance that you would like to experiment with, you connect to it with :ref:`vespa-class`.
+
+.. code-block:: python
+
+ from vespa.application import Vespa
+ app = Vespa(url = "https://api.cord19.vespa.ai")
+
+
Indices and tables
==================