-
Notifications
You must be signed in to change notification settings - Fork 10
autosignature warnings + complicated setup #319
Comments
Here is a readthedocs.io failing build:
|
OK sorry the above readthedocs.io error is due to an old sphinx version by default on this platform, I managed to overcome it.. |
OK |
To fix it, I would probably add a parameter in conf.py to disable warnings. Would that be ok for you? |
yes |
Thank you |
I looked into the code and the logging |
ok thank you for kindness Xavier
I have accepted to build with warnings
čt 12. 11. 2020 v 0:51 odesílatel xavier dupré <[email protected]>
napsal:
… I looked into the code and the logging [import_object] ... should not
appear unless :debug: is added as on option to the directive. The warning WARNING:
[autosignature] should not appear unless the directive does not work. I
looked at https://gmic-py.readthedocs.io/en/latest/PIL.html and it looks
ok. I guess I'll have to build and run the documentation to fully
understand what's happening.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#319 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAJU5QX4R3S74VLZVJGEZYLSPMPORANCNFSM4S3MQL4Q>
.
|
Hello,
I would like to remove warnings mostly. I describe my setup below:
I am trying this in a .rst file for the gmic-py purely compiled C/C++ Python binding which has C docstrings:
.. autosignature:: gmic.GmicImage.from_PIL
:nosummary:
:debug:
For it to work I had to do three things:
pyquickhelper
andsphinxcontrib.imagesvg
to my docs/'s requirements.txtimport gmic
and addpyquickhelper.sphinxext.sphinx_autosignature
to the extensions array variable, within mydocs/conf.py
after this, when building HTML with sphinx, I get the following log with warnings regarding a package import attempt:
the result is:
How do I:
Thanks for your help!
The text was updated successfully, but these errors were encountered: