Skip to content

Commit

Permalink
Merge pull request #337 from dstansby/doc-structure
Browse files Browse the repository at this point in the history
Improve documentation structure
  • Loading branch information
joshmoore authored Dec 7, 2023
2 parents 77b16af + cc16cc9 commit 6810035
Show file tree
Hide file tree
Showing 5 changed files with 40 additions and 59 deletions.
6 changes: 3 additions & 3 deletions docs/source/api.rst
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
API
===
Python API
==========

.. toctree::
:maxdepth: 3
:maxdepth: 2

api/cli
api/csv
Expand Down
2 changes: 1 addition & 1 deletion docs/source/cli.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

Command-line Tool
Command-line tool
-----------------

Open Zarr filesets containing images with associated OME metadata.
Expand Down
40 changes: 34 additions & 6 deletions docs/source/index.rst
Original file line number Diff line number Diff line change
@@ -1,18 +1,46 @@
Welcome to ome-zarr-py documentation
====================================
===========
ome-zarr-py
===========

**ome zarr** is a Python library for reading and writing multi-resolution images stored
as Zarr filesets, according to the `OME NGFF spec`_.
Tools for reading and writing multi-resolution images stored in Zarr filesets, according to the `OME NGFF spec`_.


Contents
Features
--------

- :doc:`cli` for reading and downloading OME-NGFF filesets.
- :doc:`api` for reading and writing OME-NGFF filesets (see :doc:`python` for example usage).
- Used by the `napari-ome-zarr`_ plugin for viewing OME-NGFF filesets in `napari`_.

Contents
--------
.. toctree::
:maxdepth: 1

intro
cli
python
api

Installation
------------

Install the latest release of `ome-zarr`_ from PyPI::

pip install ome-zarr

or from conda-forge::

conda install -c conda-forge ome-zarr


License
-------

Distributed under the terms of the `BSD`_ license,
"ome-zarr-py" is free and open source software

.. _`OME NGFF spec`: https://github.com/ome/ngff
.. _`BSD`: https://opensource.org/licenses/BSD-2-Clause
.. _`napari`: https://github.com/napari/napari
.. _`napari-ome-zarr`: https://github.com/ome/napari-ome-zarr
.. _`ome-zarr`: https://pypi.org/project/ome-zarr/
47 changes: 0 additions & 47 deletions docs/source/intro.rst

This file was deleted.

4 changes: 2 additions & 2 deletions docs/source/python.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ome_zarr Python library
=======================
Python tutorial
===============

Writing OME-NGFF images
-----------------------
Expand Down

0 comments on commit 6810035

Please sign in to comment.