smaller adjustments

This commit is contained in:
Steffen Illium
2023-12-12 11:48:57 +01:00
parent 8f4ad6e688
commit 1baf1ef2f9
2 changed files with 3 additions and 6 deletions
docs/source
marl_factory_grid/utils

@ -43,6 +43,7 @@ html_static_path = ['_static']
# In your configuration, you need to specify a linkcode_resolve function that returns an URL based on the object.
# https://www.sphinx-doc.org/en/master/usage/extensions/linkcode.html
def linkcode_resolve(domain, info):
if domain in ['py', '__init__.py']:
return None
@ -51,7 +52,9 @@ def linkcode_resolve(domain, info):
filename = info['module'].replace('.', '/')
return "https://github.com/illiumst/marl-factory-grid/%s.py" % filename
autoclass_content = 'both'
autosummary_generate = True
add_module_names = False
print(sys.executable)

@ -54,15 +54,9 @@ class ObservationTranslator:
A string _identifier based approach is used.
Currently, it is not possible to mix different obs shapes.
:param this_named_observation_space: `Named observation space` of the joined environment.
:type this_named_observation_space: Dict[str, dict]
:param per_agent_named_obs_spaces: `Named observation space` one for each agent. Overloaded.
type per_agent_named_obs_spaces: Dict[str, dict]
:param placeholder_fill_value: Currently, not fully implemented!!!
:type placeholder_fill_value: Union[int, str] = 'N'
"""
if isinstance(placeholder_fill_value, str):