Skip to content

Commit 0d20425

Browse files
committed
docs: fix formatting of spindle dict section heading
1 parent db55cea commit 0d20425

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

docs/src/config/python-interface.txt

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -486,7 +486,8 @@ by the configuration parameter [JOINT_n]UNITS)
486486
*velocity*:: '(returns float)' -
487487
current velocity.
488488

489-
== The 'spindle' dictionary [[sec:the-spindle-dictionary] ==
489+
== The `spindle` dictionary [[sec:the-spindle-dictionary]
490+
490491
*brake*:: '(returns integer)' -
491492
value of the spindle brake flag.
492493

@@ -577,7 +578,7 @@ c.flood(linuxcnc.FLOOD_OFF)
577578

578579
c.home(2)
579580

580-
c.jog(linuxcnc.JOG_STOP, jogmode, axis)
581+
c.jog(linuxcnc.JOG_STOP, jogmode, axis)
581582
c.jog(linuxcnc.JOG_CONTINUOUS, jogmode, axis, velocity)
582583
c.jog(linuxcnc.JOG_INCREMENT, jogmode, axis, velocity, increment)
583584

@@ -725,7 +726,7 @@ import linuxcnc
725726
c = linuxcnc.command()
726727

727728
#Increase speed of spindle 0 by 100rpm. Spindle must be on first
728-
c.spindle(linuxcnc.INCREASE)
729+
c.spindle(linuxcnc.INCREASE)
729730

730731
#Increase speed of spindle 2 by 100rpm. Spindle must be on first
731732
c.spindle(linuxcnc.SPINDLE_INCREASE, 2)
@@ -745,7 +746,7 @@ c.spindle.(linuxcnc.SPINDLE_OFF, 0)
745746

746747

747748
`spindleoverride(float [, int])`::
748-
set spindle override factor. Defaults to spindle 0.
749+
set spindle override factor. Defaults to spindle 0.
749750

750751
`state(int)`::
751752
set the machine state. Machine state should be STATE_ESTOP, STATE_ESTOP_RESET, STATE_ON, or STATE_OFF

0 commit comments

Comments
 (0)