Skip to content

Commit c33f1ba

Browse files
update docs and minor fixes (#6593)
part of #6151 fixes #6556 fixes #6594 ### Types of changes <!--- Put an `x` in all the boxes that apply, and remove the not applicable items --> - [x] Non-breaking change (fix or new feature that would not break existing functionality). - [ ] Breaking change (fix or new feature that would cause existing functionality to change). - [ ] New tests added to cover the changes. - [ ] Integration tests passed locally by running `./runtests.sh -f -u --net --coverage`. - [ ] Quick tests passed locally by running `./runtests.sh --quick --unittests --disttests`. - [ ] In-line docstrings updated. - [ ] Documentation updated, tested `make html` command in the `docs/` folder. --------- Signed-off-by: Wenqi Li <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent cc90d74 commit c33f1ba

File tree

27 files changed

+141
-36
lines changed

27 files changed

+141
-36
lines changed

.github/workflows/weekly-preview.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
export YEAR_WEEK=$(date +'%y%U')
3434
echo "Year week for tag is ${YEAR_WEEK}"
3535
if ! [[ $YEAR_WEEK =~ ^[0-9]{4}$ ]] ; then echo "Wrong 'year week' format. Should be 4 digits."; exit 1 ; fi
36-
git tag "1.2.dev${YEAR_WEEK}"
36+
git tag "1.3.dev${YEAR_WEEK}"
3737
git log -1
3838
git tag --list
3939
python setup.py sdist bdist_wheel

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,8 @@ instance/
6868
.scrapy
6969

7070
# Sphinx documentation
71-
docs/_build/
71+
docs/build/
72+
docs/source/_gen
7273
_build/
7374

7475
# PyBuilder

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
55

66
## [Unreleased]
77

8-
## [1.2.0] - 2023-06-06
8+
## [1.2.0] - 2023-06-08
99
### Added
1010
* Various Auto3DSeg enhancements and integration tests including multi-node multi-GPU optimization, major usability improvements
1111
* TensorRT and ONNX support for `monai.bundle` API and the relevant models
@@ -110,6 +110,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
110110
* `resample=True`; `resample=False` will be the new default in `SaveImage`
111111
* `random_size=True`; `random_size=False` will be the new default for the random cropping transforms
112112
* `image_only=False`; `image_only=True` will be the new default in `LoadImage`
113+
* `AddChannel` and `AsChannelFirst` in favor of `EnsureChannelFirst`
113114
### Removed
114115
* Deprecated APIs since v0.9, including WSIReader from `monai.apps`, `NiftiSaver` and `PNGSaver` from `monai.data`
115116
* Support for PyTorch 1.8

CITATION.cff

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ title: "MONAI: Medical Open Network for AI"
66
abstract: "AI Toolkit for Healthcare Imaging"
77
authors:
88
- name: "MONAI Consortium"
9-
date-released: 2022-12-19
10-
version: "1.1.0"
9+
date-released: 2023-06-08
10+
version: "1.2.0"
1111
identifiers:
1212
- description: "This DOI represents all versions of MONAI, and will always resolve to the latest one."
1313
type: doi

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Its ambitions are:
3030
- compositional & portable APIs for ease of integration in existing workflows;
3131
- domain-specific implementations for networks, losses, evaluation metrics and more;
3232
- customizable design for varying user expertise;
33-
- multi-GPU data parallelism support.
33+
- multi-GPU multi-node data parallelism support.
3434

3535

3636
## Installation

docs/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,4 @@ help:
2525

2626
clean:
2727
rm -rf build/
28+
rm -rf source/_gen

docs/source/apps.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ FastMRIReader
248248
~~~~~~~~~~~~~
249249
.. autofunction:: monai.apps.reconstruction.complex_utils.complex_conj
250250

251-
`auto3dseg`
251+
`Auto3DSeg`
252252
-----------
253253
.. automodule:: monai.apps.auto3dseg
254254
:members:

docs/source/conf.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ def generate_apidocs(*args):
8686
"sphinx.ext.autodoc",
8787
"sphinx.ext.viewcode",
8888
"sphinx.ext.autosectionlabel",
89+
"sphinx.ext.autosummary",
8990
"sphinx_autodoc_typehints",
9091
]
9192

@@ -114,7 +115,7 @@ def generate_apidocs(*args):
114115
{"name": "Twitter", "url": "https://twitter.com/projectmonai", "icon": "fab fa-twitter-square"},
115116
],
116117
"collapse_navigation": True,
117-
"navigation_depth": 3,
118+
"navigation_depth": 1,
118119
"show_toc_level": 1,
119120
"footer_start": ["copyright"],
120121
"navbar_align": "content",

docs/source/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Features
2727
- compositional & portable APIs for ease of integration in existing workflows;
2828
- domain-specific implementations for networks, losses, evaluation metrics and more;
2929
- customizable design for varying user expertise;
30-
- multi-GPU data parallelism support.
30+
- multi-GPU multi-node data parallelism support.
3131

3232

3333
Getting started

docs/source/transforms.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2233,3 +2233,10 @@ Utilities
22332233

22342234
.. automodule:: monai.transforms.utils_pytorch_numpy_unification
22352235
:members:
2236+
2237+
By Categories
2238+
-------------
2239+
.. toctree::
2240+
:maxdepth: 1
2241+
2242+
transforms_idx

0 commit comments

Comments
 (0)