Fix link to name_generator contrib

This commit is contained in:
Griatch 2022-09-17 19:41:48 +02:00
parent cdc1b83331
commit a4eff902cc
5 changed files with 41 additions and 3 deletions

View file

@ -13,6 +13,7 @@ evennia.contrib.utils
evennia.contrib.utils.auditing
evennia.contrib.utils.fieldfill
evennia.contrib.utils.name_generator
evennia.contrib.utils.random_string_generator
evennia.contrib.utils.tree_select

View file

@ -0,0 +1,18 @@
```{eval-rst}
evennia.contrib.utils.name\_generator
=============================================
.. automodule:: evennia.contrib.utils.name_generator
:members:
:undoc-members:
:show-inheritance:
.. toctree::
:maxdepth: 6
evennia.contrib.utils.name_generator.namegen
evennia.contrib.utils.name_generator.tests
```

View file

@ -0,0 +1,10 @@
```{eval-rst}
evennia.contrib.utils.name\_generator.namegen
====================================================
.. automodule:: evennia.contrib.utils.name_generator.namegen
:members:
:undoc-members:
:show-inheritance:
```

View file

@ -0,0 +1,10 @@
```{eval-rst}
evennia.contrib.utils.name\_generator.tests
==================================================
.. automodule:: evennia.contrib.utils.name_generator.tests
:members:
:undoc-members:
:show-inheritance:
```

View file

@ -246,15 +246,14 @@ def schedule(
day (int or None): Number of absolute days.
month (int or None): Number of absolute months.
year (int or None): Number of absolute years.
*args, **kwargs: Will be passed into the callable. These must be possible
to store in Attributes on the generated scheduling Script.
*args: Passed into the callable. Must be possible to store in Attribute.
**kwargs: Passed into the callable. Must be possible to store in Attribute.
Returns:
Script: The created Script handling the scheduling.
Examples:
::
schedule(func, min=5, sec=0) # Will call 5 minutes past the next (in-game) hour.
schedule(func, hour=2, min=30, sec=0) # Will call the next (in-game) day at 02:30.