From f976b276cc3b82e06bf782a36e109f5ea307d5d4 Mon Sep 17 00:00:00 2001 From: Jason Kridner <jkridner@beagleboard.org> Date: Wed, 25 Oct 2023 17:19:12 -0400 Subject: [PATCH] librobotcontrol: first hack attempt to include --- .gitmodules | 3 +++ conf.py | 7 ++++++- gitlab-build.sh | 6 ++++++ index.rst | 1 + projects/librobotcontrol | 1 + 5 files changed, 17 insertions(+), 1 deletion(-) create mode 160000 projects/librobotcontrol diff --git a/.gitmodules b/.gitmodules index 4d6dbcd6..2f95cde3 100644 --- a/.gitmodules +++ b/.gitmodules @@ -4,3 +4,6 @@ [submodule "books/pru-cookbook/code"] path = books/pru-cookbook/code url = https://git.beagleboard.org/beagleboard/pru-cookbook-code +[submodule "projects/librobotcontrol"] + path = projects/librobotcontrol + url = https://git.beagleboard.org/beagleboard/librobotcontrol diff --git a/conf.py b/conf.py index 7e86c2c9..e9c120dd 100644 --- a/conf.py +++ b/conf.py @@ -32,9 +32,14 @@ extensions = [ "sphinxcontrib.images", "sphinx.ext.imgconverter", "sphinx.ext.todo", - "sphinx_tabs.tabs" + "sphinx_tabs.tabs", + "breathe", + "exhale" ] +breathe_projects = {"librobotcontrol": "projects/librobotcontrol/docs/xml"} +breathe_default_project = "librobotcontrol" + todo_include_todos = True # Update (HTML) supported_image_types selection priority order diff --git a/gitlab-build.sh b/gitlab-build.sh index d8b7793c..1f313226 100755 --- a/gitlab-build.sh +++ b/gitlab-build.sh @@ -45,6 +45,12 @@ HERE # Clean build directory make clean BUILDDIR=public/$VER_DIR + echo "**** make librobotcontrol xml ****" + if [ -e projects/librobotcontrol/docx ] ; then + cd projects/librobotcontrol/docs + doxygen + fi + echo "**** make html ****" # Build and serve HTML make html BUILDDIR=public/$VER_DIR diff --git a/index.rst b/index.rst index 2696bea7..0121dc1f 100644 --- a/index.rst +++ b/index.rst @@ -385,6 +385,7 @@ developers. Some developers choose to host documentation for their :ref:`project /projects/simppru/index /projects/bb-config/index + /projects/librobotcontrol/html/index /boards/beagleconnect/index Books diff --git a/projects/librobotcontrol b/projects/librobotcontrol new file mode 160000 index 00000000..e204da40 --- /dev/null +++ b/projects/librobotcontrol @@ -0,0 +1 @@ +Subproject commit e204da4056d1302c2a9a2c4bf97d6769e6b80d75 -- GitLab