forked from ScoDoc/ScoDoc
API map: corrige liens vers routes -query
This commit is contained in:
parent
41758b8c64
commit
650afd5c03
@ -133,7 +133,7 @@ class Token:
|
|||||||
)
|
)
|
||||||
# Préparation du lien vers la doc de la route
|
# Préparation du lien vers la doc de la route
|
||||||
href = "#" + self.func_name.replace("_", "-")
|
href = "#" + self.func_name.replace("_", "-")
|
||||||
if self.query:
|
if self.query and not href.endswith("-query"):
|
||||||
href += "-query"
|
href += "-query"
|
||||||
question_mark_group = _create_question_mark_group(current_end_coords, href)
|
question_mark_group = _create_question_mark_group(current_end_coords, href)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user