Skip to content

Commit 6bbe877

Browse files
committed
docs: fix formatting of code snippets in gladevcp-panels
1 parent 772d5b8 commit 6bbe877

File tree

1 file changed

+23
-17
lines changed

1 file changed

+23
-17
lines changed

docs/src/gui/gladevcp-panels.adoc

Lines changed: 23 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ There are several *builtin panels* available.
1919

2020
In a terminal type `gladevcp` to see a list.
2121

22-
---
2322

2423
=== GTK Verser Probe
2524
A GTK based version of the third party Verser probe.
@@ -30,16 +29,18 @@ image::images/gtk_verser_probe.png["GTK Verser Probe",align="center"]
3029
This is a version from 2015 by Serguei Glavatski which has **less functionality** than the current, but it **takes up less space on the screen** (no DRO e.g.).
3130
This can be useful on smaller displays.
3231

33-
**For Reference - The Current Version**
32+
**For Reference - The Current Version:**
3433

3534
The documentation and source code of the current version can be found here:
3635

3736
* https://vers.ge/en/blog/useful-articles/probe-screen-v28
3837
* https://github.com/verser-git/probe_screen_v2.9
3938

4039

41-
**Modification of the INI file to use as embedded panel in Gmoccapy**
42-
```ini
40+
**Modification of the INI file to use as embedded panel in Gmoccapy:**
41+
42+
[source,{ini}]
43+
----
4344
[DISPLAY]
4445
DISPLAY = gmoccapy
4546
EMBED_TAB_NAME = Probe
@@ -55,20 +56,21 @@ SUBROUTINE_PATH = ./macros:/usr/share/linuxcnc/nc_files/gtk_probe/
5556
5657
# For RIP installation, use the path according to your directory:
5758
# SUBROUTINE_PATH = ./macros:~/linuxcnc/nc_files/probe/gtk_probe/
58-
```
59+
----
60+
61+
**Example using dbounce with a Mesa card (HAL file):**
5962

60-
**Example using dbounce with a Mesa card (HAL file)**
61-
```hal
63+
[source,{hal}]
64+
----
6265
# ---probe signal---
6366
loadrt dbounce names=dbounce.probe
6467
addf dbounce.probe servo-thread
6568
6669
setp dbounce.probe.delay 5
6770
net probe-db dbounce.probe.in <= hm2_7i96.0.gpio.000.in
6871
net probe-in motion.probe-input <= dbounce.probe.out
69-
```
72+
----
7073

71-
---
7274
=== GTK Little Probe
7375
A GTK based version of the third party Verser probe, modified for a tabbed layout for smaller displays.
7476

@@ -77,8 +79,10 @@ image::images/gtk_little_probe.png["GTK little Probe",align="center"]
7779
This is a modification of the 2015 version of GTK Verser Probe. It moves the elements from one window to containers with switchable vertical tabs. The goal was to reduce the window size.
7880

7981

80-
**Modification of the INI file to use as embedded panel in Gmoccapy**
81-
```ini
82+
**Modification of the INI file to use as embedded panel in Gmoccapy:**
83+
84+
[source,{ini}]
85+
----
8286
[DISPLAY]
8387
DISPLAY = gmoccapy
8488
EMBED_TAB_NAME = Probe
@@ -94,21 +98,23 @@ SUBROUTINE_PATH = ./macros:/usr/share/linuxcnc/nc_files/probe/gtk_probe/
9498
9599
# For RIP installation, use the path according to your directory:
96100
# SUBROUTINE_PATH = ./macros:~/linuxcnc/nc_files/probe/gtk_probe/
97-
```
98-
Use only one Probe Screen by Serguei Glavatski in one LCNC configuration.
101+
----
102+
103+
Use only one such Probe Screen in one LCNC configuration.
104+
99105

106+
**Example using dbounce with a Mesa card (HAL file):**
100107

101-
**Example using dbounce with Mesa card (HAL file)**
102-
```hal
108+
[source,{hal}]
109+
----
103110
# ---probe signal---
104111
loadrt dbounce names=dbounce.probe
105112
addf dbounce.probe servo-thread
106113
107114
setp dbounce.probe.delay 5
108115
net probe-db dbounce.probe.in <= hm2_7i96.0.gpio.000.in
109116
net probe-in motion.probe-input <= dbounce.probe.out
110-
```
111-
---
117+
----
112118

113119
=== GTK Mesa Tests
114120
This screen allows the user to verify whether they have a suitable and well-tuned PC for their Mesa card.

0 commit comments

Comments
 (0)