Repository navigation
Open
Description
We have a lot of Sphinx Doc Warnings, some of which we don't know where they come from. We should aim towards zero warnings.
Some examples:
/home/robintibor/work/braindecode-dev/braindecode/braindecode/models/tcn.py:docstring of torch.nn.modules.module.Module.to:12: WARNING: duplicate object description of braindecode.models.TCN.to, other instance in generated/braindecode.models.TCN, use :noindex: for one of them
/home/robintibor/work/braindecode-dev/braindecode/braindecode/preprocessing/preprocess.py:docstring of braindecode.preprocessing.preprocess.Preprocessor:1: WARNING: duplicate object description of braindecode.preprocessing.preprocess.Preprocessor, other instance in generated/braindecode.datautil.Preprocessor, use :noindex: for one of them
/home/robintibor/work/braindecode-dev/braindecode/braindecode/samplers/base.py:docstring of braindecode.samplers.base.RecordingSampler:14: WARNING: Block quote ends without a blank line; unexpected unindent.
/home/robintibor/work/braindecode-dev/braindecode/braindecode/training/losses.py:docstring of torch.nn.modules.module.Module.add_module:9: WARNING: Definition list ends without a blank line; unexpected unindent.
/home/robintibor/work/braindecode-dev/braindecode/braindecode/training/losses.py:docstring of torch.nn.modules.module.Module.named_buffers:8: WARNING: Unexpected indentation.
/home/robintibor/work/braindecode-dev/braindecode/braindecode/training/losses.py:docstring of torch.nn.modules.module.Module.named_parameters:8: WARNING: Unexpected indentation.
/home/robintibor/work/braindecode-dev/braindecode/braindecode/training/losses.py:docstring of torch.nn.modules.module.Module.register_buffer:18: WARNING: Definition list ends without a blank line; unexpected unindent.
/home/robintibor/work/braindecode-dev/braindecode/braindecode/training/losses.py:docstring of torch.nn.modules.module.Module.register_buffer:20: WARNING: Unexpected indentation.
/home/robintibor/work/braindecode-dev/braindecode/braindecode/training/losses.py:docstring of torch.nn.modules.module.Module.register_parameter:9: WARNING: Definition list ends without a blank line; unexpected unindent.
/home/robintibor/work/braindecode-dev/braindecode/braindecode/training/losses.py:docstring of torch.nn.modules.module.Module.to:6: WARNING: duplicate object description of braindecode.training.CroppedLoss.to, other instance in generated/braindecode.training.CroppedLoss, use :noindex: for one of them
/home/robintibor/work/braindecode-dev/braindecode/braindecode/training/losses.py:docstring of torch.nn.modules.module.Module.to:8: WARNING: duplicate object description of braindecode.training.CroppedLoss.to, other instance in generated/braindecode.training.CroppedLoss, use :noindex: for one of them
/home/robintibor/work/braindecode-dev/braindecode/braindecode/training/losses.py:docstring of torch.nn.modules.module.Module.to:10: WARNING: duplicate object description of braindecode.training.CroppedLoss.to, other instance in generated/braindecode.training.CroppedLoss, use :noindex: for one of them
/home/robintibor/work/braindecode-dev/braindecode/braindecode/training/losses.py:docstring of torch.nn.modules.module.Module.to:12: WARNING: duplicate object description of braindecode.training.CroppedLoss.to, other instance in generated/braindecode.training.CroppedLoss, use :noindex: for one of them
Activity
robintibor commentedon Jun 22, 2021
Trying to look at this a little bit myself
bruAristimunha commentedon Jul 23, 2022
Hello Robin, I will try to solve the warning.
robintibor commentedon Aug 1, 2022
great
Resolving some Sphinx Doc Warnings. Related to Issue braindecode#266
Resolving some Sphinx Doc Warnings. Related to Issue #266 (#403)