Skip to content
Merged

Doc #48

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
2 changes: 1 addition & 1 deletion .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
strategy:
matrix: # only lowest supported Python on latest ubuntu
os: [ubuntu-latest]
python-version: [3.9]
python-version: [3.14]

permissions:
issues: write
Expand Down
8 changes: 8 additions & 0 deletions docs/api.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
API
===

.. autosummary::
:toctree: generated
:recursive:

pyaml
9 changes: 6 additions & 3 deletions docs/conf.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
#
# pyAML documentation build configuration file, originally created for pySC: https://github.com/lmalina/pySC/blob/master/doc/conf.py
# pyAML documentation build configuration file,
#
# This file is execfile()d with the current directory set to its
# containing dir.
Expand Down Expand Up @@ -48,11 +48,12 @@
'sphinx.ext.doctest',
'sphinx.ext.todo',
'sphinx.ext.coverage',
'sphinx.ext.mathjax',
# 'sphinx.ext.mathjax',
'sphinx.ext.viewcode',
'sphinx.ext.githubpages',
'sphinx.ext.napoleon',
'sphinx.ext.autosectionlabel',
'sphinx.ext.autosummary',
]
autosectionlabel_prefix_document = True
autosectionlabel_maxdepth = 2
Expand Down Expand Up @@ -92,7 +93,7 @@
#
# This is also used if you do content translation via gettext catalogs.
# Usually you set "language" from the command line for these cases.
language = None
language = 'en'

# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
Expand Down Expand Up @@ -120,6 +121,8 @@
'display_version': True,
'logo_only': True,
'navigation_depth': 2,
"rightsidebar": "false",
"relbarbgcolor": "black"
}


Expand Down
23 changes: 13 additions & 10 deletions docs/index.rst
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
pyAML documentation
===================
======================================

.. contents:: Table of Contents
:depth: 3

Introduction
------------
------------------------

python Accelerator Middle Layer (pyAML) is a joint technology platform to develop common tools for control, tuning and development of storage rings, beam transport lines and linear accelerators.

Expand All @@ -17,25 +20,25 @@ With pyAML, it WILL be possible to (the software is at conceptualization stage):
- many more features

Installation
------------
------------------------
pip support will be provided later.
for the time being:

git clone https://github.com/python-accelerator-middle-layer/pyaml.git


Collaboration community
------------
------------------------

Discussion
~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~

`Mattermost <https://mattermost.hzdr.de/accelerator-middle-layer/channels/town-square>`_

(please log in using Helmoltz ID, you will be prompt to access with your own lab/university credentials)

Shared documents
~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~

to access the shared documents please ask S.Liuzzo for access rigths.

Expand All @@ -45,12 +48,12 @@ https://www.overleaf.com/read/hnrqzhfpbvpp#ef8935
to be added to editors list please write to S.Liuzzo

Mailing list:
~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~
to be added to the pyAML mailing list please write to S.Liuzzo


Package Reference
=================
Documentation
----------------------

.. toctree::
:caption: Modules
Expand All @@ -61,7 +64,7 @@ Package Reference


Indices and tables
==================
====================================

* :ref:`genindex`
* :ref:`modindex`
Expand Down
11 changes: 11 additions & 0 deletions docs/modules/arrays.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
ARRAYS
********

.. automodule:: pyaml.arrays.array
:members:

.. automodule:: pyaml.arrays.magnet
:members:

.. automodule:: pyaml.arrays.magnet_array
:members:
14 changes: 14 additions & 0 deletions docs/modules/bpm.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
BPMS
*****************

.. automodule:: pyaml.bpm.bpm
:members:

.. automodule:: pyaml.bpm.bpm_model
:members:

.. automodule:: pyaml.bpm.bpm_tilt_offset_model
:members:

.. automodule:: pyaml.bpm.bpm_simple_model
:members:
29 changes: 29 additions & 0 deletions docs/modules/configuration.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
Configuration
*****************

.. automodule:: pyaml.configuration.fileloader
:members:

.. automodule:: pyaml.configuration.factory
:members:

.. automodule:: pyaml.configuration.matrix
:members:

.. automodule:: pyaml.configuration.curve
:members:

.. automodule:: pyaml.configuration.csvcurve
:members:

.. automodule:: pyaml.configuration.matrix
:members:

.. automodule:: pyaml.configuration.csvmatrix
:members:

.. automodule:: pyaml.configuration.models
:members:

.. automodule:: pyaml.configuration.config_exception
:members:
23 changes: 23 additions & 0 deletions docs/modules/control.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
Control
*********

.. automodule:: pyaml.control.controlsystem
:members:

.. automodule:: pyaml.control.device
:members:

.. automodule:: pyaml.control.abstract_impl
:members:

.. automodule:: pyaml.control.abstract
:members:

.. automodule:: pyaml.control.deviceaccess
:members:

.. automodule:: pyaml.control.deviceaccesslist
:members:

.. automodule:: pyaml.control.readback_value
:members:
8 changes: 0 additions & 8 deletions docs/modules/core_functions.rst

This file was deleted.

25 changes: 25 additions & 0 deletions docs/modules/lattice.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
lattice
************

.. automodule:: pyaml.lattice.abstract_impl
:members:

.. automodule:: pyaml.lattice.attribute_linker
:members:

.. automodule:: pyaml.lattice.element_holder
:members:

.. automodule:: pyaml.lattice.element
:members:

.. automodule:: pyaml.lattice.lattice_element_linker
:members:

.. automodule:: pyaml.lattice.polynom_info
:members:

.. automodule:: pyaml.lattice.simulator
:members:


5 changes: 5 additions & 0 deletions docs/modules/magnet.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
magnets
*********

.. automodule:: pyaml.magnet
:members:
24 changes: 24 additions & 0 deletions docs/modules/pyaml.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
pyaml
**************************

.. automodule:: pyaml.pyaml
:members:

.. toctree::
:maxdepth: 2
:caption: Contents:

.. automodule:: pyaml.instrument
:members:

.. toctree::
:maxdepth: 2
:caption: Contents:

.. automodule:: pyaml.exception
:members:

.. toctree::
:maxdepth: 2
:caption: Contents:

9 changes: 9 additions & 0 deletions docs/modules/rf.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
RF
****

.. automodule:: pyaml.rf.rf_plant
:members:

.. automodule:: pyaml.rf.rf_transmitter
:members:

10 changes: 5 additions & 5 deletions docs/modules/tuning_tools.rst
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
Tuning Tools
**************************
Tuning tools
***************

.. automodule:: tuning_tools.LOCO.loco
.. automodule:: pyaml.tuning_tools.LOCO.loco
:members:

.. automodule:: tuning_tools.SOFB.sofb
.. automodule:: pyaml.tuning_tools.SOFB.sofb
:members:

.. automodule:: tuning_tools.TUNE.tune
.. automodule:: pyaml.tuning_tools.TUNE.tune
:members:
2 changes: 1 addition & 1 deletion docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
sphinx==8.1.3
sphinx==8.2.3
sphinx-book-theme==1.1.3
sphinx-copybutton==0.5.2
sphinx-design==0.6.1
Expand Down
Loading