Skip to content

Commit

Permalink
docs:add debug step
Browse files Browse the repository at this point in the history
Signed-off-by: RibhuDP <[email protected]>
  • Loading branch information
ribdp committed Apr 2, 2024
1 parent 2246da1 commit 0293380
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- name: Run script
uses: matlab-actions/run-command@v2
with:
command: cd docs/source/reference_api, gen_sysobj_doc
command: addpath(pwd), cd docs/source/reference_api, help adi.AD7380.Rx, help adi.AD7380.Rx, gen_sysobj_doc

- name: Check doc build
run: |
Expand Down
6 changes: 6 additions & 0 deletions docs/source/reference_api/gen_sysobj_doc.m
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 0293380

Please sign in to comment.