Skip to content

Commit

Permalink
unnest docs, make titles match module names in api docs
Browse files Browse the repository at this point in the history
  • Loading branch information
sneakers-the-rat committed Jun 22, 2024
1 parent 56f821b commit 5291343
Show file tree
Hide file tree
Showing 25 changed files with 44 additions and 64 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# miniscope-io

![PyPI - Version](https://img.shields.io/pypi/v/miniscope-io)
[![PyPI - Version](https://img.shields.io/pypi/v/miniscope-io)](https://pypi.org/project/miniscope_io/)
[![Documentation Status](https://readthedocs.org/projects/miniscope-io/badge/?version=latest)](https://miniscope-io.readthedocs.io/en/latest/?badge=latest)
![PyPI - Python Version](https://img.shields.io/pypi/pyversions/miniscope-io)
![PyPI - Status](https://img.shields.io/pypi/status/miniscope-io)
Expand Down
2 changes: 1 addition & 1 deletion docs/api/data.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Data
# data

```{eval-rst}
.. automodule:: miniscope_io.data
Expand Down
2 changes: 1 addition & 1 deletion docs/api/devices.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Devices
# devices

Interfaces to external devices like miniscopes and DAQs

Expand Down
2 changes: 1 addition & 1 deletion docs/api/formats/index.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Formats
# formats

```{eval-rst}
.. automodule:: miniscope_io.formats
Expand Down
2 changes: 1 addition & 1 deletion docs/api/formats/sdcard.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SDCard
# sdcard

```{eval-rst}
.. automodule:: miniscope_io.formats.sdcard
Expand Down
2 changes: 1 addition & 1 deletion docs/api/formats/stream.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Stream
# stream

```{eval-rst}
.. automodule:: miniscope_io.formats.stream
Expand Down
17 changes: 0 additions & 17 deletions docs/api/index.md

This file was deleted.

2 changes: 1 addition & 1 deletion docs/api/logging.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Logging
# logging

```{eval-rst}
.. automodule:: miniscope_io.logging
Expand Down
2 changes: 1 addition & 1 deletion docs/api/models/buffer.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Buffer
# buffer

```{eval-rst}
.. automodule:: miniscope_io.models.buffer
Expand Down
2 changes: 1 addition & 1 deletion docs/api/models/config.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Config
# config

```{eval-rst}
.. automodule:: miniscope_io.models.config
Expand Down
2 changes: 1 addition & 1 deletion docs/api/models/index.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Models
# models

Pydantic models used throughout `miniscope_io`.

Expand Down
2 changes: 1 addition & 1 deletion docs/api/models/mixins.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Mixins
# mixins

```{eval-rst}
.. automodule:: miniscope_io.models.mixins
Expand Down
2 changes: 1 addition & 1 deletion docs/api/models/models.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Models
# models

```{eval-rst}
.. automodule:: miniscope_io.models.models
Expand Down
2 changes: 1 addition & 1 deletion docs/api/models/sdcard.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SDCard
# sdCard

```{eval-rst}
.. automodule:: miniscope_io.models.sdcard
Expand Down
2 changes: 1 addition & 1 deletion docs/api/models/stream.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Stream
# stream

```{eval-rst}
.. automodule:: miniscope_io.models.stream
Expand Down
2 changes: 1 addition & 1 deletion docs/api/plots/headers.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Headers
# headers

```{eval-rst}
.. automodule:: miniscope_io.plots.headers
Expand Down
2 changes: 1 addition & 1 deletion docs/api/plots/index.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Plots
# plots

```{toctree}
:caption: Plots
Expand Down
2 changes: 1 addition & 1 deletion docs/api/stream_daq.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Stream DAQ
# stream_daq
This module is a data acquisition module that captures video streams from Miniscopes based on the `Miniscope-SAMD-Framework` firmware. The firmware repository will be published in future updates but is currently under development and private.

## Command
Expand Down
2 changes: 1 addition & 1 deletion docs/api/utils.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Utils
# utils

```{eval-rst}
.. automodule:: miniscope_io.utils
Expand Down
2 changes: 1 addition & 1 deletion docs/api/vendor/index.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Vendor
# vendor

Modules that incorporate some proprietary/nonfree component and are vendored in

Expand Down
2 changes: 1 addition & 1 deletion docs/api/vendor/opalkelly.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# OpalKelly FrontPanel
# opalkelly

(your docs on what this is for and how it works here!!!)

6 changes: 0 additions & 6 deletions docs/guide/index.md

This file was deleted.

7 changes: 5 additions & 2 deletions docs/guide/usage.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
```{include} ../api/stream_daq.md
```
# Usage

## Stream Daq

(see [stream_daq](../api/stream_daq.md))
29 changes: 19 additions & 10 deletions docs/index.md
Original file line number Diff line number Diff line change
@@ -1,27 +1,36 @@
.. miniscope-io documentation master file, created by
sphinx-quickstart on Tue Jun 27 10:52:50 2023.
You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive.

# miniscope-io

```{toctree}
:caption: Guide:
:maxdepth: 2
guide/index
guide/installation
guide/usage
```

```{toctree}
:maxdepth: 2
:caption: Contents:
api/index
:caption: API:
api/data
api/devices
api/formats/index
api/io
api/logging
api/models/index
api/exceptions
api/plots/index
api/utils
api/stream_daq
api/vendor/index
```

```{toctree}
:caption: Meta:
meta/index
meta/changelog
meta/contributing
meta/todo
```


Expand Down
9 changes: 0 additions & 9 deletions docs/meta/index.md

This file was deleted.

0 comments on commit 5291343

Please sign in to comment.