diff --git a/arcade/text.py b/arcade/text.py index e307bdba9..39b0d9c55 100644 --- a/arcade/text.py +++ b/arcade/text.py @@ -746,7 +746,7 @@ def create_text_sprite( Valid options: ``"left"``, ``"center"``, ``"right"``. font_name (optional): A font name, path to a font file, or list of names bold (optional): Whether to draw the text as bold, and if a string, - how bold. See :py:attr:`.bold` to learn more. + how bold. See :py:attr:`arcade.gui.widgets.text.bold` to learn more. italic (optional): Whether to draw the text as italic anchor_x (optional): How to calculate the anchor point's x coordinate. Options: "left", "center", or "right" @@ -852,7 +852,7 @@ def draw_text( Valid options: ``"left"``, ``"center"``, ``"right"``. font_name (optional): A font name, path to a font file, or list of names bold (optional): Whether to draw the text as bold, and if a string, - how bold. See :py:attr:`.bold` to learn more. + how bold. See :py:attr:`arcade.gui.widgets.text.bold` to learn more. italic (optional): Whether to draw the text as italic anchor_x (optional): How to calculate the anchor point's x coordinate. Options: "left", "center", or "right" diff --git a/pyproject.toml b/pyproject.toml index fd734d3e4..7dd312d5c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -44,12 +44,12 @@ Book = "https://learn.arcade.academy" dev = [ # --- Documentation: Sphinx 7 based currently "sphinx==8.1.3", # April 2024 | Updated 2024-07-15, 7.4+ is broken with sphinx-autobuild - "sphinx_rtd_theme==3.0.1", # Nov 2024 + "sphinx_rtd_theme==3.0.2", # Nov 2024 "sphinx-rtd-dark-mode==1.3.0", "sphinx-autobuild==2024.10.3", # April 2024 | Due to this, Python 3.10+ is required to serve docs "sphinx-copybutton==0.5.2", # April 2023 "sphinx-sitemap==2.6.0", # April 2024 - "pygments==2.18.0", # 2.18 has breaking changes in lexer + "pygments==2.19.1", # 2.18 has breaking changes in lexer "docutils==0.21.2", # ? # "pyyaml==6.0.1", # "readthedocs-sphinx-search==0.3.2",