From e83302bdbe67b348d09b0c0c76f9be0db3f66e3e Mon Sep 17 00:00:00 2001
From: Jason Kridner <jkridner@beagleboard.org>
Date: Thu, 15 Sep 2022 01:34:41 -0400
Subject: [PATCH] books/beaglebone-cookbook: fixed some code links I missed

---
 books/beaglebone-cookbook/02sensors/sensors.rst | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/books/beaglebone-cookbook/02sensors/sensors.rst b/books/beaglebone-cookbook/02sensors/sensors.rst
index 46453b38..d5e6400d 100644
--- a/books/beaglebone-cookbook/02sensors/sensors.rst
+++ b/books/beaglebone-cookbook/02sensors/sensors.rst
@@ -176,7 +176,7 @@ reads GPIO port *P9_42*, which is attached to the pushbutton.
 
 .. _js_pushbutton_code:
 
-.. literalinclude:: code/pushbutton.js
+.. literalinclude:: ../code/02sensors/pushbutton.js
    :caption: Monitoring a pushbutton (pushbutton.js)
    :linenos:
 
@@ -294,7 +294,7 @@ Add the code to a file called _analogIn.js_ and run it; then change the resistor
 
 .. _py_analogIn_code:
 
-.. literalinclude:: code/analogIn.py
+.. literalinclude:: ../code/02sensors/analogIn.py
    :caption: Reading an analog voltage (analogIn.py)
    :linenos:
 
-- 
GitLab