Merge this if you dare to resolve #49. This checks if the doc dir doesn't exist and skips trying to publish it if it does not. Also, it fixes an issue from an earlier approved merge with a literal value of 'None' is the default for the documentation directory, not the Python constant None. Finally, it also adds some better logging when used in a directory that wasn't a usable Roundup context, such as a Ruby project or (in my testing) an empty directory.
🩺Test Data and/or Report
There's no way to test this without a massive test harness (which would include: GitHub Actions ecosystem, actions runners, virtual machines, public key infrastructure, image registries, OSSRH stub, PyPI stub, robots.txt to prevent dev sites crawling, warning banners, etc.).
📜 Summary
Merge this if you dare to resolve #49. This checks if the doc dir doesn't exist and skips trying to publish it if it does not. Also, it fixes an issue from an earlier approved merge with a literal value of
'None'
is the default for the documentation directory, not the Python constantNone
. Finally, it also adds some better logging when used in a directory that wasn't a usable Roundup context, such as a Ruby project or (in my testing) an empty directory.🩺Test Data and/or Report
There's no way to test this without a massive test harness (which would include: GitHub Actions ecosystem, actions runners, virtual machines, public key infrastructure, image registries, OSSRH stub, PyPI stub, robots.txt to prevent dev sites crawling, warning banners, etc.).
🧩 Related Issues
49