Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve Logical Flow of Documentation #324

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
"sphinx.ext.intersphinx",
"sphinx.ext.napoleon",
"sphinxcontrib.towncrier",
"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.
Comment on lines +53 to +54
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Information on scripts and packages that allow opening data saved using
RosettaSciIO with third-party programs.
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.
Comment on lines +63 to +64
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Links to or documentation of file specifications for
some of the formats supported by RosettaSciIO.
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.
File renamed without changes.
File renamed without changes.
9 changes: 7 additions & 2 deletions doc/user_guide/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,14 @@
User Guide
==========

Welcome to the RosettaSciIO user guide. This guide provides in-depth information on key concepts of RosettaSciIO
and how to use it. This includes information on how to install RosettaSciIO, the supported file formats, and
how to use RosettaSciIO with other libraries than HyperSpy/ with other languages than python.

.. toctree::
:maxdepth: 2

install
supported_formats/index
interoperability
interoperability

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