Skip to content

Commit d2cf369

Browse files
committed
Update docs
1 parent 4ab3a76 commit d2cf369

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

docs/how-to/create-beamline.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ beamline are instantiated. The file should be named after the colloquial name fo
1515
Beamline modules (in ``dodal.beamlines``) are code-as-configuration. They define the set of devices and common device
1616
settings needed for a particular beamline or group of similar beamlines (e.g. a beamline and its digital twin). Some
1717
of our tooling depends on the convention of *only* beamline modules going in this package. Common utilities should
18-
go somewhere else e.g. ``dodal.utils`` or ``dodal.beamlines.common``.
18+
go somewhere else e.g. ``dodal.utils`` or ``dodal.common.beamlines``.
1919

2020
The following example creates a fictitious beamline ``w41``, with a simulated twin ``s41``.
2121
``w41`` needs to monitor the status of the Synchrotron and has an AdAravisDetector.

docs/reference/device-standards.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ When a device is named in this way, all of its child devices are named appropria
4848
x = Motor(prefix + "X")
4949
super().__init__(name)
5050

51-
@device_factory()
51+
@devices.factory()
5252
def foo() -> MyDevice:
5353
return MyDevice("FOO:")
5454

0 commit comments

Comments
 (0)