Skip to content

Commit

Permalink
Merge 137fa02 into 047daf4
Browse files Browse the repository at this point in the history
  • Loading branch information
prjemian committed Apr 5, 2024
2 parents 047daf4 + 137fa02 commit 35c7a00
Show file tree
Hide file tree
Showing 12 changed files with 80 additions and 48 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
- name: Install Sphinx build requirements
run: |
pip install -r requirements-sphinx.txt setuptools-scm
pip install -r docs/requirements.txt
- name: Install our package
run: |
Expand Down
1 change: 1 addition & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ Maintenance

* Code format conforms to 'ruff'.
* Add additional support for APS Data Management API.
* Make the home page more concise.
* Refactor packaging from setup.py to pyproject.toml.

1.6.18
Expand Down
1 change: 1 addition & 0 deletions requirements-sphinx.txt → docs/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ pygments >=2.12
pygments-ipython-console
setuptools-scm
sphinx <6
sphinx-design
8 changes: 5 additions & 3 deletions docs/source/api/_callbacks.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
====================================
Callbacks (includes File Writers)
====================================
.. _callbacks:

=========
Callbacks
=========

Callbacks
------------
Expand Down
2 changes: 2 additions & 0 deletions docs/source/api/_plans.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.. _plans:

===========
Plans
===========
Expand Down
2 changes: 2 additions & 0 deletions docs/source/api/_utils.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.. _utilities:

==========
Utilities
==========
Expand Down
2 changes: 2 additions & 0 deletions docs/source/changes.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.. _changes:

..
CHANGES
=======
Expand Down
3 changes: 3 additions & 0 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,9 @@
sphinx.ext.viewcode
nbsphinx
myst_parser
sphinx_design
""".split()
myst_enable_extensions = ["colon_fence"]

templates_path = ["_templates"]
source_suffix = [".rst", ".md"]
Expand All @@ -81,6 +83,7 @@
]
html_static_path = ["_static"]
html_theme = "pydata_sphinx_theme"
html_title = f"{project} {version}"
# fmt: off
html_theme_options = {
"navbar_start": ["navbar-logo", "version-switcher"],
Expand Down
8 changes: 8 additions & 0 deletions docs/source/examples/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ See the `Bluesky home page <https://blueskyproject.io/>`__ for more details.
Reference
Explanation
.. _examples.devices:

Devices
++++++++++++++++++++++++++++++++++++

Expand All @@ -26,6 +28,8 @@ Devices

de_*

.. _examples.filewriters:

File Writers
++++++++++++++++++++++++++++++++++++

Expand All @@ -35,6 +39,8 @@ File Writers

fw_*

.. _examples.howto:

How-to Guides
++++++++++++++++++++++++++++++++++++

Expand All @@ -44,6 +50,8 @@ How-to Guides

ho_*

.. _examples.plans:

Plans
++++++++++++++++++++++++++++++++++++

Expand Down
74 changes: 50 additions & 24 deletions docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,43 +2,69 @@
apstools
========

Library of Python tools for use with Bluesky at the APS
Library of Python tools for use with Bluesky at the APS.

.. toctree::
:maxdepth: 1
:glob:
:caption: Core Functionality
.. icons: https://fonts.google.com/icons
.. grid:: 2

overview
applications/index
.. grid-item-card:: :material-regular:`home;3em` Introduction

.. toctree::
:maxdepth: 3
:glob:
:caption: Examples & Guides
Get acquainted with *apstools*.

examples/index
* :ref:`overview`
* :ref:`install`

.. toctree::
:maxdepth: 3
:glob:
:caption: Developer Notes
.. grid-item-card:: :material-regular:`apps;3em` :ref:`applications`
:link: applications/index
:link-type: doc

api/index
Applications provided by *apstools*.

.. grid-item-card:: :material-regular:`api;3em` :ref:`api_documentation`

Libraries in the *apstools* package.

* :ref:`callbacks`
* :ref:`devices`
* :ref:`filewriters`
* :ref:`plans`
* :ref:`utilities`
* :ref:`synApps <synApps>`

.. grid-item-card:: :material-regular:`alt_route;3em` :ref:`examples`

Examples using the *apstools* package, many with Jupyter notebooks.


* :ref:`examples.devices`
* :ref:`examples.filewriters`
* :ref:`examples.howto`
* :ref:`examples.plans`

------------

.. toctree::
:maxdepth: 1
:glob:
:caption: Package Details
:hidden:

overview
install
applications/index
api/index
examples/index
changes
license


Indices and tables
==================
About
-----

* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`
:home: https://bcda-aps.github.io/apstools
:source: https://github.com/bcda-aps/apstools
:license: :ref:`license`
:full version: |release|
:published: |today|
:revisions: :ref:`History of code changes <changes>`
:index: :ref:`genindex`
:module: :ref:`modindex`
:search: :ref:`search`
23 changes: 3 additions & 20 deletions docs/source/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@
Installation
============

Installation
############

The ``apstools`` package is available for installation
by ``conda``, ``pip``, or from source.

Expand All @@ -15,9 +12,7 @@ conda
If you are using Anaconda Python and have ``conda`` installed, install the most
recent version with this command::

$ conda install -c conda-forge apstools

.. $ conda install -c aps-anl-tag apstools
$ conda install conda-forge::apstools

pip
---
Expand All @@ -43,21 +38,9 @@ To install from the source directory using ``pip`` in editable mode::
$ python -m pip install -e .

Required Libraries
##################
------------------

The repository's ``environment.yml`` file lists the additional packages
required by ``apstools``. Most packages are available as conda packages
from https://anaconda.org. The others are available on
https://PyPI.python.org. Among the required packages:

- python>=3.7
- bluesky, databroker, ophyd
- h5py
- pandas
- pyEpics
- pyqt=5
- pyRestTable
- qt=5
- spec2nexus
- xlrd

https://PyPI.python.org.
2 changes: 2 additions & 0 deletions docs/source/overview.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.. _overview:

========
Overview
========
Expand Down

0 comments on commit 35c7a00

Please sign in to comment.