asyml / texar-pytorch

Integrating the Best of TF into PyTorch, for Machine Learning, Natural Language Processing, and Text Generation. This is part of the CASL project: http://casl-project.ai/
https://asyml.io
Apache License 2.0
744 stars 118 forks source link

Code blocks in docstring are not fully rendered as sphinx doc. #321

Open hunterhector opened 3 years ago

hunterhector commented 3 years ago

The code blocks in the docstring are not rendered as expected int he sphinx doc.

The code block documentation In the following example (and a few following), are not rendered correctly in the resulting documentation. Probably there is some slight indent mismatching here.