Skip to content

Commit 791cee1

Browse files
committed
minor docs fixes
1 parent 2fcf56b commit 791cee1

9 files changed

Lines changed: 20 additions & 22 deletions

File tree

docs/source/conf.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
"sphinx.ext.duration",
1616
"sphinx.ext.graphviz",
1717
"sphinx.ext.intersphinx",
18+
"sphinx.ext.todo",
1819
"sphinxext.rediraffe",
1920
"myst_parser",
2021
"sphinx_copybutton",
@@ -38,10 +39,10 @@
3839
"python": ("https://docs.python.org/3/", None),
3940
"sphinx": ("https://www.sphinx-doc.org/en/master/", None),
4041
"numpy": ("https://numpy.org/doc/stable/", None),
41-
"ezmsg": ("https://ezmsg.org/ezmsg/", None),
42-
"ezmsg.sigproc": ("https://ezmsg.org/ezmsg-sigproc/", None),
43-
"ezmsg.learn": ("https://ezmsg.org/ezmsg-learn/", None),
44-
"ezmsg.lsl": ("https://ezmsg.org/ezmsg-lsl/", None),
42+
"ezmsg": ("https://www.ezmsg.org/ezmsg/", None),
43+
"ezmsg.sigproc": ("https://www.ezmsg.org/ezmsg-sigproc/", None),
44+
"ezmsg.learn": ("https://www.ezmsg.org/ezmsg-learn/", None),
45+
"ezmsg.lsl": ("https://www.ezmsg.org/ezmsg-lsl/", None),
4546
}
4647
intersphinx_disabled_domains = ["std"]
4748

docs/source/explanations/axisarray.rst

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -127,14 +127,12 @@ Calling ``ezmsg.util.messages.axisarray.replace()`` calls the utility function `
127127

128128
If you have concerns over this reduced safety, if you set the environment variable ``EZMSG_DISABLE_FAST_REPLACE=1``, then this imported ``replace`` function will simply be the function ``dataclasses.replace`` defined in the python standard `dataclasses` module.
129129

130-
.. note:: Use of this purpose-made ``replace`` function is not limited to ``AxisArray`` objects. It can be used to create any dataclass object given an instance of said class, including user-defined dataclasses. An example of this can be seen in the tutorial :ref:`here <processing_data_tutorial>`.
130+
.. note:: Use of this purpose-made ``replace`` function is not limited to ``AxisArray`` objects. It can be used to create any dataclass object given an instance of said class, including user-defined dataclasses.
131131

132132
|ezmsg_logo_small| See Also
133133
********************************
134134

135-
#. :doc:`../reference/API/axisarray`
136-
137-
.. :doc:`../how-tos/axisarray/content-axisarray`
135+
#. `AxisArray API Reference <https://www.ezmsg.org/ezmsg/reference/API/axisarray.html>`_
138136

139137
.. |ezmsg_logo_small| image:: ../_static/_images/ezmsg_logo.png
140138
:width: 40

docs/source/explanations/content-explanations.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ What is ezmsg?
33

44
.. under construction - Griffin to add content
55
6-
This section of the documentation aims to provide a comprehensive overview of the `ezmsg` framework from a design and decision-making perspective. These are four "explainer" documents for users to gain an understanding of the major parts of `ezmsg` and why they are implemented the way that they are. This page provides a high-level overview of the framework, its design philosophy, and motivations. The remaining pages delve into the design details of `ezmsg` core components, the in-built message format `AxisArray` and the signal processing tools provided in the `ezmsg-sigproc` extension to `ezmsg` respectively.
6+
This section of the documentation aims to provide a comprehensive overview of the `ezmsg` framework from a design and decision-making perspective. These explainer documents help users gain an understanding of the major parts of `ezmsg` and why they are implemented the way that they are. This page provides a high-level overview of the framework, its design philosophy, and motivations. The remaining pages delve into the design details of `ezmsg` core components and the in-built message format `AxisArray`.
77

88
.. toctree::
99
:maxdepth: 1
@@ -28,7 +28,7 @@ Other ways to learn about `ezmsg` include following our :doc:`Tutorial <../tutor
2828
- **Minimal boilerplate code** required for `ezmsg` components: `ezmsg` is designed to minimize the amount of boilerplate code required to create new components. This allows users to focus on the core functionality of their components rather than getting bogged down in implementation details.
2929
- Provides an **in-built message format** (`AxisArray`): `AxisArray` is a message format for handling multi-dimensional arrays with labeled axes. It is designed to facilitate the organization, manipulation, and analysis of complex data structures commonly encountered in signal processing and related fields. See :doc:`AxisArray <axisarray>` for more information.
3030
- Provides a **command line interface**: `ezmsg` includes a command line interface (CLI) that allows users to manage and interact with signal processing pipelines. The CLI provides commands for starting, stopping, and visualising pipelines.
31-
- Provides fundamental **signal processing units**: through the extension `ezmsg-sigproc`, users of `ezmsg` have access to over 20 in-built signal processing units, that can be used both in an `ezmsg` context as well as outside of it. See :doc:`sigproc <sigproc>` for more information.
31+
- Provides fundamental **signal processing units**: through the extension `ezmsg-sigproc`, users of `ezmsg` have access to over 20 in-built signal processing units, that can be used both in an `ezmsg` context as well as outside of it. See the `ezmsg-sigproc documentation <https://www.ezmsg.org/ezmsg-sigproc/>`_ for more information.
3232
- **Extensible** via extensions: `ezmsg` is designed to be extensible, allowing users to create and share custom components and extensions. This extensibility enables users to tailor the framework to their specific needs and contribute to the broader `ezmsg` community. See :doc:`Extensions <../extensions/content-extensions>` for more information.
3333
- **Open-source**: `ezmsg` is an open-source project, released under the permissive MIT license. This encourages collaboration and contributions from the community, fostering a vibrant ecosystem of users and developers.
3434

