Skip to content

Commit 674e303

Browse files
Revert "Feat/mkdocs migration"
1 parent 037ab31 commit 674e303

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

70 files changed

+5053
-7842
lines changed

.github/workflows/ci.yml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
cache: 'pip'
2121
cache-dependency-path: |
2222
setup.py
23-
docs/notebooks/requirements.txt
23+
notebooks/requirements.txt
2424
- name: Install dependencies
2525
run: |
2626
pip install wheel pytest
@@ -46,26 +46,26 @@ jobs:
4646
- name: Convert contributors csv to md
4747
if: env.CONTINUE == 'true'
4848
run: |
49-
pip install -r docs/notebooks/requirements.txt
49+
pip install -r notebooks/requirements.txt
5050
python doc/convert_to_md.py
5151
- name: Build the book
5252
if: env.CONTINUE == 'true'
5353
run: |
54-
jupyter-book build docs/notebooks/
55-
touch docs/notebooks/_build/html/.nojekyll
54+
jupyter-book build notebooks/
55+
touch notebooks/_build/html/.nojekyll
5656
- name: Re-organize files
5757
if: env.CONTINUE == 'true'
5858
run: |
5959
mkdir out
60-
mv docs/notebooks/_build/html out/docs
60+
mv notebooks/_build/html out/docs
6161
mv test out/test
62-
# - name: Deploy notebook's html to DCE-DSC-MRI_TestResults repository
63-
# if: env.CONTINUE == 'true'
64-
# uses: cpina/github-action-push-to-another-repository@master
65-
# env:
66-
# API_TOKEN_GITHUB: ${{ secrets.DEMO_TOKEN }}
67-
# with:
68-
# source-directory: 'out'
69-
# destination-github-username: 'OSIPI'
70-
# destination-repository-name: 'DCE-DSC-MRI_TestResults'
71-
# user-email: [email protected]
62+
- name: Deploy notebook's html to DCE-DSC-MRI_TestResults repository
63+
if: env.CONTINUE == 'true'
64+
uses: cpina/github-action-push-to-another-repository@master
65+
env:
66+
API_TOKEN_GITHUB: ${{ secrets.DEMO_TOKEN }}
67+
with:
68+
source-directory: 'out'
69+
destination-github-username: 'OSIPI'
70+
destination-repository-name: 'DCE-DSC-MRI_TestResults'
71+
user-email: [email protected]

.github/workflows/deploy.yml

Lines changed: 0 additions & 40 deletions
This file was deleted.

.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,8 +150,8 @@ cython_debug/
150150
test/results-old
151151

152152
# notebook data
153-
docs/notebooks/data
154-
docs/notebooks/_build
153+
notebooks/data
154+
notebooks/_build
155155

156156
# test results (these are commited to separate repository)
157157
/results

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77

88
- [code database with links to source code](https://osipi.github.io/DCE-DSC-MRI_TestResults/overview_of_code_collection.html)
9-
- [test-results website](https://osipi.github.io/DCE-DSC-MRI_TestResults/index.html)
9+
- [test-results website](https://osipi.github.io/DCE-DSC-MRI_TestResults/intro.html)
1010

1111
The ISMRM Open Science Initiative for Perfusion Imaging ([OSIPI](https://osipi.ismrm.org)) aims to promote the sharing of perfusion imaging software in order to reduce duplication, improve reproducibility and speed up translation. This **DCE-DSC-MRI_CodeCollection** code library is maintained by [Taskforce 2.3](https://osipi.github.io/task-force-2-3/) of OSIPI and aims to collect, test and share open-source perfusion imaging code for use in research and software development. Code contributions can include modules covering one or more steps within the image processing pipeline, for example T1 mapping, converting signal to concentration and pharmacokinetic modelling. A further aim of OSIPI is to develop a fully tested and harmonised code library, drawing on the contributions within this repository.
1212

@@ -39,9 +39,8 @@ Wiki # Information and guidelines
3939
Click [here](https://osipi.github.io/DCE-DSC-MRI_TestResults/overview_of_code_collection.html) for
4040
database of code available with links to code.
4141

42-
The results of the validated code are published on the [test-results website](https://osipi.github.io/DCE-DSC-MRI_TestResults/index.html), which is hosted via a separate [repository](https://github.com/OSIPI/DCE-DSC-MRI_TestResults).
42+
The results of the validated code are published on the [test-results website](https://osipi.github.io/DCE-DSC-MRI_TestResults/intro.html), which is hosted via a separate [repository](https://github.com/OSIPI/DCE-DSC-MRI_TestResults).
4343

4444

4545

4646
This is an ongoing project, we welcome new contributions. If you would like to contribute to the OSIPI initiative please email the contacts listed on our [website](https://osipi.github.io/task-force-2-3/).
47-

doc/convert_to_md.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22

33
df = pd.read_csv('doc/code_contributions_record.csv')
44
md = df.to_markdown(index=False).replace("(../", "(https://github.com/OSIPI/DCE-DSC-MRI_CodeCollection/tree/develop/")
5-
with open('docs/notebooks/overview_of_code_collection.md', 'w') as f:
5+
with open('notebooks/overview_of_code_collection.md', 'w') as f:
66
f.write("# Overview of code collection\n\n")
77
f.write(md)
-72.6 KB
Binary file not shown.
-175 KB
Binary file not shown.
-42.7 KB
Binary file not shown.
-55.7 KB
Binary file not shown.

docs/assets/stylesheets/extra.css

Lines changed: 0 additions & 8 deletions
This file was deleted.

0 commit comments

Comments
 (0)