Skip to content

Commit

Permalink
Merge pull request hyperspy#324 from CSSFrancis/supported-formats-vib…
Browse files Browse the repository at this point in the history
…ility

Improve Logical Flow of Documentation
  • Loading branch information
ericpre authored Dec 12, 2024
2 parents 623328f + b43231a commit 1f15545
Show file tree
Hide file tree
Showing 39 changed files with 77 additions and 5 deletions.
1 change: 1 addition & 0 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
"sphinx.ext.napoleon",
"sphinxcontrib.towncrier",
"sphinx_copybutton",
"sphinx_design",
]

intersphinx_mapping = {
Expand Down
70 changes: 68 additions & 2 deletions doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,74 @@ project for multi-dimensional data analysis. As HyperSpy is rooted in the electr
microscopy community, data formats used by this community are still particularly
well represented.


.. grid:: 2 3 3 3
:gutter: 2

.. grid-item-card::
:link: user_guide/install
:link-type: doc

:octicon:`rocket;2em;sd-text-info` Getting Started
^^^

New to RosettaSciIO or Python? Find information on how to
install RosettaSciIO.

.. grid-item-card::
:link: supported_formats/index
:link-type: doc

:octicon:`checklist;2em;sd-text-info` Supported Formats
^^^

Overview of the different file formats that RosettaSciIO can read
from and write to, as well as information on specific options if applicable.

.. grid-item-card::
:link: user_guide/interoperability
:link-type: doc

:octicon:`arrow-switch;2em;sd-text-info` Interoperability
^^^

Information on scripts and packages that allow opening data saved using
RosettaSciIO with third-party programs.

.. grid-item-card::
:link: file_specification/index
:link-type: doc

:octicon:`checklist;2em;sd-text-info` File Specifications
^^^

Links to or documentation of file specifications for
some of the formats supported by RosettaSciIO.

.. grid-item-card::
:link: api/index
:link-type: doc

:octicon:`book;2em;sd-text-info` API Reference
^^^

Documentation describing how to use RosettaSciIO with other
libraries than HyperSpy or for custom implementations using the
Application Programming Interface (API).

.. grid-item-card::
:link: contributing
:link-type: doc

:octicon:`code-square;2em;sd-text-info` Contributing
^^^

Information on how to implement new file plugins or help improve existing ones.


RosettaSciIO provides the dataset, its axes and related metadata contained in a
file in a python dictionary that can be easily handled by other libraries.
Similarly, it takes a dictionary as input for file writers.
file in a :ref:`python dictionary <interfacing-api>` that can be easily
handled by other libraries.

.. note::

Expand Down Expand Up @@ -66,6 +131,7 @@ Table of contents

user_guide/index
file_specification/index
supported_formats/index
api/index
contributing
changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ API functions
"""""""""""""

.. automodule:: rsciio.delmic
:members:
:members:
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
8 changes: 6 additions & 2 deletions doc/user_guide/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,13 @@
User Guide
==========

Welcome to the RosettaSciIO user guide. This includes information on how to install RosettaSciIO, and
how to use RosettaSciIO with other libraries than HyperSpy/ with other languages than python.

A list of all the supported file formats can be found in the :ref:`supported formats <supported-formats>` section.

.. toctree::
:maxdepth: 2

install
supported_formats/index
interoperability
interoperability
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ doc = [
"sphinx-copybutton",
# unpin when sphinxcontrib-towncrier supports towncrier >=24
"towncrier<24",
"sphinx_design",
]
all = [
"rosettasciio[blockfile]",
Expand Down

0 comments on commit 1f15545

Please sign in to comment.