Fix link to name_generator contrib
This commit is contained in:
parent
cdc1b83331
commit
a4eff902cc
5 changed files with 41 additions and 3 deletions
|
|
@ -13,6 +13,7 @@ evennia.contrib.utils
|
||||||
|
|
||||||
evennia.contrib.utils.auditing
|
evennia.contrib.utils.auditing
|
||||||
evennia.contrib.utils.fieldfill
|
evennia.contrib.utils.fieldfill
|
||||||
|
evennia.contrib.utils.name_generator
|
||||||
evennia.contrib.utils.random_string_generator
|
evennia.contrib.utils.random_string_generator
|
||||||
evennia.contrib.utils.tree_select
|
evennia.contrib.utils.tree_select
|
||||||
|
|
||||||
|
|
|
||||||
18
docs/source/api/evennia.contrib.utils.name_generator.md
Normal file
18
docs/source/api/evennia.contrib.utils.name_generator.md
Normal 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
|
||||||
|
|
||||||
|
```
|
||||||
|
|
@ -0,0 +1,10 @@
|
||||||
|
```{eval-rst}
|
||||||
|
evennia.contrib.utils.name\_generator.namegen
|
||||||
|
====================================================
|
||||||
|
|
||||||
|
.. automodule:: evennia.contrib.utils.name_generator.namegen
|
||||||
|
:members:
|
||||||
|
:undoc-members:
|
||||||
|
:show-inheritance:
|
||||||
|
|
||||||
|
```
|
||||||
|
|
@ -0,0 +1,10 @@
|
||||||
|
```{eval-rst}
|
||||||
|
evennia.contrib.utils.name\_generator.tests
|
||||||
|
==================================================
|
||||||
|
|
||||||
|
.. automodule:: evennia.contrib.utils.name_generator.tests
|
||||||
|
:members:
|
||||||
|
:undoc-members:
|
||||||
|
:show-inheritance:
|
||||||
|
|
||||||
|
```
|
||||||
|
|
@ -246,15 +246,14 @@ def schedule(
|
||||||
day (int or None): Number of absolute days.
|
day (int or None): Number of absolute days.
|
||||||
month (int or None): Number of absolute months.
|
month (int or None): Number of absolute months.
|
||||||
year (int or None): Number of absolute years.
|
year (int or None): Number of absolute years.
|
||||||
*args, **kwargs: Will be passed into the callable. These must be possible
|
*args: Passed into the callable. Must be possible to store in Attribute.
|
||||||
to store in Attributes on the generated scheduling Script.
|
**kwargs: Passed into the callable. Must be possible to store in Attribute.
|
||||||
|
|
||||||
Returns:
|
Returns:
|
||||||
Script: The created Script handling the scheduling.
|
Script: The created Script handling the scheduling.
|
||||||
|
|
||||||
Examples:
|
Examples:
|
||||||
::
|
::
|
||||||
|
|
||||||
schedule(func, min=5, sec=0) # Will call 5 minutes past the next (in-game) hour.
|
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.
|
schedule(func, hour=2, min=30, sec=0) # Will call the next (in-game) day at 02:30.
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue