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 π? |
Beta Was this translation helpful? Give feedback.
-
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? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
running
mkdocs serve -v
gives a segmentation fault uponAs this file is not used in my docs, how do I tell
mkdocstrings
to avoid loading this file?This file is a compiled C file. Happy to provide more info if it would help. Thanks!
Beta Was this translation helpful? Give feedback.
All reactions