Skip to content

Commit 08fe9c4

Browse files
authored
Merge pull request #94 from miniscope/docs-api
Docs: API
2 parents ab4dd8e + a93ce20 commit 08fe9c4

37 files changed

+422
-167
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
# `runner`
1+
# `asset`
22

33
```{eval-rst}
4-
.. automodule:: noob.runner
4+
.. automodule:: noob.asset
55
:members:
66
:undoc-members:
77
```

docs/api/config.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
11
# `config`
22

33
```{eval-rst}
4-
.. automodule:: noob.config
4+
.. autopydantic_model:: noob.config.Config
55
:members:
66
:undoc-members:
7+
```
8+
9+
```{eval-rst}
10+
.. automodule:: noob.config
11+
:members:
12+
:exclude-members: Config
713
```

docs/api/const.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# `const`
2+
3+
```{eval-rst}
4+
.. automodule:: noob.const
5+
:members:
6+
:undoc-members:
7+
```

docs/api/exceptions.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
11
# `exceptions`
22

3+
```{inheritance-diagram} noob.exceptions
4+
:parts: 1
5+
```
6+
37
```{eval-rst}
48
.. automodule:: noob.exceptions
59
:members:
610
:undoc-members:
11+
:show-inheritance:
712
```

docs/api/index.md

Lines changed: 47 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,61 @@
11
# API
22

3+
## Main modules
4+
5+
Core functionality, main public interface
6+
7+
- [**node**](./node/index.md) - Units of a processing graph
8+
- [**tube**](./tube.md) - A whole processing graph!
9+
- [**runner**](./runner/index.md) - The thing that executes the processing graph
10+
11+
## Secondary modules
12+
13+
Models, mixins, and helper classes that support the main modules and are also part of the public interface
14+
15+
- [**asset**](./asset.md) - Static objects that can persist through graph processing cycles
16+
- [**config**](./config.md) - Control how noob works
17+
- [**event**](./event.md) - Data models for events
18+
- [**input**](./input.md) - Types and collections for handling tube inputs
19+
- [**network**](./network/index.md) - Data models and support for networked runners
20+
- [**scheduler**](./scheduler.md) - Keeps track of which nodes should run when
21+
- [**state**](./state.md) - Manages [assets](./asset.md)
22+
- [**store**](./store.md) - Manages [events](./event.md)
23+
- [**types**](./types.md) - Annotated and validating types used throughout noob
24+
25+
## Utility modules
26+
27+
Internal or limited-use tools
28+
29+
- [**const**](./const.md) - constants!
30+
- [**exceptions**](./exceptions.md) - Custom exceptions and warnings raised by noob
31+
- [**introspection**](./introspection.md) - Helpers for working with python type annotations
32+
- [**logging**](./logging.md) - what it says
33+
- [**testing**](./testing/index.md) - Nodes and other code useful for downstream packages testing things built with noob
34+
- [**utils**](./utils.md) - junk drawer
35+
- [**yaml**](./yaml.md) - Mixin for locating and parsing tube config files
36+
37+
338
```{toctree}
439
:maxdepth: 2
40+
:hidden:
541
42+
asset
643
config
44+
const
745
event
846
exceptions
47+
input
48+
introspection
949
logging
10-
node
11-
runner
50+
network/index
51+
node/index
52+
runner/index
53+
scheduler
54+
state
1255
store
56+
testing/index
1357
tube
1458
types
59+
utils
1560
yaml
1661
```

docs/api/input.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# `input`
2+
3+
```{eval-rst}
4+
.. automodule:: noob.input
5+
:members:
6+
:undoc-members:
7+
```

docs/api/introspection.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# `introspection`
2+
3+
```{eval-rst}
4+
.. automodule:: noob.introspection
5+
:members:
6+
:undoc-members:
7+
```

docs/api/network/index.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# `network`
2+
3+
```{toctree}
4+
:maxdepth: 2
5+
6+
loop
7+
message
8+
```

docs/api/network/loop.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# `loop`
2+
3+
```{eval-rst}
4+
.. automodule:: noob.network.loop
5+
:members:
6+
:undoc-members:
7+
```

docs/api/network/message.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# `message`
2+
3+
```{eval-rst}
4+
.. automodule:: noob.network.message
5+
:members:
6+
:undoc-members:
7+
```

0 commit comments

Comments
 (0)