Skip to content

Commit 53fed98

Browse files
committed
Fancier note styling in installation instructions
1 parent 9155f6b commit 53fed98

2 files changed

Lines changed: 9 additions & 5 deletions

File tree

manuals/INSTALLATION.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
=========================
33
[← Back to main page](./index.md)
44

5-
> ### Notice
6-
> This current verstion of OrganoidTracker is different from the version published in [our most recent paper](https://doi.org/10.1038/s41592-025-02845-6). The main change is that the Tensorflow library has been replaced with PyTorch. We have converted our trained neural networks to be compatible with PyTorch. Should you need any assistance upgrading to this version from the old published version, feel free to contact us. In case you still need access to the old version, it is still available.
7-
>
8-
> **Old links**: [Old manual](https://github.com/jvzonlab/OrganoidTracker/blob/v2/manuals/index.md) | [Old ZIP download](https://github.com/jvzonlab/OrganoidTracker/archive/refs/heads/v2.zip) | [Old source code](https://github.com/jvzonlab/OrganoidTracker/tree/v2)
5+
:::{note}
6+
This current version of OrganoidTracker is different from the version published in [our most recent paper](https://doi.org/10.1038/s41592-025-02845-6). The main change is that the Tensorflow library has been replaced with PyTorch. We have converted our trained neural networks to be compatible with PyTorch. Should you need any assistance upgrading to this version from the old published version, feel free to contact us. In case you still need access to the old version, it is still available.
97

8+
**Old links**: [Old manual](https://github.com/jvzonlab/OrganoidTracker/blob/v2/manuals/index.md) | [Old ZIP download](https://github.com/jvzonlab/OrganoidTracker/archive/refs/heads/v2.zip) | [Old source code](https://github.com/jvzonlab/OrganoidTracker/tree/v2)
9+
:::
1010

1111
## Windows
1212
**System requirements:**

organoid_tracker/text_popup/help_popup.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,15 @@ def navigate(self, url: str) -> Optional[str]:
4040
raise UserError("File not found", url + " does not exist")
4141
markdown_str = _file_get_contents(file)
4242

43+
# Replace :::{note} style blocks with a block using horizontal lines
44+
markdown_str = markdown_str.replace(":::{note}", "\n----------------\n### Note:")
45+
markdown_str = markdown_str.replace(":::", "\n-----------------\n")
46+
4347
# Cut off everything after :::{eval-rst} (that is metadata for the Sphinx documentation builder)
4448
try:
4549
remove_start_index = markdown_str.index(":::{eval-rst}")
4650
markdown_str = markdown_str[0:remove_start_index]
4751
except ValueError:
48-
pass # There's not metadata
52+
pass # There's no metadata
4953

5054
return markdown_str

0 commit comments

Comments
 (0)