File tree Expand file tree Collapse file tree 2 files changed +41
-1
lines changed
Expand file tree Collapse file tree 2 files changed +41
-1
lines changed Original file line number Diff line number Diff line change 1717 "documentation"
1818)
1919
20+ # List of files to grab from CudaCommon
21+ set (
22+ CUDACOMMONFILES
23+ "README.md"
24+ "cuda_array_interface.md"
25+ "examples/itkCudaArrayInterfaceCupyExample.py"
26+ "examples/itkCudaArrayInterfaceTorchExample.py"
27+ )
28+
2029# Append the files in the subdirectories
2130foreach (subdir ${DOCSUBDIRS} )
2231 file (
@@ -89,6 +98,21 @@ foreach(content_file ${content_files})
8998 list (APPEND DOCSRCFILES "${content_file_rel_path} " )
9099endforeach ()
91100
101+ foreach (cudacommon_file ${CUDACOMMONFILES} )
102+ if (NOT EXISTS "${RTK_DOC_OUTPUT_DIR} /${cudacommon_file} " )
103+ set (
104+ URL
105+ "https://raw.githubusercontent.com/RTKConsortium/ITKCudaCommon/main/${cudacommon_file} "
106+ )
107+ file (
108+ DOWNLOAD
109+ "${URL} "
110+ "${RTK_DOC_OUTPUT_DIR} /${cudacommon_file} "
111+ )
112+ endif ()
113+ list (APPEND DOCSRCFILES "${cudacommon_file} " )
114+ endforeach ()
115+
92116# Clean-up: remove all files which are not in the input files or in the _build and documentation/docs/ExternalData/ subfolders
93117file (
94118 GLOB_RECURSE filesInOutput
Original file line number Diff line number Diff line change @@ -7,16 +7,22 @@ RTK is an open-source and cross-platform software for fast circular cone-beam CT
77[ ![ PyPI] ( https://img.shields.io/pypi/v/itk-rtk.svg )] ( https://pypi.python.org/pypi/itk-rtk )
88[ ![ License] ( https://img.shields.io/badge/License-Apache%202.0-blue.svg )] ( https://github.com/RTKConsortium/RTK/blob/master/LICENSE.TXT )
99
10+ <br >
11+
1012``` {toctree}
1113GettingStarted
1214```
1315
16+ <br >
17+
1418``` {toctree}
1519:maxdepth: 1
1620:caption: 💾 Download
1721INSTALLATION
1822```
1923
24+ <br >
25+
2026``` {toctree}
2127:maxdepth: 1
2228:caption: 📖 Learn
@@ -27,6 +33,17 @@ examples/README.md
2733applications/README.md
2834```
2935
36+ <br >
37+
38+ ``` {toctree}
39+ :maxdepth: 1
40+ :caption: CudaCommon
41+ README.md
42+ cuda_array_interface.md
43+ ```
44+
45+ <br >
46+
3047``` {toctree}
3148:maxdepth: 1
3249:caption: 🔨 Develop
@@ -37,5 +54,4 @@ documentation/docs/rtk_3_migration_guide.md
3754CodeContribution
3855documentation/docs/README
3956documentation/docs/Release
40-
4157```
You can’t perform that action at this time.
0 commit comments