From 09224cea46e0526ecf19d478551754c080c5b2ee Mon Sep 17 00:00:00 2001 From: Reuben Morais Date: Wed, 12 Feb 2020 15:02:52 +0100 Subject: [PATCH] Update example line numbers --- doc/C-Examples.rst | 2 +- doc/Java-Examples.rst | 4 ++-- doc/NodeJS-Examples.rst | 4 ++-- doc/Python-Examples.rst | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/doc/C-Examples.rst b/doc/C-Examples.rst index 5072ba30..2fde5ad3 100644 --- a/doc/C-Examples.rst +++ b/doc/C-Examples.rst @@ -7,7 +7,7 @@ Creating a model instance and loading model .. literalinclude:: ../native_client/client.cc :language: c :linenos: - :lines: 370-390 + :lines: 370-375,386-390 Performing inference -------------------- diff --git a/doc/Java-Examples.rst b/doc/Java-Examples.rst index 48a77035..51c34e55 100644 --- a/doc/Java-Examples.rst +++ b/doc/Java-Examples.rst @@ -7,7 +7,7 @@ Creating a model instance and loading model .. literalinclude:: ../native_client/java/app/src/main/java/org/mozilla/deepspeech/DeepSpeechActivity.java :language: java :linenos: - :lines: 54 + :lines: 52 Performing inference -------------------- @@ -15,7 +15,7 @@ Performing inference .. literalinclude:: ../native_client/java/app/src/main/java/org/mozilla/deepspeech/DeepSpeechActivity.java :language: java :linenos: - :lines: 102 + :lines: 101 Full source code ---------------- diff --git a/doc/NodeJS-Examples.rst b/doc/NodeJS-Examples.rst index a9549525..7fe4d3b4 100644 --- a/doc/NodeJS-Examples.rst +++ b/doc/NodeJS-Examples.rst @@ -7,7 +7,7 @@ Creating a model instance and loading model .. literalinclude:: ../native_client/javascript/client.js :language: javascript :linenos: - :lines: 54-72 + :lines: 56,69 Performing inference -------------------- @@ -15,7 +15,7 @@ Performing inference .. literalinclude:: ../native_client/javascript/client.js :language: javascript :linenos: - :lines: 117-121 + :lines: 122 Full source code ---------------- diff --git a/doc/Python-Examples.rst b/doc/Python-Examples.rst index 26aee69c..351611ea 100644 --- a/doc/Python-Examples.rst +++ b/doc/Python-Examples.rst @@ -7,7 +7,7 @@ Creating a model instance and loading model .. literalinclude:: ../native_client/python/client.py :language: python :linenos: - :lines: 111, 120 + :lines: 111,123 Performing inference -------------------- @@ -15,7 +15,7 @@ Performing inference .. literalinclude:: ../native_client/python/client.py :language: python :linenos: - :lines: 140-145 + :lines: 143-148 Full source code ----------------