Skip to content

Fix documentation deployment workflow path order#665

Merged
stevevanhooser merged 7 commits intomainfrom
fix-docs-deploy-path-5151705712508955750
Feb 10, 2026
Merged

Fix documentation deployment workflow path order#665
stevevanhooser merged 7 commits intomainfrom
fix-docs-deploy-path-5151705712508955750

Conversation

@google-labs-jules
Copy link
Copy Markdown
Contributor

Moved addpath(genpath('tools')) after matbox.installRequirements(pwd) in .github/workflows/deploy-docs.yml to fix a dependency loading issue where DID-matlab and other tools were not being found because the path was set before installation. This change ensures that the installed tools are available in the MATLAB path for the documentation build.


PR created automatically by Jules for task 5151705712508955750 started by @stevevanhooser

Moved `addpath(genpath('tools'))` to be executed after `matbox.installRequirements(pwd)` in `.github/workflows/deploy-docs.yml`. This ensures that dependencies installed by MatBox (including `DID-matlab`) are correctly added to the MATLAB path before the build process starts, resolving "file not found" errors during documentation generation.
Updated `.github/workflows/deploy-docs.yml` to:
- Execute `matbox.installRequirements(pwd)` before adding `tools` to the path.
- Use `fullfile(pwd, 'tools')` for absolute path addition.
- Include `disp` and `system` calls to list directory contents for debugging purposes.
This resolves dependency path issues during documentation generation.
Updated `.github/workflows/deploy-docs.yml` to:
- Move `matbox.installRequirements(pwd)` before adding `tools` to the path.
- Use `fullfile(pwd, 'tools')` for absolute path addition.
- Include `ls -R /home/runner/work/` to list all files in the runner's work directory recursively for debugging where repositories are installed.
This aims to resolve the "file not found" errors by ensuring correct execution order and providing visibility into the CI environment.
Updated `.github/workflows/deploy-docs.yml` to:
- Move `matbox.installRequirements(pwd)` before adding `tools` to the path.
- Use `fullfile(pwd, 'tools')` for absolute path addition.
- Add `addpath(genpath('MATLAB-AddOns'))` after adding `src` to ensure add-ons are included.
- Removed debug listing commands as the issue is identified.
This resolves the "file not found" errors during documentation generation by ensuring all dependencies are correctly on the path.
Updated `.github/workflows/deploy-docs.yml` to:
- Add a virtual display server (xvfb) setup step for Linux runners.
- Install MatBox requirements into the explicit `tools` directory using `matbox.installRequirements(fullfile(pwd, 'tools'))`.
- Retain previous fixes for path ordering, caching, and toolbox installation.
This ensures a complete environment for MATLAB documentation generation.
Updated `.github/workflows/deploy-docs.yml` to:
- Copy `requirements.txt` to the `tools` directory before installation.
- Install dependencies into `tools` using `matbox.installRequirements(fullfile(pwd, 'tools'))`.
- Retain Xvfb setup for Linux and toolbox configuration.
This ensures requirements are correctly located and installed for the documentation build.
Updated `.github/workflows/deploy-docs.yml` to:
- Remove the `ndi_Init()` call as requested.
- Retain Xvfb setup, toolbox configuration, and robust path/dependency setup (copying requirements to `tools` and installing there).
This finalizes the environment for documentation deployment.
@stevevanhooser stevevanhooser self-requested a review February 10, 2026 00:39
@stevevanhooser stevevanhooser merged commit 226c6aa into main Feb 10, 2026
1 check passed
@stevevanhooser stevevanhooser deleted the fix-docs-deploy-path-5151705712508955750 branch February 10, 2026 00:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant