Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
conf.py
!python-scripts/conf.py
*.swp
*.pyc
build/
source/_replacevars.rst
3 changes: 1 addition & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,7 @@ newline that separates the directive from the content block:
There are a number of predefined variables available that are dynamically set
based on the platform config. These variables should be used wherever possible.
These variables can be found in the "Replacement Variables" section of the
platform configs, or in the temporary file placed at `source/_replacevars.rst`
during the build process.
platform configs, or reported during the build in the `rst_prolog` section.

### Ifconfigs

Expand Down
1 change: 0 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ help:

clean:
rm -rf "$(BUILDDIR)"
rm -f source/_replacevars.rst

lint:
rstcheck -r "$(SOURCEDIR)"
Expand Down
9 changes: 4 additions & 5 deletions scripts/replacevars.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
# write_replacevars
# unpack_replacevars
# -----------------
# Description: Writes replacement variable array to source/${OS}/replacevars.rst.inc
# Description: Creates a valid RST replacement variable list from the given variable dictionary
#
# Parameters: app - Application calling this Python function
# replacevars - Input hash table of replacevars that will be converted into
# "replace" directives in the replacevars.rst.inc file
# Parameters: replacevars - Input hash table of replacevars that will be converted into
# "replace" directives

def unpack_replacevars(replacevars):
replacevarstext = ["\n"]
Expand Down
2 changes: 0 additions & 2 deletions source/debian/How_to_Guides/index_How_to_Guides.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
.. include:: /_replacevars.rst

#############
How to Guides
#############
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
.. include:: /_replacevars.rst

.. _yocto-layer-configuration:

**************************
Expand Down
2 changes: 0 additions & 2 deletions source/linux/Documentation_Tarball.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
.. include:: /_replacevars.rst

Documentation Tarball
=====================
.. ifconfig:: CONFIG_part_variant in ('AM62AX','J721E','J7200','J721S2','J784S4','AM68','AM69','J722S','AM67','J742S2','AM68A','AM67A','AM69A','TDA4VM')
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
.. include:: /_replacevars.rst

.. _Edge-AI-Gallery-User-Guide-label:

Edge AI Gallery - User Guide
Expand Down Expand Up @@ -111,11 +109,13 @@ The edge AI gallery launches on Linux startup. Follow the below instructions to
10. To change the videos in the prebuilt pipelines used for ``Image Classification``, ``Object Detection``, ``Semantic Segmentation`` & ``Multi Channel``, you can replace the video files :file:`oob-gui-video*.h264` under :file:`/opt/oob-demo-assets/`.

11. To relaunch the application, you should run

::

/etc/init.d/edgeai-launcher.sh start

12. And to stop the application again, you should run

::

/etc/init.d/edgeai-launcher.sh stop
Expand Down
Loading