diff --git a/.github/workflows/check-links.yml b/.github/workflows/check-links.yml new file mode 100644 index 0000000000..aa18cf74f4 --- /dev/null +++ b/.github/workflows/check-links.yml @@ -0,0 +1,26 @@ +name: Check Links + +on: + push: + branches: + - main + pull_request: + +jobs: + markdown-link-check: + runs-on: ubuntu-latest + steps: + - name: Checkout repository content + uses: actions/checkout@v3 + + - name: Install Rust (required for Lychee) + run: sudo apt update && sudo apt install -y curl build-essential && curl https://sh.rustup.rs -sSf | sh -s -- -y + + - name: Add Rust to PATH + run: source $HOME/.cargo/env + + - name: Install Lychee + run: cargo install lychee + + - name: Run Lychee to check links + run: lychee --verbose --all \ No newline at end of file diff --git a/3d_segmentation/swin_unetr_btcv_segmentation_3d.ipynb b/3d_segmentation/swin_unetr_btcv_segmentation_3d.ipynb index 4e5990c41d..c3a6c0b415 100644 --- a/3d_segmentation/swin_unetr_btcv_segmentation_3d.ipynb +++ b/3d_segmentation/swin_unetr_btcv_segmentation_3d.ipynb @@ -319,7 +319,7 @@ "\n", "3. Make a JSON file to define train/val split and other relevant parameters. Place the JSON file at `./data/dataset_0.json`.\n", "\n", - " You can download an example of the JSON file [here](https://drive.google.com/file/d/1qcGh41p-rI3H_sQ0JwOAhNiQSXriQqGi/view?usp=sharing), or, equivalently, use the following `wget` command. If you would like to use this directly, please move it into the `./data` folder." + " You can download an example of the JSON file [here](https://developer.download.nvidia.com/assets/Clara/monai/tutorials/swin_unetr_btcv_dataset_0.json), or, equivalently, use the following `wget` command. If you would like to use this directly, please move it into the `./data` folder." ] }, {