diff options
author | Aaron Carlisle <carlisle.b3d@gmail.com> | 2021-02-19 09:58:16 +0300 |
---|---|---|
committer | Aaron Carlisle <carlisle.b3d@gmail.com> | 2021-02-19 09:58:16 +0300 |
commit | 241273d36261a24bd71adb82da223b084b4589af (patch) | |
tree | c37c9b08a2244bc28a4d97f76d792e94084fac6c | |
parent | e6acc4db72d99a3eb5039f6534dc8654873a6535 (diff) |
API Docs: Fix generation failing with unused context members
Instead of raising an expection a warnign is generated instead. This
fixes the issue where `['hair', 'pointcloud']` are disabled for release
builds. In the future a better solution would be to generate the context
map dynamically but this would require refactoring of the API: D9988
-rw-r--r-- | doc/python_api/sphinx_doc_gen.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/python_api/sphinx_doc_gen.py b/doc/python_api/sphinx_doc_gen.py index 12ffe5b6edf..6d94c619bcf 100644 --- a/doc/python_api/sphinx_doc_gen.py +++ b/doc/python_api/sphinx_doc_gen.py @@ -81,7 +81,7 @@ import sys import inspect import shutil import logging -import warning +import warnings from textwrap import indent |