Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unexpected \ in docstring #2678

Open
msyyc opened this issue Jul 3, 2024 · 3 comments
Open

Unexpected \ in docstring #2678

msyyc opened this issue Jul 3, 2024 · 3 comments
Assignees
Labels
bug This issue requires a change to an existing behavior in the product in order to be resolved.

Comments

@msyyc
Copy link
Member

msyyc commented Jul 3, 2024

@msyyc msyyc added the bug This issue requires a change to an existing behavior in the product in order to be resolved. label Jul 3, 2024
@msyyc msyyc self-assigned this Jul 3, 2024
@msyyc
Copy link
Member Author

msyyc commented Jul 3, 2024

Similar issue for network:
image

image

@msyyc
Copy link
Member Author

msyyc commented Jul 3, 2024

After debug, I find the root cause is related with

def convert_to_rst(string_to_convert: str) -> str:
"""Convert that string from MD to RST."""
try:
return m2r2.convert(string_to_convert, renderer=AutorestRender()).strip()
except Exception: # pylint: disable=broad-except
return string_to_convert
.

@msyyc
Copy link
Member Author

msyyc commented Jul 4, 2024

It is bug of package m2r2: CrossNox/m2r2#70

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue requires a change to an existing behavior in the product in order to be resolved.
Projects
None yet
Development

No branches or pull requests

1 participant