-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
[DOCS] Fix Sphinx Warnings #4908
Comments
Improving documentation process is definitely important. I can be one of the helpers. |
I am interested in Improving documentation, too. I can be one of the helpers. |
Thanks @comaniac @cchung100m How about each of you try to work on one of the error type, and send PRs. We can coorindate in this thread |
I could make a PR to fix the indent and format related warnings. |
Hi all, I would go to check the target-related warnings, for example:
|
FYI: I fixed some of them in the Python doc strings by changing them to |
@cchung100m I supposed you will also cover the Unknown target warning, such as |
Thanks for the notification. I would work on it, too. |
Thanks to @comaniac @cchung100m 's effort, we have now cleaned up all the WARNINGS and setup a CI check. A remaining step would be to bring the sphinx check to an earlier stage if we find docs error frequently, but that is an efficiency opt which we can do later |
While the docs builds just fine in the CI. There are a bunch of warnings being generated. Se the logs in http://ci.tvm.ai:8080/job/tvm/job/master/458/execution/node/304/log/ for example
We do not need to fix all the categories(e.g. the warning about image scale can simply be ignored), but some other warnings may affect the result of rendered document(in the case of bad format of embedded rst).
This thread calls for volunteers to help fix these issues(in most cases by changing the docstring to the correct format or change the rst content). After we collectively fixed most of them, we can start to introduce more strict checks in the CI to fail when new type of warnings occur.
To reproduce locally, run the following command in the docs folder(which does not need to execute the sphinx gallery part)
The text was updated successfully, but these errors were encountered: