Message328015
@Cheryl I think it's about nested inline markup. The func is wrapped inside a * and the markup is normal is not nested here. I tried a sample directive as below :
..availability: :func:`len`
PO file
Availability: len()
Expected
Availability: :func:`len`
@Victor Yes, PO files are broken and markup is good. They have :func:`len` converted to len() like a method call in the output. Since markdown works fine I guess there is some configuration missing in the custom directive code to ensure translations work the same since there are directives like versionadded that have :func: that work fine in PO files. I tried debugging gettext.py in sphinx where catalog of messages are returned without markup as noted for Availablity directive and then written to the file. I don't know how to go little above the call stack to debug further since sphinx configuration looks very complicated.
Thanks
P.S. On mobile please ignore formatting errors if any |
|
Date |
User |
Action |
Args |
2018-10-19 01:29:58 | xtreak | set | recipients:
+ xtreak, georg.brandl, vstinner, docs@python, mdk, cheryl.sabella |
2018-10-19 01:29:58 | xtreak | set | messageid: <1539912598.04.0.788709270274.issue35015@psf.upfronthosting.co.za> |
2018-10-19 01:29:58 | xtreak | link | issue35015 messages |
2018-10-19 01:29:56 | xtreak | create | |
|