-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Add docs for automatin rules #6072
Add docs for automatin rules #6072
Conversation
docs/Makefile
Outdated
@@ -2,7 +2,7 @@ | |||
# | |||
|
|||
# You can set these variables from the command line. | |||
SPHINXOPTS = -W --keep-going | |||
SPHINXOPTS = -W |
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.
This causes make livehtml
to fail
- Action: ``Activate version on match`` | ||
|
||
Activate all new tags that don't contain the ``-nightly`` suffix | ||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
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.
If this is a very common case, we can add new actions like Activate versions that don't match
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.
Or an option for the rule like Match
or Not match
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 would remove this example from the docs for now. Looks pretty complex to me and I'm not sure how many cases there are where -nightly
is a tag.
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.
The section is supposed to have complex examples, more than the suffix, is to have an example of how apply a rule on not-match
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'm suggesting #6354 to make this more easy
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 good to me.
I think it would be good to start explaining what is each thing as a first paragraph of each section and then talk about it's limitation, the supported values and more advanced things. As a reader, it's important to know what a "Match" field is and then know what I can write on it.
Also, since the docs talks about "Creating a rule", it may be good to explain how to Delete a rule and what happens with the order in that case, for example.
- Action: ``Activate version on match`` | ||
|
||
Activate all new tags that don't contain the ``-nightly`` suffix | ||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
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 would remove this example from the docs for now. Looks pretty complex to me and I'm not sure how many cases there are where -nightly
is a tag.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
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.
Docs look great! I noted a number of copy changes to make the docs more clear to both community users and commercial users. The voice of the docs seems to target the more technical crowd.
Co-Authored-By: Anthony <[email protected]>
it's already described on `How do they work?`
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 think this looks good. We need to ship it before release for it to be in stable
, so merging 👍
Closes #6059
Should be merged after #5996 and friends are merged