@@ -1008,7 +1008,7 @@ def console_set_custom_font(
10081008 file respectfully.
10091009
10101010 .. deprecated:: 11.13
1011- Load fonts using :any:`tcod.tileset.load_tileheet ` instead.
1011+ Load fonts using :any:`tcod.tileset.load_tilesheet ` instead.
10121012 See :ref:`getting-started` for more info.
10131013 """
10141014 if not os .path .exists (_unicode (fontFile )):
@@ -1692,7 +1692,7 @@ def console_print_frame(
16921692def console_set_color_control (
16931693 con : int , fore : Tuple [int , int , int ], back : Tuple [int , int , int ]
16941694) -> None :
1695- """Configure :any :`color controls`.
1695+ """Configure :term :`color controls`.
16961696
16971697 Args:
16981698 con (int): :any:`Color control` constant to modify.
@@ -2426,7 +2426,7 @@ def heightmap_new(w: int, h: int, order: str = "C") -> np.ndarray:
24262426 following are true::
24272427 * The array is 2 dimensional.
24282428 * The array has the C_CONTIGUOUS or F_CONTIGUOUS flag.
2429- * The array's dtype is :any: `dtype.float32`.
2429+ * The array's dtype is `dtype.float32`.
24302430
24312431 The returned NumPy array will fit all these conditions.
24322432
@@ -3576,10 +3576,10 @@ def noise_get(
35763576) -> float :
35773577 """Return the noise value sampled from the ``f`` coordinate.
35783578
3579- ``f`` should be a tuple or list with a length matching
3580- :any:`Noise.dimensions `.
3581- If ``f`` is shoerter than :any:`Noise. dimensions` the missing coordinates
3582- will be filled with zeros.
3579+ ``f`` should be a tuple or list with a length matching the `dimensions`
3580+ attribute of :any:`Noise`.
3581+ If ``f`` is shorter than ` dimensions` the missing coordinates will be
3582+ filled with zeros.
35833583
35843584 Args:
35853585 n (Noise): A Noise instance.
@@ -4151,7 +4151,7 @@ def sys_elapsed_milli() -> int:
41514151 int: Time since the progeam has started in milliseconds.
41524152
41534153 .. deprecated:: 2.0
4154- Use :any :`time.clock` instead.
4154+ Use Python's :mod :`time` module instead.
41554155 """
41564156 return int (lib .TCOD_sys_elapsed_milli ())
41574157
@@ -4164,7 +4164,7 @@ def sys_elapsed_seconds() -> float:
41644164 float: Time since the progeam has started in seconds.
41654165
41664166 .. deprecated:: 2.0
4167- Use :any :`time.clock` instead.
4167+ Use Python's :mod :`time` module instead.
41684168 """
41694169 return float (lib .TCOD_sys_elapsed_seconds ())
41704170
@@ -4307,8 +4307,8 @@ def sys_register_SDL_renderer(callback: Callable[[Any], None]) -> None:
43074307 Note:
43084308 This callback will only be called by the SDL renderer.
43094309
4310- The callack will receive a :any:` CData <ffi-cdata>` void* to an
4311- SDL_Surface* struct.
4310+ The callback will receive a CData ` void*` pointer to an
4311+ ` SDL_Surface*` struct.
43124312
43134313 The callback is called on every call to :any:`tcod.console_flush`.
43144314
0 commit comments