Skip to content

Commit 2dbb6ea

Browse files
committed
fix: remove raw directive from readme
1 parent 912ba63 commit 2dbb6ea

File tree

2 files changed

+8
-35
lines changed

2 files changed

+8
-35
lines changed

.github/workflows/tags-release.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,6 @@ jobs:
2828
python -m pip install build
2929
python -m pip install .
3030
31-
# Overwrite the end of the README file, to remove the use of ``.. raw`` directives,
32-
# that are disable by PyPi.
33-
# There are zero-width space after the replace directive !
34-
- name: Remove raw directive from rst
35-
run: |
36-
sed -i '/.. |centerdiv|/,$c .. |centerdiv| replace:: ​\n.. |enddiv| replace:: ​\n' README.rst
37-
3831
- name: Build a binary wheel and a source tarball
3932
run: |
4033
python -m build --sdist --wheel --outdir dist/ .

README.rst

Lines changed: 8 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,15 @@
1-
|centerdiv|
21

32
.. image:: https://github.com/mind-inria/mri-nufft/raw/master/docs/_static/logos/mri-nufft.png
4-
:width: 300
5-
:align: center
3+
:width: 200px
4+
:align: center
65

76
|
87
9-
|Docs| |PyPI| |JOSS|
10-
|Coverage| |CI| |CD| |Style|
8+
|Docs| |PyPI| |JOSS| |Coverage| |CI| |CD| |Style|
119

1210

1311
*Doing non-Cartesian MR Imaging has never been so easy*
1412

15-
|enddiv|
1613

1714

1815
Introduction
@@ -34,15 +31,12 @@ MRI-nufft is a nice and polite piece of software, that will return the same type
3431

3532
On top of that we ship a variety of `non-Cartesian trajectories <https://mind-inria.github.io/mri-nufft/generated/autoexamples/trajectories/index.html>`__ commonly used by the MRI community, and even `tools <https://mind-inria.github.io/mri-nufft/generated/autoexamples/trajectories/example_trajectory_tools.html>`__ to helps you develop new ones.
3633

37-
|centerdiv|
38-
39-
.. image:: https://github.com/mind-inria/mri-nufft/raw/master/docs/_static/mri-nufft-scheme.png
40-
:width: 700
34+
.. figure:: https://github.com/mind-inria/mri-nufft/raw/master/docs/_static/mri-nufft-scheme.png
35+
:width: 1000px
4136
:align: center
37+
38+
*Modularity and Integration of MRI-nufft with the python computing libraries.*
4239

43-
*Modularity and Integration of MRI-nufft with the python computing libraries.*
44-
45-
|enddiv|
4640

4741

4842
Usage
@@ -142,14 +136,8 @@ Don't hesitate to look for unsolved `issues <https://github.com/mind-inria/mri-n
142136

143137

144138

145-
|centerdiv|
146-
147-
✨ If you made it this far, consider starring the repo ✨
148-
149-
|enddiv|
150139

151-
152-
.. |Coverage| image:: https://mind-inria.github.io/mri-nufft/_static/coverage_badge.svg
140+
.. |Coverage| image:: https://raw.githubusercontent.com/mind-inria/mri-nufft/refs/heads/colab-examples/examples/_static/coverage_badge.svg
153141
.. |CI| image:: https://github.com/mind-inria/mri-nufft/actions/workflows/test-ci.yml/badge.svg
154142
.. |CD| image:: https://github.com/mind-inria/mri-nufft/workflows/CD/badge.svg
155143
.. |Style| image:: https://img.shields.io/badge/style-black-black
@@ -170,11 +158,3 @@ Don't hesitate to look for unsolved `issues <https://github.com/mind-inria/mri-n
170158
.. _torchkbnufft: https://github.com/mmuckley/torchkbnufft
171159

172160

173-
174-
.. |centerdiv| raw:: html
175-
176-
<div align="center">
177-
178-
.. |enddiv| raw:: html
179-
180-
</div>

0 commit comments

Comments
 (0)