From 88bf0edccabc69835327c1d6907507c90e3bad0f Mon Sep 17 00:00:00 2001 From: RibhuDP Date: Tue, 2 Apr 2024 21:14:25 +0530 Subject: [PATCH] docs:add debug step Signed-off-by: RibhuDP --- .github/workflows/doc.yml | 4 +++- docs/source/reference_api/gen_sysobj_doc.m | 6 ++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/doc.yml b/.github/workflows/doc.yml index 1d4f64d..2acb20e 100644 --- a/.github/workflows/doc.yml +++ b/.github/workflows/doc.yml @@ -8,6 +8,8 @@ jobs: steps: - uses: actions/checkout@v2 + with: + submodules: recursive - name: Set up Python 3.7 uses: actions/setup-python@v2 with: @@ -29,7 +31,7 @@ jobs: - name: Run script uses: matlab-actions/run-command@v2 with: - command: cd docs/source/reference_api, gen_sysobj_doc + command: addpath(genpath(pwd)), cd docs/source/reference_api, gen_sysobj_doc - name: Check doc build run: | diff --git a/docs/source/reference_api/gen_sysobj_doc.m b/docs/source/reference_api/gen_sysobj_doc.m index 1cc17e6..13dde42 100644 --- a/docs/source/reference_api/gen_sysobj_doc.m +++ b/docs/source/reference_api/gen_sysobj_doc.m @@ -70,10 +70,16 @@ all_props = [all_props,s]; end top_doc = help(dotmfilename); + disp("Hello") + disp(class(top_doc)) + disp(size(top_doc)) + disp(top_doc) top_doc = strsplit(top_doc,'\n'); top_doc = top_doc(1:end - 3); top_doc = strtrim(top_doc); %Remove spurious leading whitespaces + disp(part) + disp(top_doc) top_doc(1) = cellstr(strcat("**", top_doc(1), "**")); top_doc = strjoin(top_doc, '\n'); top_doc = char(top_doc);