-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Ensure Lint CI catch documentation difference error #5367
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
Conversation
Signed-off-by: Chun-Wei Chen <jacky82226@gmail.com>
Signed-off-by: Chun-Wei Chen <jacky82226@gmail.com>
Signed-off-by: Chun-Wei Chen <jacky82226@gmail.com>
Signed-off-by: Chun-Wei Chen <jacky82226@gmail.com>
Signed-off-by: Chun-Wei Chen <jacky82226@gmail.com>
cc @justinchuby Lint CI uses ONNX_ML=1 so it does not generate document (e.g., Operators.md) under ONNX domain. Specify ONNX_ML=0 and ONNX_ML=1 to ensure both documents will be updated. Another thought: I think it's better for us to pick up this PR again: #3467. Ideally python onnx/defs/gen_doc.py should update all documents in one shot and I don't see any benefit to decouple them... |
Thank you! I think the suggestion makes total sense |
### Description <!-- - Describe your changes. --> Ensure Lint CI catch documentation diff (Operators.md) error: specify ONNX_ML=0 and ONNX_ML=1 to update Operators.md and Operators-ml.md ### Motivation and Context <!-- - Why is this change required? What problem does it solve? --> <!-- - If it fixes an open issue, please link to the issue here. --> onnx#5344 we removed doc diff in required Azp CI and now only Lint CI has doc diff check. However, documentation diff in Lint CI seems not working. This PR is trying to ensure doc diff errors will be caught. --------- Signed-off-by: Chun-Wei Chen <jacky82226@gmail.com> Signed-off-by: Xavier Dupre <xadupre@microsoft.com>
### Description <!-- - Describe your changes. --> Ensure Lint CI catch documentation diff (Operators.md) error: specify ONNX_ML=0 and ONNX_ML=1 to update Operators.md and Operators-ml.md ### Motivation and Context <!-- - Why is this change required? What problem does it solve? --> <!-- - If it fixes an open issue, please link to the issue here. --> onnx#5344 we removed doc diff in required Azp CI and now only Lint CI has doc diff check. However, documentation diff in Lint CI seems not working. This PR is trying to ensure doc diff errors will be caught. --------- Signed-off-by: Chun-Wei Chen <jacky82226@gmail.com> Signed-off-by: Xavier Dupre <xadupre@microsoft.com>
### Description <!-- - Describe your changes. --> Ensure Lint CI catch documentation diff (Operators.md) error: specify ONNX_ML=0 and ONNX_ML=1 to update Operators.md and Operators-ml.md ### Motivation and Context <!-- - Why is this change required? What problem does it solve? --> <!-- - If it fixes an open issue, please link to the issue here. --> onnx#5344 we removed doc diff in required Azp CI and now only Lint CI has doc diff check. However, documentation diff in Lint CI seems not working. This PR is trying to ensure doc diff errors will be caught. --------- Signed-off-by: Chun-Wei Chen <jacky82226@gmail.com> Signed-off-by: Aditya Goel <agoel4512@gmail.com>
### Description <!-- - Describe your changes. --> Ensure Lint CI catch documentation diff (Operators.md) error: specify ONNX_ML=0 and ONNX_ML=1 to update Operators.md and Operators-ml.md ### Motivation and Context <!-- - Why is this change required? What problem does it solve? --> <!-- - If it fixes an open issue, please link to the issue here. --> onnx#5344 we removed doc diff in required Azp CI and now only Lint CI has doc diff check. However, documentation diff in Lint CI seems not working. This PR is trying to ensure doc diff errors will be caught. --------- Signed-off-by: Chun-Wei Chen <jacky82226@gmail.com> Signed-off-by: Aditya Goel <agoel4512@gmail.com>
<!-- - Describe your changes. --> Ensure Lint CI catch documentation diff (Operators.md) error: specify ONNX_ML=0 and ONNX_ML=1 to update Operators.md and Operators-ml.md <!-- - Why is this change required? What problem does it solve? --> <!-- - If it fixes an open issue, please link to the issue here. --> onnx#5344 we removed doc diff in required Azp CI and now only Lint CI has doc diff check. However, documentation diff in Lint CI seems not working. This PR is trying to ensure doc diff errors will be caught. --------- Signed-off-by: Chun-Wei Chen <jacky82226@gmail.com> Signed-off-by: Aditya Goel <agoel4512@gmail.com>
### Description <!-- - Describe your changes. --> Ensure Lint CI catch documentation diff (Operators.md) error: specify ONNX_ML=0 and ONNX_ML=1 to update Operators.md and Operators-ml.md ### Motivation and Context <!-- - Why is this change required? What problem does it solve? --> <!-- - If it fixes an open issue, please link to the issue here. --> onnx#5344 we removed doc diff in required Azp CI and now only Lint CI has doc diff check. However, documentation diff in Lint CI seems not working. This PR is trying to ensure doc diff errors will be caught. --------- Signed-off-by: Chun-Wei Chen <jacky82226@gmail.com> Signed-off-by: Aditya Goel <agoel4512@gmail.com>
<!-- - Describe your changes. --> Ensure Lint CI catch documentation diff (Operators.md) error: specify ONNX_ML=0 and ONNX_ML=1 to update Operators.md and Operators-ml.md <!-- - Why is this change required? What problem does it solve? --> <!-- - If it fixes an open issue, please link to the issue here. --> onnx#5344 we removed doc diff in required Azp CI and now only Lint CI has doc diff check. However, documentation diff in Lint CI seems not working. This PR is trying to ensure doc diff errors will be caught. --------- Signed-off-by: Chun-Wei Chen <jacky82226@gmail.com> Signed-off-by: Aditya Goel <agoel4512@gmail.com>
### Description <!-- - Describe your changes. --> Ensure Lint CI catch documentation diff (Operators.md) error: specify ONNX_ML=0 and ONNX_ML=1 to update Operators.md and Operators-ml.md ### Motivation and Context <!-- - Why is this change required? What problem does it solve? --> <!-- - If it fixes an open issue, please link to the issue here. --> onnx#5344 we removed doc diff in required Azp CI and now only Lint CI has doc diff check. However, documentation diff in Lint CI seems not working. This PR is trying to ensure doc diff errors will be caught. --------- Signed-off-by: Chun-Wei Chen <jacky82226@gmail.com> Signed-off-by: Aditya Goel <agoel4512@gmail.com>
<!-- - Describe your changes. --> Ensure Lint CI catch documentation diff (Operators.md) error: specify ONNX_ML=0 and ONNX_ML=1 to update Operators.md and Operators-ml.md <!-- - Why is this change required? What problem does it solve? --> <!-- - If it fixes an open issue, please link to the issue here. --> onnx#5344 we removed doc diff in required Azp CI and now only Lint CI has doc diff check. However, documentation diff in Lint CI seems not working. This PR is trying to ensure doc diff errors will be caught. --------- Signed-off-by: Chun-Wei Chen <jacky82226@gmail.com> Signed-off-by: Aditya Goel <agoel4512@gmail.com>
Description
Ensure Lint CI catch documentation diff (Operators.md) error: specify ONNX_ML=0 and ONNX_ML=1 to update Operators.md and Operators-ml.md
Motivation and Context
#5344 we removed doc diff in required Azp CI and now only Lint CI has doc diff check. However, documentation diff in Lint CI seems not working. This PR is trying to ensure doc diff errors will be caught.