From 3cfebbedad4e361cb17042595425d76add17eb85 Mon Sep 17 00:00:00 2001 From: Thibault Poignonec <79221188+tpoignonec@users.noreply.github.com> Date: Tue, 9 Jan 2024 10:27:27 +0100 Subject: [PATCH] Fix CI build documentation (#99) * add requirements.txt * trigger Doc CI on PR (main only) * Revert "trigger Doc CI on PR (main only)" This reverts commit 37478f95be7e7876e5d01f4a2ee75be16e0c9a35. * fix end-of-file --- .github/workflows/documentation.yml | 9 +++------ ethercat_driver_ros2/requirements.txt | 5 +++++ 2 files changed, 8 insertions(+), 6 deletions(-) create mode 100644 ethercat_driver_ros2/requirements.txt diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index bef8db81..b4f85bc7 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -24,12 +24,9 @@ jobs: - name: Install dependencies run: | sudo apt-get update -qq - sudo apt-get install -y -qq doxygen graphviz plantuml - pip install sphinx-rtd-theme - pip install sphinxcontrib-plantuml - pip install sphinx-mdinclude - pip install breathe - pip install exhale + sudo apt-get install -y -qq python3-sphinx doxygen graphviz plantuml + cd ./ethercat_driver_ros2/ + pip install -r requirements.txt - name: Build doxygen run: | cd ./ethercat_driver_ros2/doxygen/ diff --git a/ethercat_driver_ros2/requirements.txt b/ethercat_driver_ros2/requirements.txt new file mode 100644 index 00000000..4998107b --- /dev/null +++ b/ethercat_driver_ros2/requirements.txt @@ -0,0 +1,5 @@ +sphinx-rtd-theme +sphinxcontrib-plantuml +sphinx-mdinclude +breathe +exhale