Skip to content

Commit

Permalink
[DOC] Refactor Third-Party documentation page (aramis-lab#1288)
Browse files Browse the repository at this point in the history
* Test tab link

* Testing 2

* Testing 3

* Refactoring complete

* Changes upon suggestions

* link test

* link test2

* Fix table

* Fix links

* Fix link git add docs/Third-party.md

* Small fix

* Change info points
  • Loading branch information
AliceJoubert authored Sep 10, 2024
1 parent 01f9061 commit f563e14
Show file tree
Hide file tree
Showing 7 changed files with 244 additions and 191 deletions.
3 changes: 1 addition & 2 deletions docs/Converters/ADNI2BIDS.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@

## Dependencies

If you only installed the core of Clinica, this pipeline needs the installation of the **dcm2niix** DICOM to NIfTI converter.
You can find how to install these software packages on the [installation](../../#installing-clinica-from-source) page.
If you only [installed the core of Clinica](../Installation.md), this pipeline needs the installation of the [**dcm2niix**](../Third-party.md#dcm2nix) DICOM to NIfTI converter.

## Downloading ADNI

Expand Down
3 changes: 1 addition & 2 deletions docs/Converters/AIBL2BIDS.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@

## Dependencies

If you only installed the core of Clinica, this pipeline needs the installation of the **dcm2niix** DICOM to NIfTI converter.
You can find how to install these software packages on the [installation](../../#installing-clinica-from-source) page.
If you only [installed the core of Clinica](../Installation.md), this pipeline needs the installation of the [**dcm2niix**](../Third-party.md#dcm2nix) DICOM to NIfTI converter.

### Downloading AIBL

Expand Down
3 changes: 2 additions & 1 deletion docs/Converters/GENFItoBIDS.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,12 @@

## Dependencies

If you installed the core of Clinica, this converter needs the `dcm2niix` package.
If you only [installed the core of Clinica](../Installation.md), this pipeline needs the installation of the [**dcm2niix**](../Third-party.md#dcm2nix) DICOM to NIfTI converter.

## Supported modalities

Please note that this converter currently processes the following modalities :

- T1W
- T2W
- DWI
Expand Down
3 changes: 1 addition & 2 deletions docs/Converters/NIFD2BIDS.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@

## Dependencies

If you only installed the core of Clinica, this pipeline needs the installation of the **dcm2niix** DICOM to NIfTI converter.
You can find how to install these software packages on the [installation](../../#installing-clinica-from-source) page.
If you only [installed the core of Clinica](../Installation.md), this pipeline needs the installation of the [**dcm2niix**](../Third-party.md#dcm2nix) DICOM to NIfTI converter.

## Downloading NIFD

Expand Down
357 changes: 173 additions & 184 deletions docs/Third-party.md

Large diffs are not rendered by default.

63 changes: 63 additions & 0 deletions docs/css/clinica.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
body {text-align: justify}

.md-typeset .codehilite, .md-typeset .highlight, code {
color: #c7254e;
Expand Down Expand Up @@ -41,3 +42,65 @@ h3, .h3, .md-typeset h3 {
font-weight: 600;
margin: 1.6rem 0 1.6rem;
}

.grid a {
color: #333; /* Link color */
text-align: center;
font-size:12px;
}


.md-typeset__table {
width: 100%;
}

.md-typeset table:not([class]) {
display: table;
}


.third_party_table table {
border-collapse: collapse;
table-layout: fixed;
}

.third_party_table td, th {
border: 0px solid #ddd;
padding: 0px 0px;
text-align: center,
}

.third_party_table tr:hover {
color:#ff6600;
}

.third_party_table th:nth-child(1) {
width: 20%;
}
.third_party_table th:nth-child(2) {
width: 8%;
}
.third_party_table th:nth-child(3) {
width: 11%;
}
.third_party_table th:nth-child(4) {
width: 11%;
}
.third_party_table th:nth-child(5) {
width: 6%;
}
.third_party_table th:nth-child(6) {
width: 6%;
}
.third_party_table th:nth-child(7) {
width: 10%;
}
.third_party_table th:nth-child(8) {
width: 10%;
}
.third_party_table th:nth-child(9) {
width: 10%;
}
.third_party_table th:nth-child(10) {
width: 8%;
}
3 changes: 3 additions & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ theme:
accent: light blue
features:
- content.tooltips
- content.tabs.link
- navigation.top

# Version panel
extra_javascript:
Expand Down Expand Up @@ -61,6 +63,7 @@ markdown_extensions:
- md_in_html
- abbr
- attr_list
- md_in_html
- pymdownx.snippets:
base_path: docs
auto_append:
Expand Down

0 comments on commit f563e14

Please sign in to comment.