Skip to content

Commit 5b88e70

Browse files
authored
Merge pull request #1655 from zm711/main
Documentation-Fix RST formatting Typos
2 parents f75d3e5 + 419ee0a commit 5b88e70

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

doc/development/development.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ There are various ways to contribute to SpikeInterface as a user or developer. S
1717
We use a forking workflow <https://www.atlassian.com/git/tutorials/comparing-workflows/forking-workflow>_ to manage contributions. Here's a summary of the steps involved, with more details available in the provided link:
1818

1919
* Fork the SpikeInterface repository.
20-
* Create a new branch (e.g., :code:git switch -c my-contribution).
20+
* Create a new branch (e.g., :code:`git switch -c my-contribution`).
2121
* Modify the code, commit, and push changes to your fork.
22-
* Open a pull request from the "Pull Requests" tab of your fork to :code:spikeinterface/main.
22+
* Open a pull request from the "Pull Requests" tab of your fork to :code:`spikeinterface/main`.
2323
* By following this process, we can review the code and even make changes as necessary.
2424

2525
While we appreciate all the contributions please be mindful of the cost of reviewing pull requests <https://rgommers.github.io/2019/06/the-cost-of-an-open-source-contribution/>_ .
@@ -164,7 +164,7 @@ As described in the `black documentation <https://black.readthedocs.io/en/stable
164164

165165
The following are some styling conventions that we follow in SpikeInterface:
166166

167-
#. Avoid using abreviations in variable names (e.g., use :code:`recording` instead of :code:`rec`). It is specially important to avoid single letter variables.
167+
#. Avoid using abreviations in variable names (e.g., use :code:`recording` instead of :code:`rec`). It is especially important to avoid single letter variables.
168168
#. Use index as singular and indices for plural following Numpy. Avoid idx or indexes. Plus, id and ids are reserved for identifiers (i.e. channel_ids)
169169
#. We use file_path and folder_path (instead of file_name and folder_name) for clarity.
170170
#. Use the `numpy docstring standard <https://numpydoc.readthedocs.io/en/latest/format.html#numpydoc-docstring-guide>`_ in all the docstrings.
@@ -210,7 +210,7 @@ Once that is done, the new class can be easily wrapped into SpikeInterface as an
210210
code (e.g., see reader for `SpikeGLX <https://github.com/SpikeInterface/spikeinterface/blob/0.96.1/spikeinterface/extractors/neoextractors/spikeglx.py>`_
211211
or `Neuralynx <https://github.com/SpikeInterface/spikeinterface/blob/0.96.1/spikeinterface/extractors/neoextractors/neuralynx.py>`_).
212212

213-
**NOTE:** implementing a `neo.rawio` Class is not required, but recommended. Several extractors (especially) for Sorting
213+
**NOTE:** implementing a `neo.rawio` Class is not required, but recommended. Several extractors (especially) for :code:`Sorting`
214214
objects are implemented directly in SpikeInterface and inherit from the base classes.
215215
As examples, see the `CompressedBinaryIblExtractor <https://github.com/SpikeInterface/spikeinterface/blob/0.96.1/spikeinterface/extractors/cbin_ibl.py>`_
216216
for a :py:class:`~spikeinterface.core.BaseRecording` object, or the `SpykingCircusSortingExtractor <https://github.com/SpikeInterface/spikeinterface/blob/0.96.1/spikeinterface/extractors/spykingcircusextractors.py>`_

doc/installation.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ as :code:`spikeinterface` strongly relies on these packages to interface with va
6262
pip install git+https://github.com/SpikeInterface/probeinterface.git
6363
6464
65-
It is also sometimes useful to have local copies of :code: `neo` and :code:`probeinterface` to make changes to the code. To achieve this, repeat the first set of commands,
65+
It is also sometimes useful to have local copies of :code:`neo` and :code:`probeinterface` to make changes to the code. To achieve this, repeat the first set of commands,
6666
replacing `https://github.com/SpikeInterface/spikeinterface.git` with the appropriate repository in the first code block of this section.
6767

6868
For beginners

0 commit comments

Comments
 (0)