From e156bae35786a041d61e7ddd931950560debeb3a Mon Sep 17 00:00:00 2001 From: Dipesh Aggarwal <1311129+DipeshAggarwal@users.noreply.github.com> Date: Tue, 5 Mar 2024 23:58:25 +0530 Subject: [PATCH 1/5] Update changelog.rst Fix link to the vertical property and remove unncessary ` after renpy.fetch --- sphinx/source/changelog.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sphinx/source/changelog.rst b/sphinx/source/changelog.rst index 1a06a290d6..45a61d1517 100644 --- a/sphinx/source/changelog.rst +++ b/sphinx/source/changelog.rst @@ -21,7 +21,7 @@ Vertical text handling under the harfbuzz text shaper has been fixed to properly place the text. Porting those changes to the freetype shaper is not possible, so the freetype shaper no longer supports vertical text. -See :tpref:`vertical` for more information. +See :propref:`vertical` for more information. Updater ------- @@ -46,10 +46,10 @@ Live2D. Fetch ----- -The :func:`renpy.fetch`` function now works during the image phase and +The :func:`renpy.fetch` function now works during the image phase and during an interaction, as well as outside an interaction. -The :func:`renpy.fetch`` function now takes a `params` argument, which +The :func:`renpy.fetch` function now takes a `params` argument, which specifies parameters that will be added to the URL. Other Changes From d836d94bac338450496c7b6e2d86cfc8286b9587 Mon Sep 17 00:00:00 2001 From: Dipesh Aggarwal <1311129+DipeshAggarwal@users.noreply.github.com> Date: Wed, 6 Mar 2024 00:03:36 +0530 Subject: [PATCH 2/5] Update template_projects.rst config.build_name doesn't exist. Replaced it with build.name --- sphinx/source/template_projects.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sphinx/source/template_projects.rst b/sphinx/source/template_projects.rst index f78ef3575b..aed8756da8 100644 --- a/sphinx/source/template_projects.rst +++ b/sphinx/source/template_projects.rst @@ -12,7 +12,7 @@ template project. If they do, the template project will be copied into the new project, and the following changes will be made: * The :var:`config.name`, :var:`config.save_directory`, and - :var:`config.build_name` variables will be set to the name of + :var:`build.name` variables will be set to the name of the new project. * The tl directory will be removed, and replaced with default translations From cb8b5d3de879a9ec3f3b6285218104a66157847d Mon Sep 17 00:00:00 2001 From: Dipesh Aggarwal <1311129+DipeshAggarwal@users.noreply.github.com> Date: Thu, 7 Mar 2024 17:09:08 +0530 Subject: [PATCH 3/5] Update transitions.rst Fix a broken ref to dialogue-window-management --- sphinx/source/transitions.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sphinx/source/transitions.rst b/sphinx/source/transitions.rst index 39aa9d2f97..6d9d9915f6 100644 --- a/sphinx/source/transitions.rst +++ b/sphinx/source/transitions.rst @@ -237,7 +237,7 @@ and hide statements. This transition can be enabled by setting the The transition will occur after one or more ``scene``, ``show``, or ``hide`` statements, provided the statement are not followed by a with statement, or a transition -caused by :ref:`dialogue window management`, like the various ``window`` statements. +caused by :ref:`dialogue-window-management`, like the various ``window`` statements. It's also disabled when in a menu context. For example:: From 928387e2d863d02331d32f9e450fb282085a5d86 Mon Sep 17 00:00:00 2001 From: Dipesh Aggarwal <1311129+DipeshAggarwal@users.noreply.github.com> Date: Thu, 7 Mar 2024 17:27:30 +0530 Subject: [PATCH 4/5] Update atl.rst --- sphinx/source/atl.rst | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/sphinx/source/atl.rst b/sphinx/source/atl.rst index c774edb848..fd6f9c76b0 100644 --- a/sphinx/source/atl.rst +++ b/sphinx/source/atl.rst @@ -33,7 +33,7 @@ The transform statement must be run at init time. If it is found outside an ``init`` block, then it is automatically placed inside an ``init`` block with a priority of 0. The transform may have a list of parameters, which must be supplied when it is called. Default values for the right-most parameters can -be given by adding "=" and the value (e.g. "transform a (b, c=0):"). +be given by adding ``=`` and the value (e.g. ``transform a (b, c=0):``). `qualname` must be a set of dot-separated Python identifiers. The transform created by the ATL block is bound to this name, within the given @@ -102,13 +102,13 @@ Each logical line in an ATL block must contain one or more ATL statements. There are two kinds of ATL statements: simple and complex. Simple statements do not take an ATL block. A single logical line may contain one or more ATL -statements, separated by commas. A complex statement contains a block, must -be on its own line. The first line of a complex statement always ends with a +statements, separated by commas. A complex statement always contains a block, and +must be on its own line. The first line of a complex statement always ends with a colon ``:``. By default, statements in a block are executed in the order in which they appear, starting with the first statement in the block. Execution terminates -when the end of the block is reached. Time statements change this, as +when the end of the block is reached. Th ``time`` statements change this, as described in the appropriate section below. Execution of a block terminates when all statements in the block have @@ -633,11 +633,11 @@ Warpers ======= A warper is a function that can change the amount of time an interpolation -statement considers to have elapsed. The following warpers are defined by -default. They are defined as functions from t to t', where t and t' are -floating point numbers, with t ranging from 0.0 to 1.0 over the given -amount of time. (If the statement has 0 duration, then t is 1.0 when it runs.) -t' should start at 0.0 and end at 1.0, but can be greater or less. +statement considers to have elapsed. They are defined as functions from t to t', +where t and t' are floating point numbers, with t ranging from 0.0 to 1.0 over +the given amount of time. (If the statement has 0 duration, then t is 1.0 when +it runs.) t' should start at 0.0 and end at 1.0, but can be greater or less. +The following warpers are defined by default. ``pause`` Pause, then jump to the new value. If ``t == 1.0``, ``t' = 1.0``. Otherwise, @@ -690,7 +690,7 @@ interpreted as a fraction of the size of the containing area (for :propref:`pos`) or of the displayable (for :propref:`anchor`). Note that not all properties are independent. For example, :propref:`xalign` and :propref:`xpos` -both update some of the same underlying data. In a parallel statement, not more than +both update some of the same underlying data. In a ``parallel`` statement, not more than one block should adjust properties sharing the same data. The angle and radius properties set both horizontal and vertical positions. From 11c4a4e7f1f0e1a1eb1979889b669f1e2ae09a02 Mon Sep 17 00:00:00 2001 From: Bas Couwenberg Date: Sat, 9 Mar 2024 13:52:01 +0100 Subject: [PATCH 5/5] Fix 'if' typo Replace 'inf' with 'if'. --- sphinx/source/label.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sphinx/source/label.rst b/sphinx/source/label.rst index a9584fb015..527d69a2b8 100644 --- a/sphinx/source/label.rst +++ b/sphinx/source/label.rst @@ -176,7 +176,7 @@ The following labels are used by Ren'Py: If it exists, this label is called when a game is loaded. It can be use to fix data when the game is updated. If data is changed by this label, :func:`renpy.block_rollback` should be called to prevent those - changes from being reverted inf the player rolls back past the load + changes from being reverted if the player rolls back past the load point. ``splashscreen``