Skip to content

Commit 9f748bb

Browse files
committed
fix documentation site links to include /latest/ after tld
1 parent 7a96651 commit 9f748bb

14 files changed

+22
-21
lines changed

AUTHORS.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,11 @@ their spare time, unpaid, for the love of pinball!
3030
* Dave Ensminger <[email protected]>
3131
* Charles Duncan (nullbuilds)
3232
* Eric Selk <[email protected]>
33+
* Alex Lobascio (bosh)
3334

3435
MPF was inspired by pyprocgame which was written by:
3536

3637
* Adam Preble
3738
* Gerry Stellenberg
3839

39-
Want to contribute to MPF? Get started here: https://missionpinball.org/about/contributing_to_mpf/
40+
Want to contribute to MPF? Get started here: https://missionpinball.org/latest/about/contributing_to_mpf/

CONTRIBUTING.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
See: https://missionpinball.org/about/contributing_to_mpf/
1+
See: https://missionpinball.org/latest/about/contributing_to_mpf/

README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Mission Pinball Framework (MPF)
22
===============================
33

4-
<img align="center" height="146" src="https://missionpinball.org/images/mpf-logo-full.png"/>
4+
<img align="center" height="146" src="https://missionpinball.org/latest/images/mpf-logo-full.png"/>
55

66
<em>...Let's build a pinball machine!</em>
77

@@ -25,7 +25,7 @@ Documentation
2525
Support
2626
-------
2727

