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

Replaced all references of downstream docs to upstream docs #15388

Merged
merged 10 commits into from
Jul 24, 2024

Conversation

tvo318
Copy link
Member

@tvo318 tvo318 commented Jul 19, 2024

SUMMARY

Replaced all links to 'tower' and 'automation-controller' documentation with links to https://ansible.readthedocs.io/projects/awx/en/latest/ or to to developers.redhat.com for the API reference guide. The purpose of this PR is to correct links that are still pointing to old product docs.

ISSUE TYPE
  • Bug, Docs Fix or other nominal change
COMPONENT NAME
  • Docs
  • API
AWX VERSION

devel and latest

@github-actions github-actions bot added component:awx_collection issues related to the collection for controlling AWX component:docs labels Jul 19, 2024
@@ -32,7 +32,7 @@ Installing the `tar.gz` involves no special instructions.
## Running

Non-deprecated modules in this collection have no Python requirements, but
may require the official [AWX CLI](https://docs.ansible.com/ansible-tower/latest/html/towercli/index.html)
may require the official [AWX CLI](https://docs.ansible.com/automation-controller/latest/html/controllercli/index.html)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tvo318 Hey, about the AWX CLI docs. I know there's currently no equivalent of the guide in the AWX docsite yet and we still need to migrate the content to docs.redhat. @samccann renewed this topic and the community team are going to keep working on it.

For AWX I've been thinking that maybe we should just rely on manpages rather than a published guide. I know that's not quite as ideal but I think it's a good approach.

The main reason here is that it's going to take some engineering effort to create an AWX CLI guide that is separate to the Controller CLI guide. I obvs don't own the decision but I'd question if it's worth going there. IMO it's worth investing more in developing higher quality manpages than it is generating a separate AWX CLI guide. Docs should always be available from where the user is working.

Anyway, in this particular case, I suggest we just remove the link to docs.ansible.com because that has always been intended for downstream users and this reinforces the ambiguity between AWX and Controller imo.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a tricky one. Since it's the readme for the collection, the identical content shows up in Galaxy (related to AWX) and in Automation Hub (related to the controller collection). Since the link is talking about the CLI, it is today still the awx cli (all commands are awx-foo). That said, I think what this section really means is the user has to have awxkit installed to get that awx CLI, so maybe we can avoid it all by changing the link to https://pypi.org/project/awxkit/ ?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@samccann - That is fine in this context. Thanks for reminding me where the AWX kit lives!

awx_collection/README.md Outdated Show resolved Hide resolved
U(https://docs.ansible.com/ansible-tower/latest/html/towerapi/api_ref.html#/Job_Templates/Job_Templates_job_templates_survey_spec_create)
for POST operation payload example.
U(https://developers.redhat.com/api-catalog/api/ansible-automation-controller) and search for 'survey' for information on job template survey creation
and POST operation payload example.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same problem - do the docs for this collection reflect awx or controller as the priority?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's hard to tell, @samccann. I'll need to discuss further with @gundalow about this one.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

After some discussion with @gundalow, I'll point readers to a landing page that has links for them to go to, depending on their situation. Since this page will ultimately go away, we will keep this an open issue (tracked elsewhere) until we are directed to do something different.

tvo318 and others added 3 commits July 19, 2024 13:59
Co-authored-by: Don Naro <dnaro@redhat.com>
Co-authored-by: Don Naro <dnaro@redhat.com>
Co-authored-by: Don Naro <dnaro@redhat.com>
@@ -32,7 +32,7 @@ Installing the `tar.gz` involves no special instructions.
## Running

Non-deprecated modules in this collection have no Python requirements, but
may require the official [AWX CLI](https://docs.ansible.com/ansible-tower/latest/html/towercli/index.html)
may require the official [AWX CLI](https://docs.ansible.com/automation-controller/latest/html/controllercli/index.html)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a tricky one. Since it's the readme for the collection, the identical content shows up in Galaxy (related to AWX) and in Automation Hub (related to the controller collection). Since the link is talking about the CLI, it is today still the awx cli (all commands are awx-foo). That said, I think what this section really means is the user has to have awxkit installed to get that awx CLI, so maybe we can avoid it all by changing the link to https://pypi.org/project/awxkit/ ?

U(https://docs.ansible.com/ansible-tower/latest/html/towerapi/api_ref.html#/Job_Templates/Job_Templates_job_templates_survey_spec_create)
for POST operation payload example.
U(https://developers.redhat.com/api-catalog/api/ansible-automation-controller) and search for 'survey' for information on job template survey creation
and POST operation payload example.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same problem - do the docs for this collection reflect awx or controller as the priority?

@@ -12,7 +12,7 @@
- None
description:
- Returns GET requests from the Automation Platform Controller API. See
U(https://docs.ansible.com/ansible-tower/latest/html/towerapi/index.html) for API usage.
U(https://docs.ansible.com/automation-controller/latest/html/towerapi/) for API usage.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tvo318 and @gundalow Maybe I missed some of the convo here about the awx_collection but I feel like it would be much better to avoid sending folks to docs.ansible.com for any platform / controller content. In fact the linked docs.ansible.com url here basically tells you to go to redhat.com so we might as well give them a more direct url. Or am I missing something?

https://developers.redhat.com/api-catalog/api/ansible-automation-controller

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

https://docs.ansible.com/automation-controller/latest/html/towerapi/ has two links:

The Automation Controller API Guide for Red Hat Ansible Automation Platform has been moved to the Red Hat Developer page.
For the latest community documentation on Read The Docs, refer to AWX API Reference.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@oraNod - I discussed this with @gundalow on our 1:1 and we agree just to merge what we have. The decision to use this link is just a temporary fix. I chose the link on docs.ansible because it gives readers a choice on where to go. We can fix this later with another PR when we have a better solution.

@tvo318 tvo318 merged commit 018f235 into ansible:devel Jul 24, 2024
21 checks passed
ivanilsonaraujojr pushed a commit to ivanilsonaraujojr/awx that referenced this pull request Jul 24, 2024
…15388)

* Replaced all references of downstream docs to upstream docs.

* Update README.md

Co-authored-by: Don Naro <dnaro@redhat.com>

* Update README.md.j2

Co-authored-by: Don Naro <dnaro@redhat.com>

* Update README.md.j2

Co-authored-by: Don Naro <dnaro@redhat.com>

* Incorpor'd review feedback from @oraNod and @samccann

* Updated with agreed link (for now) until further change is needed.

---------

Co-authored-by: Don Naro <dnaro@redhat.com>
@tvo318 tvo318 deleted the removetowerefs branch July 26, 2024 17:21
derekwaters pushed a commit to derekwaters/awx that referenced this pull request Aug 2, 2024
…15388)

* Replaced all references of downstream docs to upstream docs.

* Update README.md

Co-authored-by: Don Naro <dnaro@redhat.com>

* Update README.md.j2

Co-authored-by: Don Naro <dnaro@redhat.com>

* Update README.md.j2

Co-authored-by: Don Naro <dnaro@redhat.com>

* Incorpor'd review feedback from @oraNod and @samccann

* Updated with agreed link (for now) until further change is needed.

---------

Co-authored-by: Don Naro <dnaro@redhat.com>
samccann pushed a commit to samccann/awx that referenced this pull request Aug 28, 2024
…15388)

* Replaced all references of downstream docs to upstream docs.

* Update README.md

Co-authored-by: Don Naro <dnaro@redhat.com>

* Update README.md.j2

Co-authored-by: Don Naro <dnaro@redhat.com>

* Update README.md.j2

Co-authored-by: Don Naro <dnaro@redhat.com>

* Incorpor'd review feedback from @oraNod and @samccann

* Updated with agreed link (for now) until further change is needed.

---------

Co-authored-by: Don Naro <dnaro@redhat.com>
(cherry picked from commit 018f235)
oraNod added a commit that referenced this pull request Aug 29, 2024
* Update  docs replacements to AWX (#15349)

Update replacements to AWX

Signed-off-by: Sandra McCann <samccann@redhat.com>
(cherry picked from commit 9979fc6)

* Remove remnants of controller terms from quickstart docs (#15350)

Remove remnants of controller terms from quickstart

Signed-off-by: Sandra McCann <samccann@redhat.com>
(cherry picked from commit 864a30e)

* Remove references to translated versions of the docs (#15354)

remove references to translated versions of the docs

Signed-off-by: Sandra McCann <samccann@redhat.com>
Co-authored-by: TVo <thavo@redhat.com>
(cherry picked from commit 5f42db6)

* update terminology (#15357)

* update terminology

Replace some instances of Tower with AWX and remove some references to
enterprise left over from the migration of RST content from the
Automation Controller docs.

* Update docs/docsite/rst/userguide/overview.rst

Co-authored-by: TVo <thavo@redhat.com>

---------

Co-authored-by: TVo <thavo@redhat.com>
(cherry picked from commit f1448fc)

* Replaced all references of downstream docs to upstream docs (#15388)

* Replaced all references of downstream docs to upstream docs.

* Update README.md

Co-authored-by: Don Naro <dnaro@redhat.com>

* Update README.md.j2

Co-authored-by: Don Naro <dnaro@redhat.com>

* Update README.md.j2

Co-authored-by: Don Naro <dnaro@redhat.com>

* Incorpor'd review feedback from @oraNod and @samccann

* Updated with agreed link (for now) until further change is needed.

---------

Co-authored-by: Don Naro <dnaro@redhat.com>
(cherry picked from commit 018f235)

* Re-do PR #14685 for alt-text inventories. (#15394)

(cherry picked from commit 6d0c47f)

* Docs: add Communication guide (#15469)

* Docs: add Communication guide

* Update docs/docsite/rst/contributor/communication.rst

Co-authored-by: Don Naro <dnaro@redhat.com>

* Update docs/docsite/rst/contributor/communication.rst

---------

Co-authored-by: Don Naro <dnaro@redhat.com>
(cherry picked from commit 79c1921)

---------

Co-authored-by: Don Naro <dnaro@redhat.com>
Co-authored-by: TVo <thavo@redhat.com>
Co-authored-by: Andrew Klychkov <aaklychkov@mail.ru>
djyasin pushed a commit to djyasin/awx that referenced this pull request Sep 16, 2024
…15388)

* Replaced all references of downstream docs to upstream docs.

* Update README.md

Co-authored-by: Don Naro <dnaro@redhat.com>

* Update README.md.j2

Co-authored-by: Don Naro <dnaro@redhat.com>

* Update README.md.j2

Co-authored-by: Don Naro <dnaro@redhat.com>

* Incorpor'd review feedback from @oraNod and @samccann

* Updated with agreed link (for now) until further change is needed.

---------

Co-authored-by: Don Naro <dnaro@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:awx_collection issues related to the collection for controlling AWX component:docs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants