Skip to content
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

Merged
merged 9 commits into from Nov 19, 2019

Conversation

@stsewd
Copy link
Member

stsewd commented Aug 14, 2019

Closes #6059

Should be merged after #5996 and friends are merged

@@ -2,7 +2,7 @@
#

# You can set these variables from the command line.
SPHINXOPTS = -W --keep-going
SPHINXOPTS = -W

This comment has been minimized.

Copy link
@stsewd

stsewd Aug 14, 2019

Author Member

This causes make livehtml to fail

- Action: ``Activate version on match``

Activate all new tags that don't contain the ``-nightly`` suffix
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

This comment has been minimized.

Copy link
@stsewd

stsewd Aug 14, 2019

Author Member

If this is a very common case, we can add new actions like Activate versions that don't match

This comment has been minimized.

Copy link
@stsewd

stsewd Aug 14, 2019

Author Member

Or an option for the rule like Match or Not match

This comment has been minimized.

Copy link
@humitos

humitos Aug 14, 2019

Member

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 comment has been minimized.

Copy link
@stsewd

stsewd Aug 14, 2019

Author Member

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

This comment has been minimized.

Copy link
@stsewd

stsewd Nov 6, 2019

Author Member

I'm suggesting #6354 to make this more easy

Copy link
Member

humitos left a comment

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.

docs/automation-rules.rst Outdated Show resolved Hide resolved
docs/automation-rules.rst Outdated Show resolved Hide resolved
docs/automation-rules.rst Outdated Show resolved Hide resolved
docs/automation-rules.rst Outdated Show resolved Hide resolved
docs/automation-rules.rst Outdated Show resolved Hide resolved
docs/automation-rules.rst Show resolved Hide resolved
docs/automation-rules.rst Show resolved Hide resolved
docs/automation-rules.rst Show resolved Hide resolved
docs/automation-rules.rst Outdated Show resolved Hide resolved
- Action: ``Activate version on match``

Activate all new tags that don't contain the ``-nightly`` suffix
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

This comment has been minimized.

Copy link
@humitos

humitos Aug 14, 2019

Member

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.

stsewd added 2 commits Aug 14, 2019
@stsewd stsewd requested a review from readthedocs/core Aug 14, 2019
@stale

This comment has been minimized.

Copy link

stale bot commented Sep 28, 2019

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.

Copy link
Contributor

agjohnson left a comment

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.

docs/automation-rules.rst Outdated Show resolved Hide resolved
docs/automation-rules.rst Outdated Show resolved Hide resolved
docs/automation-rules.rst Outdated Show resolved Hide resolved
docs/automation-rules.rst Outdated Show resolved Hide resolved
docs/automation-rules.rst Outdated Show resolved Hide resolved
docs/automation-rules.rst Outdated Show resolved Hide resolved
docs/automation-rules.rst Outdated Show resolved Hide resolved
docs/automation-rules.rst Outdated Show resolved Hide resolved
docs/automation-rules.rst Outdated Show resolved Hide resolved
docs/automation-rules.rst Outdated Show resolved Hide resolved
stsewd and others added 4 commits Nov 13, 2019
Co-Authored-By: Anthony <aj@ohess.org>
it's already described on `How do they work?`
@stsewd stsewd requested a review from agjohnson Nov 14, 2019
Copy link
Member

ericholscher left a comment

I think this looks good. We need to ship it before release for it to be in stable, so merging 👍

@ericholscher ericholscher merged commit 9353efb into readthedocs:master Nov 19, 2019
2 checks passed
2 checks passed
continuous-documentation/read-the-docs Read the Docs build succeeded!
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
@stsewd stsewd deleted the stsewd:docs-automation-rules branch Nov 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
5 participants
You can’t perform that action at this time.