Skip to content

Improve readthedoc layout structure#52

Merged
MGAMZ merged 9 commits into
mainfrom
doc/improve-structure
Jan 9, 2026
Merged

Improve readthedoc layout structure#52
MGAMZ merged 9 commits into
mainfrom
doc/improve-structure

Conversation

@MGAMZ
Copy link
Copy Markdown
Owner

@MGAMZ MGAMZ commented Jan 9, 2026


📚 Documentation preview 📚: https://ITKIT--52.org.readthedocs.build/en/52/

Copilot AI and others added 8 commits January 7, 2026 14:11
… preserve metadata

Co-authored-by: MGAMZ <57469116+MGAMZ@users.noreply.github.com>
…servation

Co-authored-by: MGAMZ <57469116+MGAMZ@users.noreply.github.com>
Co-authored-by: MGAMZ <57469116+MGAMZ@users.noreply.github.com>
- Added _generate_metadata_for_folder() helper method in BaseITKProcessor
- Reduced code duplication across 5 modules (SingleFolderProcessor, DatasetProcessor, FormatConverter, MonaiConverter, TorchIOConverter)
- Net reduction of 62 lines of duplicated code
- Improved maintainability and abstraction layer separation

Co-authored-by: MGAMZ <57469116+MGAMZ@users.noreply.github.com>
Copilot AI review requested due to automatic review settings January 9, 2026 14:52
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR restructures the ReadTheDocs documentation by splitting the monolithic preprocessing.md guide into individual tool-specific pages, and adds metadata preservation functionality to prevent loss of metadata when files are skipped during reprocessing.

Key changes:

  • Documentation split into individual tool pages (itk_check, itk_resample, itk_orient, itk_patch, itk_aug, itk_extract, itk_convert)
  • New metadata preservation logic that loads and merges existing metadata before processing
  • Comprehensive test coverage for metadata preservation across multiple processors
  • Removal of faq.md file

Reviewed changes

Copilot reviewed 13 out of 13 changed files in this pull request and generated no comments.

Show a summary per file
File Description
mkdocs.yml Updated navigation structure to use "Processing Tools" section with individual tool pages, removed FAQ entry
docs/preprocessing.md Reduced to overview page with general notes and best practices only
docs/itk_*.md New individual documentation pages for each tool (check, resample, orient, patch, aug, extract, convert)
docs/index.md Updated table of contents to reflect new documentation structure
docs/contributing.md Updated reference from preprocessing.md to individual tool documentation files
docs/faq.md Removed entire FAQ file
itkit/process/metadata_models.py Added load_and_merge method to MetadataManager for merging existing metadata
itkit/process/base_processor.py Added metadata preservation methods and integration into process() workflow
itkit/process/itk_convert_*.py Integrated metadata preservation for TorchIO, MONAI, and format conversion processors
tests/test_itk_*.py Added comprehensive tests for metadata preservation on skip and partial processing scenarios
.pre-commit-config.yaml Removed redundant pyright additional_dependencies list

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jan 9, 2026

Test Results

288 tests   288 ✅  45s ⏱️
  1 suites    0 💤
  1 files      0 ❌

Results for commit e3783f5.

♻️ This comment has been updated with latest results.

@MGAMZ MGAMZ merged commit 7485c2d into main Jan 9, 2026
5 checks passed
@MGAMZ MGAMZ deleted the doc/improve-structure branch January 9, 2026 15:03
@MGAMZ MGAMZ added the documentation Improvements or additions to documentation label Jan 10, 2026
@MGAMZ MGAMZ added this to the v4.0 milestone Jan 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants