Closed yousefmoazzam closed 1 month ago
Note that running the sphinx-apidoc
command (from the sphinx-build.sh
script) in isolation produces no warnings/errors:
(/dls/science/users/twi18192/conda-envs/docs-httomo-py310-updated) [twi18192@pc0074 docs (issue-458)]$ SPHINX_APIDOCS_OPTIONS="members,show-inheritance,undoc-members" sphinx-apidoc -feT -t=source/_templates/ -o=s
ource/api ../httomo
Creating file source/api/httomo.rst.
Creating file source/api/httomo.base_block.rst.
Creating file source/api/httomo.block-concrete.rst.
Creating file source/api/httomo.block_interfaces.rst.
Creating file source/api/httomo.cli.rst.
Creating file source/api/httomo.cli_utils.rst.
Creating file source/api/httomo.cufft.rst.
Creating file source/api/httomo.darks_flats.rst.
Creating file source/api/httomo.globals.rst.
Creating file source/api/httomo.logger.rst.
Creating file source/api/httomo.methods.rst.
Creating file source/api/httomo.preview.rst.
Creating file source/api/httomo.transform_layer.rst.
Creating file source/api/httomo.transform_loader_params.rst.
Creating file source/api/httomo.ui_layer.rst.
Creating file source/api/httomo.utils.rst.
Creating file source/api/httomo.yaml_checker.rst.
Creating file source/api/httomo.data.rst.
Creating file source/api/httomo.data.dataset_store.rst.
Creating file source/api/httomo.data.mpiutil.rst.
Creating file source/api/httomo.data.padding.rst.
Creating file source/api/httomo.data.param_sweep_store.rst.
Creating file source/api/httomo.data.hdf.rst.
Creating file source/api/httomo.data.hdf.loaders.rst.
Creating file source/api/httomo.loaders.rst.
Creating file source/api/httomo.loaders.standard_tomo_loader.rst.
Creating file source/api/httomo.loaders.types.rst.
Creating file source/api/httomo.method_wrappers.rst.
Creating file source/api/httomo.method_wrappers.datareducer.rst.
Creating file source/api/httomo.method_wrappers.dezinging.rst.
Creating file source/api/httomo.method_wrappers.generic.rst.
Creating file source/api/httomo.method_wrappers.images.rst.
Creating file source/api/httomo.method_wrappers.reconstruction.rst.
Creating file source/api/httomo.method_wrappers.rotation.rst.
Creating file source/api/httomo.method_wrappers.save_intermediate.rst.
Creating file source/api/httomo.method_wrappers.stats_calc.rst.
Creating file source/api/httomo.methods_database.rst.
Creating file source/api/httomo.methods_database.query.rst.
Creating file source/api/httomo.methods_database.packages.rst.
Creating file source/api/httomo.methods_database.packages.external.rst.
Creating file source/api/httomo.methods_database.packages.external.httomolib.rst.
Creating file source/api/httomo.methods_database.packages.external.httomolibgpu.rst.
Creating file source/api/httomo.methods_database.packages.external.httomolibgpu.supporting_funcs.rst.
Creating file source/api/httomo.methods_database.packages.external.httomolibgpu.supporting_funcs.misc.rst.
Creating file source/api/httomo.methods_database.packages.external.httomolibgpu.supporting_funcs.misc.corr.rst.
Creating file source/api/httomo.methods_database.packages.external.httomolibgpu.supporting_funcs.misc.morph.rst.
Creating file source/api/httomo.methods_database.packages.external.httomolibgpu.supporting_funcs.misc.rescale.rst.
Creating file source/api/httomo.methods_database.packages.external.httomolibgpu.supporting_funcs.prep.rst.
Creating file source/api/httomo.methods_database.packages.external.httomolibgpu.supporting_funcs.prep.normalize.rst.
Creating file source/api/httomo.methods_database.packages.external.httomolibgpu.supporting_funcs.prep.phase.rst.
Creating file source/api/httomo.methods_database.packages.external.httomolibgpu.supporting_funcs.prep.stripe.rst.
Creating file source/api/httomo.methods_database.packages.external.httomolibgpu.supporting_funcs.recon.rst.
Creating file source/api/httomo.methods_database.packages.external.httomolibgpu.supporting_funcs.recon.algorithm.rst.
Creating file source/api/httomo.methods_database.packages.external.tomopy.rst.
Creating file source/api/httomo.methods_database.packages.external.tomopy.supporting_funcs.rst.
Creating file source/api/httomo.methods_database.packages.external.tomopy.supporting_funcs.misc.rst.
Creating file source/api/httomo.methods_database.packages.external.tomopy.supporting_funcs.misc.corr.rst.
Creating file source/api/httomo.methods_database.packages.external.tomopy.supporting_funcs.prep.rst.
Creating file source/api/httomo.methods_database.packages.external.tomopy.supporting_funcs.prep.stripe.rst.
Creating file source/api/httomo.methods_database.packages.external.tomopy.supporting_funcs.recon.rst.
Creating file source/api/httomo.methods_database.packages.external.tomopy.supporting_funcs.recon.algorithm.rst.
Creating file source/api/httomo.monitors.rst.
Creating file source/api/httomo.monitors.aggregate.rst.
Creating file source/api/httomo.monitors.benchmark.rst.
Creating file source/api/httomo.monitors.summary.rst.
Creating file source/api/httomo.runner.rst.
Creating file source/api/httomo.runner.auxiliary_data.rst.
Creating file source/api/httomo.runner.block_split.rst.
Creating file source/api/httomo.runner.dataset.rst.
Creating file source/api/httomo.runner.dataset_store_backing.rst.
Creating file source/api/httomo.runner.dataset_store_interfaces.rst.
Creating file source/api/httomo.runner.gpu_utils.rst.
Creating file source/api/httomo.runner.loader.rst.
Creating file source/api/httomo.runner.method_wrapper.rst.
Creating file source/api/httomo.runner.methods_repository_interface.rst.
Creating file source/api/httomo.runner.monitoring_interface.rst.
Creating file source/api/httomo.runner.output_ref.rst.
Creating file source/api/httomo.runner.pipeline.rst.
Creating file source/api/httomo.runner.section.rst.
Creating file source/api/httomo.runner.sectionizer.rst.
Creating file source/api/httomo.runner.task_runner.rst.
Creating file source/api/httomo.sweep_runner.rst.
Creating file source/api/httomo.sweep_runner.param_sweep_block-everything.rst.
Creating file source/api/httomo.sweep_runner.param_sweep_block.rst.
Creating file source/api/httomo.sweep_runner.param_sweep_runner.rst.
Creating file source/api/httomo.sweep_runner.param_sweep_store_interfaces.rst.
Creating file source/api/httomo.sweep_runner.param_sweep_yaml_loader.rst.
Creating file source/api/httomo.sweep_runner.side_output_manager.rst.
Creating file source/api/httomo.sweep_runner.stages.rst.
So, it's possibly the sphinx-build
command producing all the warnings/errors.
Fixed by #494, and the single error now present in CI is documented by #495
As of 01a5f30, there are a lot of warnings when building the docs locally.
Amusingly, the full error output is too long to put in a post (the limit to the length of a post is 65536 characters, and the full output exceeds that), so I will only a post a snippet of the warnings.
There are two main type of warning, one is the following (I'm able to post the full thing, since this part isn't too long):
The next set of errors is the part that's very long, and here are a few snippets which are either repeated a lot, or are noteworthy:
and: