Skip to content

Conversation

@shaneahmed
Copy link
Member

@shaneahmed shaneahmed commented Sep 6, 2022

  • Fix docstring rendering and typos.
  • Use code-block directive for json.
  • Exclude requirements.txt from sphinx build.
  • Fix hyperlinks.
  • Fix indentation for bullet points.
  • Fix underline for headings.
  • Fix GitHub links
  • Fix interpreted text or phrase reference start-string without end-string.

Link for readthedocs: https://tia-toolbox.readthedocs.io/en/doc-fix-docstring-rendering/

- Fix docstrings for dsl.py.
- Fix docstrings for storage.py.
- Use code-blocks for json.
- Exclude requirements.txt from conf.py.
- Fix hyperlinks in storage.py.
@shaneahmed shaneahmed changed the title DOC: Fix Docstring Rendering DOC: Fix Docstring Rendering and Typos Sep 6, 2022
@codecov
Copy link

codecov bot commented Sep 6, 2022

Codecov Report

Merging #463 (2151717) into develop (c45ac10) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff            @@
##           develop     #463   +/-   ##
========================================
  Coverage    98.63%   98.63%           
========================================
  Files           60       62    +2     
  Lines         5934     5936    +2     
  Branches      1056     1032   -24     
========================================
+ Hits          5853     5855    +2     
  Misses          69       69           
  Partials        12       12           
Impacted Files Coverage Δ
tiatoolbox/__init__.py 100.00% <ø> (ø)
tiatoolbox/data/__init__.py 100.00% <ø> (ø)
tiatoolbox/models/architecture/__init__.py 100.00% <ø> (ø)
tiatoolbox/models/architecture/idars.py 100.00% <ø> (ø)
tiatoolbox/models/architecture/micronet.py 100.00% <ø> (ø)
tiatoolbox/models/architecture/utils.py 100.00% <ø> (ø)
tiatoolbox/models/engine/patch_predictor.py 100.00% <ø> (ø)
tiatoolbox/tools/__init__.py 100.00% <ø> (ø)
tiatoolbox/tools/patchextraction.py 100.00% <ø> (ø)
tiatoolbox/tools/registration/wsi_registration.py 62.02% <ø> (ø)
... and 26 more

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

- Fix indentation for bullet list in wsireader.py.
- Fix underline for headings.
- Fix GitHub links.
@shaneahmed shaneahmed self-assigned this Sep 6, 2022
- Fix indentation for bullet list.
- Fix indentation for bullet list in `env_detection.py`.
- Fix indentation for bullet list in `transforms.py`.
- Fix indentation for bullet list in `visualization.py`.
- Fix indentation for bullet list in `hovernetplus.py`.
- Fix indentation for bullet list in `hovernetplus.py`.
- Fix indentation for bullet list in `unet.py`.
- Fix indentation for bullet list in `patch_predictor.py`.
- Fix indentation for bullet list in `patch_predictor.py`.
- Fix indentation for bullet list in `semantic_segmentor.py`.
- Fix indentation for bullet point list  in patchextraction.py.

Signed-off-by: Shan E Ahmed Raza <[email protected]>
- Refactor dataset/abc to dataset/dataset_abc.py.

Signed-off-by: Shan E Ahmed Raza <[email protected]>
- Fix indents for bullet points list in graph.py.

Signed-off-by: Shan E Ahmed Raza <[email protected]>
- Fix indents for bullet points list in wsi_registration.py.

Signed-off-by: Shan E Ahmed Raza <[email protected]>
- Fix indents for bullet points list in stainnorm.py.

Signed-off-by: Shan E Ahmed Raza <[email protected]>
- Fix typo in stainnorm.py.

Signed-off-by: Shan E Ahmed Raza <[email protected]>
- Intersphinx mapping torch.

Signed-off-by: Shan E Ahmed Raza <[email protected]>
- intersphinx mapping.
- Fix typos except models.

Signed-off-by: Shan E Ahmed Raza <[email protected]>
- Remove unnecessary import.

Signed-off-by: Shan E Ahmed Raza <[email protected]>
- Remove unnecessary import.

Signed-off-by: Shan E Ahmed Raza <[email protected]>
- Remove unnecessary import.

Signed-off-by: Shan E Ahmed Raza <[email protected]>
- Fix typos

Signed-off-by: Shan E Ahmed Raza <[email protected]>
- Class attributes should be initialised in __init__

Signed-off-by: Shan E Ahmed Raza <[email protected]>
- Update requirements.txt

Signed-off-by: Shan E Ahmed Raza <[email protected]>
@shaneahmed shaneahmed merged commit 73f9d1f into develop Sep 9, 2022
@shaneahmed shaneahmed deleted the doc-fix-docstring-rendering branch September 9, 2022 12:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants