-
Notifications
You must be signed in to change notification settings - Fork 128
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
API references cleanup #262
Comments
I couldn't find anything. Could you point out some examples? Otherwise we might want to close this issue Edit: nvm, found it https://emukit.readthedocs.io/en/latest/api/emukit.quadrature.acquisitions.html I might put some time into listing what exactly seems broken and then see if I can modify https://github.com/amzn/emukit/tree/master/emukit/quadrature locally and run sphinx to fix the latex in the docs. |
Thank you @sheikheddy, much appreciated! |
@mmahsereci can you mention those other packages here, so the scope of the issue is clear? |
The API references have several issues that should be addressed. These are, among others:
Some latex formulas are not rendered correctly
For some classes, the parameter descriptions are not rendered at all as the docstring is split. The parameter descriptions need to be moved to the right place. Example:
This will not render the description of
my_param
:This will :
:raises: ExcetionType
are partially not documented... note::
and.. seealso::
is not used even though a note is present in the docstring.Sentences are incomplete, e.g., dots
.
are missing, or they start without a capital letter.There are inconsistencies in naming. For example sometimes the number of points are called
num_points
and sometimesn_points
, or the number of input dimensions are sometimes callednum_dim
and sometimesinput_dim
. This is confusing to users.Some docstrings do not exist or are incomplete
...
Another thing that might be worth thinking about is to clean up the import structure and pulling some imports one level up (this may minorly break some code as imports change). For example instead of
from emukit.quadrature.loop.specific_loop import SpecificLoop
we should only havefrom emukit.quadrature.loop import SpecificLoop
. It's more user friendly and the docs are cleaner.We should probably go through the modules one by one and see if the issues are resolved.
Modules docs that have been corrected
quadrature
wrapper docs #413quadrature
#412quadrature
#412The text was updated successfully, but these errors were encountered: