diff --git a/Docs/python_api.md b/Docs/python_api.md
index 4b5557602..6ac76182d 100644
--- a/Docs/python_api.md
+++ b/Docs/python_api.md
@@ -1,5 +1,5 @@
#Python API reference
-This reference contains all the details about latest version of the Python API. To consult a valid reference for a specific CARLA release, please select it from the list hereunder.
Previous references
Warning! These links change the version of the documentation to a previous state. Make sure to go back to the latest to get the updated version of the docs.
+This reference contains all the details about latest version of the Python API. To consult a valid reference for a specific CARLA release, please select it from the list hereunder.
Warning! These links change the version of the documentation to a previous state. Make sure to go back to the latest to get the updated version of the docs.
Previous references
## carla.Actor
CARLA defines actors as anything that plays a role in the simulation or can be moved around. That includes: pedestrians, vehicles, sensors and traffic signs (considering traffic lights as part of these). Actors are spawned in the simulation by [carla.World](#carla.World) and they need for a [carla.ActorBlueprint](#carla.ActorBlueprint) to be created. These blueprints belong into a library provided by CARLA, find more about them [here](bp_library.md).
diff --git a/PythonAPI/docs/doc_gen.py b/PythonAPI/docs/doc_gen.py
index d1f56686f..a14a45865 100755
--- a/PythonAPI/docs/doc_gen.py
+++ b/PythonAPI/docs/doc_gen.py
@@ -394,7 +394,7 @@ def add_doc_method(md, method, class_key):
md.list_pop()
-def add_doc_getter_setter(md, method, class_key,is_getter,other_list):
+def add_doc_getter_setter(md, method,class_key,is_getter,other_list):
method_name = method['def_name']
method_key = join([class_key, method_name], '.')
method_def = gen_doc_method_def(method, False)
@@ -585,6 +585,7 @@ class Documentation:
md.first_title()
md.textn(
"This reference contains all the details about latest version of the Python API. To consult a valid reference for a specific CARLA release, please select it from the list hereunder.
"
+ +"
Warning! These links change the version of the documentation to a previous state. Make sure to go back to the latest to get the updated version of the docs.
"
+"Previous references
"
-+"Warning! These links change the version of the documentation to a previous state. Make sure to go back to the latest to get the updated version of the docs.
")
++"
")
for module_name in sorted(self.master_dict):
module = self.master_dict[module_name]
module_key = module_name
@@ -641,11 +641,11 @@ class Documentation:
if len(get_list)>0:
md.title_html(5, 'Getters')
for method in get_list:
- add_doc_getter_setter(md, method, class_key,True,set_list)
+ add_doc_getter_setter(md, method,class_key,True,set_list)
if len(set_list)>0:
md.title_html(5, 'Setters')
for method in set_list:
- add_doc_getter_setter(md, method, class_key,False,get_list)
+ add_doc_getter_setter(md, method,class_key,False,get_list)
if len(dunder_list)>0:
md.title_html(5, 'Dunder methods')
for method in dunder_list: