Skip to content

Commit 3afb8e3

Browse files
authored
Merge pull request #2252 from cta-observatory/fix_readme
Fix rst warnings for README, use linter in CI to prevent in future
2 parents 8d62997 + 12b404b commit 3afb8e3

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,14 +93,15 @@ jobs:
9393
- name: Install dependencies
9494
run: |
9595
python --version
96-
pip install codecov pytest-cov flake8 pytest-xdist 'coverage!=6.3.0'
96+
pip install codecov pytest-cov flake8 restructuredtext-lint pytest-xdist 'coverage!=6.3.0'
9797
pip install .[all]
9898
pip install ./test_plugin
9999
pip freeze
100100
101101
- name: Static codechecks
102102
run: |
103103
flake8 ctapipe
104+
restructuredtext-lint README.rst
104105
105106
- name: ctapipe-info
106107
run: |

README.rst

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ ctapipe |ci| |codacy| |coverage| |conda| |doilatest|
1515
:target: https://zenodo.org/badge/latestdoi/37927055
1616

1717
Low-level data processing pipeline software for
18-
`CTA <www.cta-observatory.org>`_ (the Cherenkov Telescope Array)
18+
`CTA <www.cta-observatory.org>`__ (the Cherenkov Telescope Array)
1919

2020
This is code is a prototype data processing framework and is under rapid
2121
development. It is not recommended for production use unless you are an
@@ -31,7 +31,7 @@ Citing this software
3131
If you use this software for a publication, please cite the Zenodo Record
3232
for the specific version you are using and our latest publication.
3333

34-
You can find all ctapipe Zenodo records here: `List of ctapipe Records on Zenodo <https://zenodo.org/search?q=conceptrecid:%223372210%22&sort=-version&all_versions=True>`_.
34+
You can find all ctapipe Zenodo records here: `List of ctapipe Records on Zenodo <https://zenodo.org/search?q=conceptrecid:%223372210%22&sort=-version&all_versions=True>`__.
3535

3636
There is also a Zenodo DOI always pointing to the latest version: |doilatest|
3737

@@ -69,13 +69,11 @@ or via::
6969

7070
pip install ctapipe
7171

72-
**Note**: to install a specific version of ctapipe take look at the documentation `here <https://cta-observatory.github.io/ctapipe/getting_started_users>`_.
72+
**Note**: to install a specific version of ctapipe take look at the documentation `here <https://cta-observatory.github.io/ctapipe/getting_started_users>`__.
7373

74-
**Note**: ``mamba`` is a C++ reimplementation of conda and can be found `here <https://github.com/mamba-org/mamba>`_.
74+
**Note**: ``mamba`` is a C++ reimplementation of conda and can be found `here <https://github.com/mamba-org/mamba>`__.
7575

7676
Note this is *pre-alpha* software and is not yet stable enough for end-users (expect large API changes until the first stable 1.0 release).
7777

7878
Developers should follow the development install instructions found in the
79-
`documentation <https://cta-observatory.github
80-
.io/ctapipe/getting_started>`_.
81-
79+
`documentation <https://cta-observatory.github.io/ctapipe/getting_started>`__.

0 commit comments

Comments
 (0)