You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create apidocs.py tool to generate API docs from sources. It should also call DocToc to generate table of contents. Generated markdown file should contain a comment that it was auto-generated from sources and should not be modified. This tool needs a mechanism to decide for which .pyx files to generate doc - if there is a corresponding .md file for a .pyx file it should do it (cefpython/browser.pyx <=> docs/objects/Browser.md). When there is a new .pyx file that needs a doc just create an appropriate .md file. Such file should contain a html comment <!-- Generated by tools/apidocs.py --> and only files that contain such comment should be overwritten to avoid mistakes.
Kivy seem to use Sphinx, but its parameters formatting is different, investigate why. See vertex_instructions.pyx.
On cython-users I've found a discussion about documenting Cython code and plans to create a Cython plugin for Sphinx, so +1 for using Sphinx conventions
I would really favor such a documentation.
It seems to me that Kivy generates doc pages out of cython code.
Example: sourcedoc
But I'm not sure how they do it - I didn't looked into it...
<!-- Generated by tools/apidocs.py -->
and only files that contain such comment should be overwritten to avoid mistakes.__doc__
attribute.The text was updated successfully, but these errors were encountered: