Skip to content

Commit b6b9579

Browse files
committed
add balldevice_ball_device_ball_eject_attempt.md clone to events/queue_events/ as a hack
For whatever reason (probably ordering somewhere in mkdocs or even the host OS) this page is the only one of the pages listed in the Queue Events duplicate reference that hijacks where the nav shows that you are. The rest show you in their normal group even when clicked from the Queue Event sub listings. The real fix here is for each of the queue event duplicate listings to get a second file, so that inbound links can decide which context in which to show the event. Alternatively we could make the queue event links all nested in queue_events/ but then make them all just redirects to the real locations.
1 parent 6c5d810 commit b6b9579

File tree

2 files changed

+41
-1
lines changed

2 files changed

+41
-1
lines changed
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
---
2+
title: balldevice_(name)_ball_eject_attempt
3+
---
4+
5+
# balldevice_(name)\_ball_eject_attempt
6+
7+
8+
--8<-- "event.md"
9+
10+
Event is posted by [ball_devices:](../../config/ball_devices.md)
11+
12+
The ball device called (name) is attempting to eject a ball (or
13+
balls). This is a queue event. The eject will not actually be attempted
14+
until the queue is cleared.
15+
16+
## Keyword arguments
17+
18+
(See the [Conditional Events](../overview/conditional.md)
19+
guide for details for how to create entries in your config file that
20+
only respond to certain combinations of the arguments below.)
21+
22+
#### `balls`:
23+
24+
The number of balls that are to be ejected.
25+
26+
#### `mechanical_eject`:
27+
28+
Boolean as to whether this is a mechanical eject.
29+
30+
#### `num_attempts`:
31+
32+
How many eject attempts have been tried so far.
33+
34+
#### `source`:
35+
36+
The source device that will be ejecting the balls.
37+
38+
#### `target`:
39+
40+
The target ball device that will receive these balls.

mkdocs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1151,7 +1151,7 @@ nav:
11511151
- ball_ending: events/ball_ending.md
11521152
- mode_(name)_starting: events/mode_name_starting.md
11531153
- mode_(name)_stopping: events/mode_name_stopping.md
1154-
- balldevice_(name)_ball_eject_attempt: events/balldevice_ball_device_ball_eject_attempt.md
1154+
- balldevice_(name)_ball_eject_attempt: events/queue_events/balldevice_ball_device_ball_eject_attempt.md
11551155

11561156
- Audio Management Events:
11571157
- master_volume_decrease: events/master_volume_decrease.md

0 commit comments

Comments
 (0)