-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Update ToC in TaskRuns documentation #4265
Conversation
Hi @nbaudis. Thanks for your PR. I'm waiting for a tektoncd member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/ok-to-test |
docs/taskruns.md
Outdated
- [Specifying a `Pod` template](#specifying-a-pod-template) | ||
- [Specifying `Workspaces`](#specifying-workspaces) | ||
- [Specifying `Sidecars`](#specifying-sidecars) | ||
- [Specifying `LimitRange` values](#specifying-limitrange-values) | ||
- [Configuring the failure timeout](#configuring-the-failure-timeout) | ||
- [Configuring the failure timeout](#configuring-the-failure-timeout) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks @nbaudis for the updates 🙏
This can be placed under Configuring a TaskRun
. Please update the section header so that it aligns with the other "Specifying*" titles.
docs/taskruns.md
Outdated
- [Debugging a `TaskRun`](#debugging-a-taskrun) | ||
- [Events](events.md#taskruns) | ||
- [Running a TaskRun Hermetically](hermetic.md) | ||
- [Debugging a `TaskRun`](#debugging-a-taskrun) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also, please move this out of the Cancelling a TaskRun
section, such that, both are on same level:
Cancelling a TaskRun
Debugging a TaskRun
There are two sections missing from ToC: Both are referencing other files, can we please add it back for folks if they are relying on those links. |
Thanks a lot for your comments @pritidesai! I've corrected the indentation for the two sections and added the two links again. Maybe these links should be placed somewhere outside the ToC so they don't disappear again, but I'm not sure since maybe people rely on them being at the top of the documentation. |
/test pull-tekton-pipeline-alpha-integration-tests |
docs/taskruns.md
Outdated
@@ -509,7 +517,7 @@ spec: | |||
``` | |||
|
|||
|
|||
### Debugging a `TaskRun` | |||
## Debugging a `TaskRun` | |||
|
|||
#### Breakpoint on Failure |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should probably drop the heading on this to 3 #
to bring it in line with its changed parent heading. Same for #### Debug Environment
below - should now be ### Debug Environment
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @sbwsg, you are right. I've changed the levels of the two headings.
This fixes missing and changed entries in the ToC according to the section headings. Some minor improvements were made, including moving some headings to their correct depth.
8c7443b
to
1789763
Compare
squashed all commits into 1789763 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thank you @nbaudis 👍
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: pritidesai The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
- [Monitoring `Results`](#monitoring-results) | ||
- [Cancelling a `TaskRun`](#cancelling-a-taskrun) | ||
- [Debugging a `TaskRun`](#debugging-a-taskrun) | ||
- [Breakpoint on Failure](#breakpoint-on-failure) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like the toc needs to be re-generated after changing the heading level of these two. They're still indented one level too far I think.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @sbwsg I think it shows all aligned:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see, the - [Breakpoint on Failure](#breakpoint-on-failure)
is one level indented further compared to - [Monitoring
Results](#monitoring-results)
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah OK, looks like it renders fine even though the markdown spacing is different.
/lgtm |
Changes
Updating the ToC in the
TaskRuns
documentation which had some headings missing. Additionally, the following smaller improvements were made:<!-- toc -->
and<!-- /toc -->
tags for inplace ToC updates in the future/kind documentation
Submitter Checklist
As the author of this PR, please check off the items in this checklist:
functionality, content, code)
Release Notes