I am currently working on building the timm docs, which are at rwightman/pytorch-image-models. The package name itself is timm.
As far as I understand, we use the package input to specify the repo name. It's used to clone the repo here:
|
repository: '${{ inputs.repo_owner }}/${{ inputs.package }}' |
Apparently package is again used to build the documentation here:
|
doc-builder build ${{ inputs.package }} ../${{ env.doc_folder }} $args |
Why aren't we using the package_name env variable that was updated to be package if it wasn't provided to do the above doc-builder build command? I think this is what's going wrong with my PR here. It leads to ModuleNotFoundError: No module named 'pytorch-image-models'.
Am I missing something/doing something wrong?
CC @mishig25 @osanseviero
I am currently working on building the timm docs, which are at
rwightman/pytorch-image-models. The package name itself istimm.As far as I understand, we use the
packageinput to specify the repo name. It's used to clone the repo here:doc-builder/.github/workflows/build_pr_documentation.yml
Line 56 in 4ac0cc8
Apparently
packageis again used to build the documentation here:doc-builder/.github/workflows/build_pr_documentation.yml
Line 143 in 4ac0cc8
Why aren't we using the
package_nameenv variable that was updated to bepackageif it wasn't provided to do the abovedoc-builder buildcommand? I think this is what's going wrong with my PR here. It leads toModuleNotFoundError: No module named 'pytorch-image-models'.Am I missing something/doing something wrong?
CC @mishig25 @osanseviero