-
Notifications
You must be signed in to change notification settings - Fork 122
Mkdocs #271
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mkdocs #271
Conversation
cpdef didn't work correctly with Cython 3.0 onwards, which is needed for the docs. Setting this to "cdef enum" doesn't change any functionality in our case.
For building docs, we use Cython 3.0 now, which automatically provides full introspection functionality for cython functions
Looks good! I've added a PR that enables |
Initially wanted to use the As for the binding: With Cython >= 3 we don't need to configure anything specific, as binding is enabled globally by default in Cython 3. |
Looks good to me. The docstrings should Just Work because you're enforcing Cython 3 in the doc requirements. |
* Transition from sphinx to mkdocs for documentation * Tidy up docstrings, mkdocs config * Add logo to docs, hide navbar * Reformat docstring indentation * Missing newline * Fix more wrong indents * Add `mike` for versioning the docs * add site dir to gitignore * setup.py: Remove .so files on cleanup * header.pxi: Rename all "cpdef enum" to "cdef enum" cpdef didn't work correctly with Cython 3.0 onwards, which is needed for the docs. Setting this to "cdef enum" doesn't change any functionality in our case. * Remove embedsignature=True For building docs, we use Cython 3.0 now, which automatically provides full introspection functionality for cython functions * Build docs with Cython 3.0 --------- Co-authored-by: Michael Milton <michael.r.milton@gmail.com> Co-authored-by: Michael Milton <ttmigueltt@gmail.com>
Based on #268
@multimeric
Alright, you should be able to run
scripts/builddocs.sh
andmkdocs serve
to check out the rendered docs from compiling with Cython 3