Replies: 2 comments 4 replies
|
There's no option to tell mkdocstrings (Griffe) to skip a file. It has to find and load everything to build a correct tree. My recommendation would be to try to prevent this file from segfaulting when imported 😕? |
0 replies
|
Thanks @pawamoy. The lines that are causing the segfault are https://github.com/QMCSoftware/QMCSoftware/blob/distrib_docs/qmcpy/discrete_distribution/_c_lib/util.c#L13-L17 copied below. #include <Python.h>
PyMODINIT_FUNC PyInit__c_lib(void)
{
// do stuff...
printf("");
}Specifically, when this gets compiled into a Have you seen any similar issues or workarounds? |
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
running
mkdocs serve -vgives a segmentation fault uponAs this file is not used in my docs, how do I tell
mkdocstringsto avoid loading this file?This file is a compiled C file. Happy to provide more info if it would help. Thanks!
All reactions