Skip to content

Fix inter-readme anchor links regarding integrations #546

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
merged 1 commit into from
Feb 20, 2024

Conversation

valscion
Copy link
Contributor

@valscion valscion commented Feb 9, 2024

The links to refer to how to use datadog_integration are pointing to a repository+branch combination that no longer works.

I spent some time figuring out how these integrations are supposed to be setup and these anchor links being broken took a while longer 😅

You can see the rendered README.md here: https://github.com/valscion/ansible-datadog/tree/patch-1

@valscion valscion requested review from a team as code owners February 9, 2024 11:28
Comment on lines 685 to 686
[23]: https://docs.datadoghq.com/tracing/trace_collection/library_injection_local/?tab=agentandappinseparatecontainers#configure-docker-injection
[24]: https://docs.datadog.com/tracing/trace_collection/library_injection_local
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I can change these numbers to [21] and [22] respectively if you'd like to avoid having empty slots in the numbering here. I first opted to do a smaller changeset to make this PR easier to review but let me know if you'd like me to change these as well ☺️

@@ -101,7 +101,7 @@ The API key is required and its absence causes the role to fail. If you want to

To configure a Datadog integration (check), add an entry to the `datadog_checks` section. The first level key is the name of the check, and the value is the YAML payload to write the configuration file. Examples are provided below.

To install or remove an integration, refer to the `datadog_integrations` [paragraph][22]
To install or remove an integration, refer to the `datadog_integration` [paragraph](#integration-installation)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This approach of using a [some text](#anchor-name) link has been used once in the README.md already:

**Note**: This configuration fails on Linux hosts. Only use it if the playbook is specific to Windows hosts. Otherwise, use the [inventory file method](#inventory-file).

So I figured this one could also be accepted.

@aliciascott
Copy link
Contributor

Thank you for the contribution @valscion , we'll have someone from the Documentation and ansible teams review this further.

@bkabrda
Copy link
Contributor

bkabrda commented Feb 20, 2024

LGTM, I'm merging. Thanks a lot for the PR @valscion

@bkabrda bkabrda merged commit fc246bf into DataDog:main Feb 20, 2024
@valscion valscion deleted the patch-1 branch February 20, 2024 13:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants