Skip to content

Commit 50af631

Browse files
committed
cross link core api concept pages
1 parent 8ca0340 commit 50af631

25 files changed

+96
-48
lines changed

docs/code/api_reference/core/auditor.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
# auditor API Reference
22

3-
Config Reference:
4-
5-
* [auditor:](../../../config/auditor.md)
6-
73
`self.machine.auditor`
84

95
``` python
@@ -70,3 +66,8 @@ Parameters:
7066
`enabled`
7167

7268
Attribute that's viewed by other core components to let them know they should send auditing events. Set this via the enable() and disable() methods.
69+
70+
## Related Pages:
71+
72+
* [auditor: Config Reference](../../../config/auditor.md)
73+
* [Machine Management: Auditor](../../../machine_management/auditor.md)

docs/code/api_reference/core/bcp.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
# bcp API Reference
22

3-
Config Reference:
4-
5-
* [bcp:](../../../config/bcp.md)
6-
73
`self.machine.bcp`
84

95
``` python
@@ -29,3 +25,7 @@ Emulate legacy send.
2925
Parameters:
3026

3127
* **bcp_command** – Commmand to send
28+
29+
## Related Pages:
30+
31+
* [bcp: Config Reference](../../../config/bcp.md)

docs/code/api_reference/core/events.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,3 +174,7 @@ Wait for any event from event_names.
174174
`wait_for_event(event_name: str) → _asyncio.Future`
175175

176176
Wait for event.
177+
178+
## Related Pages:
179+
180+
* [Events Overview](../../../events/overview/index.md)

docs/code/api_reference/core/info_lights.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
# info_lights API Reference
22

3-
Config Reference:
4-
5-
* [info_lights:](../../../config/info_lights.md)
6-
73
`self.machine.info_lights`
84

95
``` python
@@ -21,3 +17,7 @@ There is only one instance of the info_lights in MPF, and it's accessible via `s
2117
## Methods & Attributes
2218

2319
The `info_lights` has the following methods & attributes available. Note that methods & attributes inherited from base classes are not included here.
20+
21+
## Related Pages:
22+
23+
* [info_lights: Config Reference](../../../config/info_lights.md)

docs/code/api_reference/core/machine.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
# machine API Reference
22

3-
Config Reference:
4-
5-
* [machine:](../../../config/machine.md)
6-
73
`self.machine`
84

95
``` python
@@ -114,3 +110,7 @@ Validate a config section.
114110
`verify_system_info()`
115111

116112
Dump information about the Python installation to the log. Information includes Python version, Python executable, platform, and core architecture.
113+
114+
## Related Pages:
115+
116+
* [machine: Config Reference](../../../config/machine.md)

docs/code/api_reference/core/placeholder_manager.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,7 @@ The placeholder_manager has the following methods & attributes available. Note t
2121
`get_global_parameters(name)`
2222

2323
Return global params.
24+
25+
## Related Pages:
26+
27+
* [Using dynamic runtime values in config files](../../../config/instructions/dynamic_values.md)

docs/code/api_reference/core/service.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,3 +45,9 @@ Start service mode.
4545
`stop_service()`
4646

4747
Stop service mode.
48+
49+
## Related Pages:
50+
51+
* [service Mode API Reference](../modes/service.md)
52+
* [Game Logic: Service Mode](../../../game_logic/service_mode.md)
53+
* [Machine Management: Service Mode](../../../machine_management/service_mode.md)

docs/code/api_reference/core/settings.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
# settings API Reference
22

3-
Config Reference:
4-
5-
* [settings:](../../../config/settings.md)
6-
73
`self.machine.settings`
84

95
``` python
@@ -45,3 +41,7 @@ Return all available settings.
4541
`set_setting_value(setting_name, value)`
4642

4743
Set the value of a setting.
44+
45+
## Config Reference:
46+
47+
* [settings: Config Reference](../../../config/settings.md)

docs/code/api_reference/core/switch_controller.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,3 +174,7 @@ Parameters:
174174
* **state** – The state to wait for. 0 = inactive, 1 = active, 2 = opposite to current.
175175
* **only_on_change** – Bool which controls whether this wait will be triggered now if the switch is already in the state, or whether it will wait until the switch changes into that state.
176176
* **ms** – How long the switch needs to be in the new state to trigger the wait.
177+
178+
## Related Pages:
179+
180+
* [How MPF handles switches: The Switch Controller](../../../mechs/switches/switch_controller.md)

docs/code/api_reference/core/switch_player.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
# switch_player API Reference
22

3-
Config Reference:
4-
5-
* [switch_player:](../../../config/switch_player.md)
6-
73
`self.machine.switch_player`
84

95
``` python
@@ -21,3 +17,7 @@ There is only one instance of the `switch_player` in MPF, and it's accessible vi
2117
## Methods & Attributes
2218

2319
The `switch_player` has the following methods & attributes available. Note that methods & attributes inherited from base classes are not included here.
20+
21+
## Related Pages:
22+
23+
* [switch_player: Config Reference](../../../config/switch_player.md)

0 commit comments

Comments
 (0)