python - Convert Doxypypy docs to Spinx -


do know tool convert docs structured doxypypy sphinx , preserve existing doctests?

you can try pyment, after installing it:

pyment your_code.py  # or folder of project # apply generated patche(s) 

pyment can recognize several formats, , recognizes variants of google docstrings format doxypypy seems looks like.

it generates default restructuredtext format sphinx.

it should convert recognized , don't touch didn't. thus, think doctests should preserved.

if doesn't work good, possible open issue have better support fot format.


Comments

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

android - Keyboard hides my half of edit-text and button below it even in scroll view -

css - Make div keyboard-scrollable in jQuery Mobile? -