Sphinx tries to explore all the defined objects when trying to generate docs from the code. When it tries to introspect the QuerySet object, it results in that object trying to query the database which we don't really want to setup for a docs build as it's not relevant and fairly expensive to do. To circumvent this issue, we add a new filter to the docs build that essentially skips further introspection of QuerySet objects.
13 KiB
13 KiB