From bdd3f91b77d1911a0a8728e90435b271c4218321 Mon Sep 17 00:00:00 2001 From: Daniel Thompson Date: Sun, 29 Nov 2020 20:01:21 +0000 Subject: [PATCH] github: actions: Ensure warning free docs build Signed-off-by: Daniel Thompson --- .github/workflows/main.yml | 3 ++- docs/appguide.rst | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 67691ff..9a63433 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -38,7 +38,8 @@ jobs: id: install-packages run: | sudo apt-get update - sudo apt-get install -y python3-sphinx python3-recommonmark python3-cryptography python3-cbor + sudo apt-get install -y python3-sphinx python3-cryptography python3-cbor graphviz + sudo pip3 install recommonmark - name: Update submodules id: update-submodules diff --git a/docs/appguide.rst b/docs/appguide.rst index 142c898..5da8c7d 100644 --- a/docs/appguide.rst +++ b/docs/appguide.rst @@ -379,7 +379,7 @@ section to add an import and register for you application from ``main.py`` then be patched into the system. For example the following can be used to adopt a new version of the CST816S driver: - .. code-block:: + .. code-block:: sh ./tools/wasptool\ --exec wasp/drivers/cst816s.py\