Skip to content

Commit

Permalink
Doc fixes, and library updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul V Craven committed Jan 24, 2025
1 parent 4f963bc commit 74f09ab
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions arcade/text.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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"
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 74f09ab

Please sign in to comment.