Python doc : Update to hugo syntax

This commit is contained in:
Magne Sjaastad 2019-08-08 11:24:25 +02:00
parent d9b1cfec3a
commit 54ed32e474

View File

@ -1,9 +1,9 @@
---
layout: docs
title: rips - gRPC Python API
permalink: /docs/python/
published: true
---
+++
title = "Python API - rips"
published = true
weight = 20
+++
ResInsight has a `gRPC Remote Procedure Call <https://www.grpc.io/>`_ interface with a Python Client interface. This interface allows you to interact with a running ResInsight instance from a Python script.
@ -13,8 +13,8 @@ On some systems the ``pip`` command may have to be replaced by ``python -m pip``
In order for gRPC to be available, ResInsight needs to be built with the ``RESINSIGHT_ENABLE_GRPC`` option set. A valid gRPC build will show a message in the About dialog confirming gRPC is available:
.. image:: ../images/AboutGrpc.png
.. image:: {{< relref "" >}}images/scripting/AboutGrpc.png
Furthermore, gRPC needs to be enabled in the Scripting tab of the Preference dialog:
.. image:: ../images/PrefGrpc.png
.. image:: {{< relref "" >}}images/scripting/PrefGrpc.png