diff --git a/books/beaglebone-cookbook/07kernel/kernel.rst b/books/beaglebone-cookbook/07kernel/kernel.rst index 4c2e3618b112978abaca3f06e9cb40dc56355f0d..3267873b129367d6e1fa30801e5ad788283f9589 100644 --- a/books/beaglebone-cookbook/07kernel/kernel.rst +++ b/books/beaglebone-cookbook/07kernel/kernel.rst @@ -523,7 +523,7 @@ Solution .. _kernel_hello_patch: .. literalinclude:: ../code/07kernel/hello.patch - :language: patch + :language: text :caption: Simple kernel patch file (hello.patch) :linenos: diff --git a/books/beaglebone-cookbook/11misc/misc.rst b/books/beaglebone-cookbook/11misc/misc.rst index 67a6b1f0c7c626abd4f6b6ca4b44be07cec9a48d..2fdb0b5b758ff8c5131cdb1883e6c29486894ace 100644 --- a/books/beaglebone-cookbook/11misc/misc.rst +++ b/books/beaglebone-cookbook/11misc/misc.rst @@ -775,10 +775,16 @@ Run the following to download and setup Sphinx locally. imagemagick-6.q16 librsvg2-bin webp \ texlive-full texlive-latex-extra texlive-fonts-extra \ fonts-freefont-otf fonts-dejavu fonts-dejavu-extra fonts-freefont-ttf - bone$ ./venv-build-env.sh In case of any problems, checkout `Beagleboard Forum <https://forum.beagleboard.org/>`_. +Setup virtual environment for python using the `venv-build-env.sh` script at the project root. + +.. literalinclude:: ../../../venv-build-env.sh + :language: bash + :caption: Bash script for setting up virtual environment + :linenos: + Now go to the cloned *docs.beagleboard.io* repository folder and do the following. To clean build directory: