Skip to content

Commit

Permalink
Merge pull request #339 from ZLLentz/rel-2.0.0
Browse files Browse the repository at this point in the history
REL: v2.0.0
  • Loading branch information
ZLLentz authored Jun 28, 2019
2 parents f1d4a7f + 966d362 commit 6a16611
Show file tree
Hide file tree
Showing 7 changed files with 45 additions and 8 deletions.
14 changes: 7 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,15 @@ script:
- flake8 pcdsdevices/*.py
- flake8 tests/*.py
- set -e
#Build docs
# Build docs
- conda install --file docs-requirements.txt
- pip install m2r
- pushd docs
- make html
- popd
# Upload docs
- |
if [[ -n "$DOCTR_DEPLOY_ENCRYPTION_KEY_PCDSHUB_PCDSDEVICES" && $BUILD_DOCS ]]; then
conda install --file docs-requirements.txt
pip install m2r
pushd docs
make html
popd
#Publish docs.
doctr deploy . --built-docs docs/build/html --deploy-branch-name gh-pages
fi
Expand Down
3 changes: 3 additions & 0 deletions docs/source/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ Full API
.. autosummary::
:toctree: generated

~pcdsdevices.analog_signals
~pcdsdevices.attenuator
~pcdsdevices.beam_stats
~pcdsdevices.ccm
Expand All @@ -22,8 +23,10 @@ Full API
~pcdsdevices.pseudopos
~pcdsdevices.pulsepicker
~pcdsdevices.pump
~pcdsdevices.sequencer
~pcdsdevices.signal
~pcdsdevices.sim
~pcdsdevices.slits
~pcdsdevices.state
~pcdsdevices.utils
~pcdsdevices.valve
3 changes: 3 additions & 0 deletions docs/source/epics_types.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Common EPICS Devices
:toctree: generated

Attenuator
Acromag
BeckhoffAxis
CCM
DelayNewport
Expand All @@ -19,8 +20,10 @@ Common EPICS Devices
IonPump
LODCM
Motor
MovableStand
Newport
OffsetMirror
PCDSAreaDetector
PIM
PMC100
PointingMirror
Expand Down
26 changes: 26 additions & 0 deletions docs/source/releases.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,32 @@
Release History
###############

v2.0.0 (2019-06-28)
=================

Features
--------
- Add ``gauge`` and ``pump`` modules
- Add ``Acromag`` and ``Mesh`` classes
- Add ``motor`` subdevice to state record devices
- Add ``status`` string to ``BeckhoffAxis``

API Breaks
----------
- State devices no longer have the ``readback`` signal, as it is redundant
with the new ``motor`` subdevice
- ``PCDSDetector`` has been renamed to ``PCDSAreaDetector`` for clarity.
``PCDSDetectorBase`` is also renamed to ``PCDSAreaDetectorBase``.

Bugfixes
--------
- Fix PVs in ``BeckhoffAxis``

Misc
----
- Officially build for ``python=3.7``


v1.2.0 (2019-03-08)
===================

Expand Down
1 change: 1 addition & 0 deletions docs/source/sim_types.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@ Simulated Devices
:toctree: generated

SynMotor
FastMotor
SlowMotor
SimTwoAxis
2 changes: 1 addition & 1 deletion pcdsdevices/device_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from .attenuator import Attenuator
from .analog_signals import Acromag
from .ccm import CCM
from .areadetector.detectors import PCDSDetector
from .areadetector.detectors import PCDSAreaDetector
from .epics_motor import (IMS, Newport, DelayNewport, PMC100, BeckhoffAxis,
EpicsMotor, Motor)
from .evr import Trigger
Expand Down
4 changes: 4 additions & 0 deletions pcdsdevices/epics_motor.py
Original file line number Diff line number Diff line change
Expand Up @@ -461,6 +461,10 @@ def Motor(prefix, **kwargs):
+===============+=========================+
| MMS | :class:`.IMS` |
+---------------+-------------------------+
| CLZ | :class:`.IMS` |
+---------------+-------------------------+
| CLF | :class:`.IMS` |
+---------------+-------------------------+
| MMN | :class:`.Newport` |
+---------------+-------------------------+
| MZM | :class:`.PMC100` |
Expand Down

0 comments on commit 6a16611

Please sign in to comment.