-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Add auto update doc pipeline to help developers update docs #5450
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
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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>
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>
xadupre
reviewed
Jul 28, 2023
xadupre
reviewed
Jul 28, 2023
Should we disable the action checking the markdown pages are up to date? |
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: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
…onnx into jcw/auto-doc-generation
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.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>
justinchuby
approved these changes
Jul 28, 2023
justinchuby
reviewed
Jul 28, 2023
Three proposals:
This PR aims for 1. now and so I guess the checking markdown will still be needed. |
I like 1 if we are still checking in md files in git. |
github-merge-queue bot
pushed a commit
that referenced
this pull request
Sep 21, 2023
### Description <!-- - Describe your changes. --> - Extend `onnx/backend/test/cmd_tools.py` with a new option: "diff", which will only update the backend node test data whose script has been updated. - Make `auto_update_doc.yml` CI utilize "--diff" and update the backend node test data accordingly. ### 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. --> #5450 "auto update doc" was introduced for helping users update docs like Operators.md and TestCoverage.md. It will be also useful that the CI can help users update backend node test as well. --------- Signed-off-by: Chun-Wei Chen <jacky82226@gmail.com> Signed-off-by: Justin Chu <justinchuby@users.noreply.github.com> Co-authored-by: Justin Chu <justinchuby@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
module: CI pipelines
Issues related to the CI pipeline
topic: documentation
Issues related to ONNX documentation
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Add auto update doc pipeline to help developers update docs: add
auto update doc
label in PR and it will commit updated documents in the pipeline. I am not sure how the signoff will work, but let's give it a try.Motivation and Context
Sometimes it's painful for new developers to update a small typo in ONNX's documentation (e.g., Operators.md): they need to change the source C++ code under
onnx/def
directory, build onnx from source, runpython onnx/defs/gen_doc.py
and finally update related documents accordingly. I am thinking whether we can have an automatic pipeline to help us update files in the PR. We can set a PR label as a trigger.