You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by GitBox <gi...@apache.org> on 2020/02/18 19:54:15 UTC
[GitHub] [incubator-tvm] tqchen opened a new issue #4908: [DOCS] Fix
Warnings in Sphinx
tqchen opened a new issue #4908: [DOCS] Fix Warnings in Sphinx
URL: https://github.com/apache/incubator-tvm/issues/4908
While the docs builds just fine in the CI. There are a bunch of warnings being generated. We do not fix all the categories(e.g. the warning about image scale can simply be ignore), 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)
```bash
TVM_TUTORIAL_EXEC_PATTERN=none make html
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [incubator-tvm] tqchen closed issue #4908: [DOCS] Fix Sphinx
Warnings
Posted by GitBox <gi...@apache.org>.
tqchen closed issue #4908: [DOCS] Fix Sphinx Warnings
URL: https://github.com/apache/incubator-tvm/issues/4908
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [incubator-tvm] comaniac commented on issue #4908: [DOCS] Fix
Sphinx Warnings
Posted by GitBox <gi...@apache.org>.
comaniac commented on issue #4908: [DOCS] Fix Sphinx Warnings
URL: https://github.com/apache/incubator-tvm/issues/4908#issuecomment-587904520
Improving documentation process is definitely important. I can be one of the helpers.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [incubator-tvm] cchung100m commented on issue #4908: [DOCS] Fix
Sphinx Warnings
Posted by GitBox <gi...@apache.org>.
cchung100m commented on issue #4908: [DOCS] Fix Sphinx Warnings
URL: https://github.com/apache/incubator-tvm/issues/4908#issuecomment-587997891
I am interested in Improving documentation, too. I can be one of the helpers.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [incubator-tvm] tqchen commented on issue #4908: [DOCS] Fix Sphinx
Warnings
Posted by GitBox <gi...@apache.org>.
tqchen commented on issue #4908: [DOCS] Fix Sphinx Warnings
URL: https://github.com/apache/incubator-tvm/issues/4908#issuecomment-588004446
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
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [incubator-tvm] comaniac commented on issue #4908: [DOCS] Fix
Sphinx Warnings
Posted by GitBox <gi...@apache.org>.
comaniac commented on issue #4908: [DOCS] Fix Sphinx Warnings
URL: https://github.com/apache/incubator-tvm/issues/4908#issuecomment-588413828
I could make a PR to fix the indent and format related warnings.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [incubator-tvm] cchung100m commented on issue #4908: [DOCS] Fix
Sphinx Warnings
Posted by GitBox <gi...@apache.org>.
cchung100m commented on issue #4908: [DOCS] Fix Sphinx Warnings
URL: https://github.com/apache/incubator-tvm/issues/4908#issuecomment-589088183
Hi all,
I would go to check the target-related warnings, for example:
`/tvm/docs/tutorials/autotvm/tune_relay_x86.rst:34: WARNING: 'any' reference target not found: relay.testing.resnett`
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [incubator-tvm] comaniac commented on issue #4908: [DOCS] Fix
Sphinx Warnings
Posted by GitBox <gi...@apache.org>.
comaniac commented on issue #4908: [DOCS] Fix Sphinx Warnings
URL: https://github.com/apache/incubator-tvm/issues/4908#issuecomment-589264500
@cchung100m I supposed you will also cover the Unknown target warning, such as `Unknown target name: src/relay/pass`. Am I understanding correctly?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [incubator-tvm] comaniac commented on issue #4908: [DOCS] Fix
Sphinx Warnings
Posted by GitBox <gi...@apache.org>.
comaniac commented on issue #4908: [DOCS] Fix Sphinx Warnings
URL: https://github.com/apache/incubator-tvm/issues/4908#issuecomment-589184548
FYI: I fixed some of them in the Python doc strings by changing them to `:py:class`.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [incubator-tvm] cchung100m commented on issue #4908: [DOCS] Fix
Sphinx Warnings
Posted by GitBox <gi...@apache.org>.
cchung100m commented on issue #4908: [DOCS] Fix Sphinx Warnings
URL: https://github.com/apache/incubator-tvm/issues/4908#issuecomment-589918262
@comaniac
Thanks for the notification. I would work on it, too.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [incubator-tvm] tqchen commented on issue #4908: [DOCS] Fix Sphinx
Warnings
Posted by GitBox <gi...@apache.org>.
tqchen commented on issue #4908: [DOCS] Fix Sphinx Warnings
URL: https://github.com/apache/incubator-tvm/issues/4908#issuecomment-592741577
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
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services