Issue #1117 resolved

sphinx-apidoc support for Cython

Anonymous created an issue

sphinx-apidoc is an awesome tool, but unfortunately it skips .pyx files (Cython files). I hacked into and changed the line 165 to read

py_files = sorted([f for f in files if path.splitext(f)[1] in ['.py','.pyx']])

and now it reads Cython and CPython files. Perhaps this would be better to implement based on a flag, but this functionality is very important for me and other Cython users.

Comments (3)

  1. Log in to comment