docs/make_params.py still looks for the pipeline steps here:
glob("../autoprof/pipeline_steps/*.py")
but the package is under src/autoprof now, so running it from docs/ finds nothing:
$ cd docs
$ python -c 'from glob import glob; print(glob("../autoprof/pipeline_steps/*.py"))'
[]
The bad part is that the script carries on and overwrites parameters.rst, leaving basically just the page header.
It probably just needs to build the paths from __file__, look in ../src/autoprof/pipeline_steps, and stop without writing anything if the glob is empty.
docs/make_params.pystill looks for the pipeline steps here:but the package is under
src/autoprofnow, so running it fromdocs/finds nothing:The bad part is that the script carries on and overwrites
parameters.rst, leaving basically just the page header.It probably just needs to build the paths from
__file__, look in../src/autoprof/pipeline_steps, and stop without writing anything if the glob is empty.