28-
MPF is an open source community project which has no official support. Some MPF users participate in the MPF-Users Google group or GitHub Discussion. Links [here](https://missionpinball.org/community/).
28+
MPF is an open source community project which has no official support. Some MPF users participate in the MPF-Users Google group or GitHub Discussion. Links [here](https://missionpinball.org/latest/community/).
2929

3030
Individual pinball hardware companies may provide additional support for users of their hardware, often via their own Slack, Discord, or other chat groups. If you get stuck, you can ask for help in the MPF-users group, or you reach out to your hardware provider.
3131

@@ -34,15 +34,15 @@ Maintenance, Pull Requests, & Bug Fixes
3434

3535
As a community project, we welcome pull requests and bug fixes. However, we do not have the resources to provide support for MPF. If you are interested in becoming a maintainer, please contact us at [email protected].
3636

37-
Bugs or other issues related to MPF itself can be posted to the [MPF Discussions page on GitHub](https://missionpinball.org/community/).
37+
Bugs or other issues related to MPF itself can be posted to the [MPF Discussions page on GitHub](https://missionpinball.org/latest/community/).
3838

3939
Contributing
4040
------------
4141

4242
Individual pinball hardware makers are responsible for their own platform interface maintenance and contributions.
4343

44-
MPF is a passion project created and maintained by volunteers. If you're a Python coder, documentation writer, or pinball maker, feel free to make a change and submit a pull request. For more information about contributing see the [Contributing Code](https://missionpinball.org/about/contributing_to_mpf/)
45-
and [Contributing Documentation](https://missionpinball.org/about/help_docs/) pages.
44+
MPF is a passion project created and maintained by volunteers. If you're a Python coder, documentation writer, or pinball maker, feel free to make a change and submit a pull request. For more information about contributing see the [Contributing Code](https://missionpinball.org/latest/about/contributing_to_mpf/)
45+
and [Contributing Documentation](https://missionpinball.org/latest/about/help_docs/) pages.
4646

4747
License
4848
-------

RELEASE.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
See: https://missionpinball.org/versions/release_notes/
1+
See: https://missionpinball.org/latest/versions/release_notes/

docs/code/machine_code.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ match up to any of MPF's built in devices. The elevator and claw unloader
1818
in *Demolition Man* is a good example, and what we'll use here.
1919

2020
(You can read about how to download and run *Demo Man* in the
21-
`example games section <https://missionpinball.org/example_games/>`_
21+
`example games section <https://missionpinball.org/latest/examples/>`_
2222
section of the MPF User Documentation.)
2323

2424
Here's how to create a custom code class:

docs/dev/event_annotations.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ document the event in code and in the docs, we use a custom docblock annotation:
2525
reason: The reason for this awesomeness is stated here.
2626
'''
2727
28-
The event should be added to the `event reference <https://missionpinball.org/events/>`_
28+
The event should be added to the `event reference <https://missionpinball.org/latest/events/>`_
2929
on missionpinball.org.
3030

3131
Note: As of June 2023, the events list on missionpinball.org is no longer automatically generated.

docs/dev/mc.widget_player.rst

+4-4
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ So here is our base ``widget`` from the config file that we will be using.
4242
x: 35
4343
4444
Refer to the widget section in the docs for more info on how to set it up:
45-
https://missionpinball.org/mc/widgets/
45+
https://missionpinball.org/latest/mc/widgets/
4646

4747
Writing the settings to show/play this widget in code
4848
^^^^^^^^^^^^^^^
@@ -69,7 +69,7 @@ When it comes to the settings we start with the following:
6969
7070
You need to add ``action`` and ``key`` to make the ``widget`` work.
7171
Refer to the ``widget_player`` section for more info on these and what other functions can be added:
72-
https://missionpinball.org/config_players/widget_player/
72+
https://missionpinball.org/latest/config_players/widget_player/
7373

7474
Now you can show the pre-defined widget from the config file.
7575

@@ -107,7 +107,7 @@ The following code shows how to override an image and x-coordinate
107107
You can ``change``/``add`` everything this way from the related type of ``widget``, or the common settings for all widgets.
108108
Refer to the common settings for a overview of all settings.
109109

110-
https://missionpinball.org/mc/widgets/common_settings/
110+
https://missionpinball.org/latest/mc/widgets/common_settings/
111111

112112
Just make sure you format this way
113113

@@ -127,7 +127,7 @@ Creating animation from predefined animations
127127
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
128128
The easiest thing is to change/add pre-defined animations.
129129
See chapter 9 of widget animation for more info on this:
130-
https://missionpinball.org/mc/widgets/animation/
130+
https://missionpinball.org/latest/mc/widgets/animation/
131131

132132
.. code-block:: python
133133

docs/testing/tutorial/2.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Testing Tutorial Step 2. Create your machine folder
22
===================================================
33

4-
`Step 2 of the MPF Tutorial <https://missionpinball.org/tutorial/2_creating_a_new_machine>`_ is where
4+
`Step 2 of the MPF Tutorial <https://missionpinball.org/latest/tutorial/2_creating_a_new_machine>`_ is where
55
you create your machine folder and get MPF up and running with an empty config. Since it ends with MPF running and the
66
attract mode being active, we can actually write a test for it!
77

docs/testing/writing_machine_tests.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ your tests pass again!)
2525
.. rubric:: Tutorial for writing your own tests
2626

2727
We have a complete tutorial which walks you through writing tests for your own machine. This tutorial
28-
conveniently follows the general MPF tutorial at `<https://missionpinball.org/tutorial>`_. Each step here matches the
28+
conveniently follows the general MPF tutorial at `<https://missionpinball.org/latest/tutorial>`_. Each step here matches the
2929
step with the same number there. (Just make sure you'll looking at the same version of the documentation
3030
in both places.)
3131

mpf/_version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
'''An extended version string that includes the MPF version, show version,
3838
and BCP versions used in this build of MPF.'''
3939

40-
log_url = "https://missionpinball.org/logs"
40+
log_url = "https://missionpinball.org/latest/logs"
4141
# TODO make dynamic "https://docs.missionpinball.org/en/dev/logs/{}.html"
4242

4343
__api__ = ['version',

mpf/modes/credits/config/credits.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ mode:
77
stop_on_ball_end: False
88

99
# Instructions on how to use this mode:
10-
# https://missionpinball.org/game_logic/credits
10+
# https://missionpinball.org/latest/game_logic/credits
1111

1212
# You can copy the sections below to your own machine config as a starting point
1313

mpf/modes/high_score/config/high_score.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ mode:
77
use_wait_queue: true
88

99
# Instructions on how to use this mode:
10-
# https://missionpinball.org/game_logic/high_scores
10+
# https://missionpinball.org/latest/game_logic/high_scores
1111

1212
high_score:
1313
enter_initials_timeout: 60

mpf/modes/tilt/config/tilt.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ mode:
77
stop_on_ball_end: False
88

99
# Instructions on how to use this mode:
10-
# https://missionpinball.org/game_logic/tilt
10+
# https://missionpinball.org/latest/game_logic/tilt
1111

1212
tilt:
1313
tilt_warning_switch_tag: tilt_warning

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ all = [ # currently no way to just use the names from above afaik?
5757

5858
[project.urls]
5959
homepage = "https://missionpinball.org"
60-
support-forum = "https://missionpinball.org/community/"
60+
support-forum = "https://missionpinball.org/latest/community/"
6161

6262
[project.scripts]
6363
mpf = "mpf.commands:run_from_command_line"

0 commit comments

Comments
 (0)