docs/source/how-tos/basics/install.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ To install an extension, you can use pip:
9797
9898
pip install ezmsg[extension_name]
9999
100-
For more information on available extensions, please refer to the :doc:`Extensions page <../extensions/content-extensions>`.
100+
For more information on available extensions, please refer to the :doc:`Extensions page <../../extensions/content-extensions>`.
101101

102102

103103
.. |ezmsg_logo_small| image:: ../../_static/_images/ezmsg_logo.png

docs/source/how-tos/basics/sandbox.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ The former is explained below.
1919
|ezmsg_logo_small| The ``run()`` function
2020
***********************************************************
2121

22-
In order to run the ezmsg pipeline in any mode, your script must contain a call to ``ezmsg.core.run()``. You can consult the API reference for :doc:`run() here <../../reference/API/entrypoint>`.
22+
In order to run the ezmsg pipeline in any mode, your script must contain a call to ``ezmsg.core.run()``. You can consult the `API reference for run() <https://www.ezmsg.org/ezmsg/reference/API/entrypoint.html>`_.
2323

2424
At minimum, you need to provide the components and connections of your pipeline to the ``run()`` function.
2525

docs/source/reference/content-reference.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ API Documentation
66

77
For detailed API documentation, please visit the individual package documentation sites:
88

9-
* `ezmsg Core API <https://ezmsg.org/ezmsg/reference/content-reference.html>`_ - Core ezmsg API reference
10-
* `ezmsg-sigproc API <https://ezmsg.org/ezmsg-sigproc/>`_ - Signal processing extensions
11-
* `ezmsg-lsl API <https://ezmsg.org/ezmsg-lsl/>`_ - Lab Streaming Layer integration
12-
* `ezmsg-learn API <https://ezmsg.org/ezmsg-learn/>`_ - Machine learning extensions
9+
* `ezmsg Core API <https://www.ezmsg.org/ezmsg/reference/content-reference.html>`_ - Core ezmsg API reference
10+
* `ezmsg-sigproc API <https://www.ezmsg.org/ezmsg-sigproc/>`_ - Signal processing extensions
11+
* `ezmsg-lsl API <https://www.ezmsg.org/ezmsg-lsl/>`_ - Lab Streaming Layer integration
12+
* `ezmsg-learn API <https://www.ezmsg.org/ezmsg-learn/>`_ - Machine learning extensions
1313

1414
See :doc:`../extensions/content-extensions` for a complete list of available extensions.
1515

docs/source/tutorials/content-tutorials.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ For more in-depth documentation of the code, please refer to the :doc:`reference
1616
start
1717
pipeline
1818
run
19-
signalprocessing
2019

2120
.. |ezmsg_logo_small| image:: ../_static/_images/ezmsg_logo.png
2221
:width: 40

docs/source/tutorials/run.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ The alternative, if you want the graphserver to use a particular address, is to
9292
1. set the ``EZMSG_GRAPH_SERVER`` environment variable before running your script.
9393
2. start an ezmsg instance from the command line with the `serve` or `start` commands, which will allow you to specify the address and port.
9494

95-
.. note:: For a deeper dive into the backend of ezmsg, please refer to the :doc:`../explanations/ezmsg` section. Here you will find more information about the ezmsg graphserver, how it works, and how to configure it.
95+
.. note:: For a deeper dive into the backend of ezmsg, please refer to the :doc:`../explanations/ezmsg-design` section. Here you will find more information about the ezmsg graphserver, how it works, and how to configure it.
9696

9797

9898
|ezmsg_logo_small| Run the pipeline using the command line
@@ -183,9 +183,9 @@ then ezmsg will output a **Graphviz** representation of the pipeline to the term
183183

184184
.. note:: The really long numerical node identifiers are simply randomly generated unique identifiers for each connection point (since the names may be the same like `INPUT_SIGNAL`). These identifiers have no special meaning.
185185

186-
.. warning:: This command and the ones described in the :ref:`mermaid-section` section below will only output the pipeline graph if the ezmsg system is running and has a pipeline connected to it. If you run this command when the pipeline is finished or not running, you will not get any output. Our example is so simple that it will finish very quickly, so in order to visualise the graph maybe change the `iterations` in the `CountSettings` to a larger number, e.g. 100000, so that you have time to run the command and see the output.
186+
.. warning:: This command and the ones described in the :ref:`mermaid-section-tutorial` section below will only output the pipeline graph if the ezmsg system is running and has a pipeline connected to it. If you run this command when the pipeline is finished or not running, you will not get any output. Our example is so simple that it will finish very quickly, so in order to visualise the graph maybe change the `iterations` in the `CountSettings` to a larger number, e.g. 100000, so that you have time to run the command and see the output.
187187

188-
.. _mermaid-section:
188+
.. _mermaid-section-tutorial:
189189

190190
Mermaid visualisation
191191
===========================

docs/source/tutorials/start.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ To install the ezmsg framework, you can use pip in your terminal:
5353
5454
pip install ezmsg
5555
56-
Once installed, you can start using ezmsg in your projects. You can skip straight to the section on :ref:`updating-ezmsg`.
56+
Once installed, you can start using ezmsg in your projects. You can skip straight to the section on :ref:`updating-ezmsg-tutorial`.
5757

5858
From source (using git)
5959
==========================
@@ -127,7 +127,7 @@ Running the tests ensures everything is working correctly.
127127
128128
python -m pytest -v tests
129129
130-
.. _updating-ezmsg:
130+
.. _updating-ezmsg-tutorial:
131131

132132
|ezmsg_logo_small| How to update ezmsg
133133
***************************************

0 commit comments

Comments
 (0)