mirror of
https://github.com/illiumst/marl-factory-grid.git
synced 2025-07-05 09:01:36 +02:00
smaller adjustments
This commit is contained in:
@ -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.
|
# 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
|
# https://www.sphinx-doc.org/en/master/usage/extensions/linkcode.html
|
||||||
|
|
||||||
|
|
||||||
def linkcode_resolve(domain, info):
|
def linkcode_resolve(domain, info):
|
||||||
if domain in ['py', '__init__.py']:
|
if domain in ['py', '__init__.py']:
|
||||||
return None
|
return None
|
||||||
@ -51,7 +52,9 @@ def linkcode_resolve(domain, info):
|
|||||||
filename = info['module'].replace('.', '/')
|
filename = info['module'].replace('.', '/')
|
||||||
return "https://github.com/illiumst/marl-factory-grid/%s.py" % filename
|
return "https://github.com/illiumst/marl-factory-grid/%s.py" % filename
|
||||||
|
|
||||||
|
|
||||||
autoclass_content = 'both'
|
autoclass_content = 'both'
|
||||||
autosummary_generate = True
|
autosummary_generate = True
|
||||||
|
add_module_names = False
|
||||||
|
|
||||||
print(sys.executable)
|
print(sys.executable)
|
@ -54,15 +54,9 @@ class ObservationTranslator:
|
|||||||
A string _identifier based approach is used.
|
A string _identifier based approach is used.
|
||||||
Currently, it is not possible to mix different obs shapes.
|
Currently, it is not possible to mix different obs shapes.
|
||||||
|
|
||||||
|
|
||||||
:param this_named_observation_space: `Named observation space` of the joined environment.
|
: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.
|
: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!!!
|
:param placeholder_fill_value: Currently, not fully implemented!!!
|
||||||
:type placeholder_fill_value: Union[int, str] = 'N'
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
if isinstance(placeholder_fill_value, str):
|
if isinstance(placeholder_fill_value, str):
|
||||||
|
Reference in New Issue
Block a user