docs: escape tcp daemon address in docstring to prevent broken link by reginaldalfret · Pull Request #494 · aws/aws-xray-sdk-python · GitHub
Skip to content

docs: escape tcp daemon address in docstring to prevent broken link - #494

Merged
vastin merged 2 commits into
aws:masterfrom
reginaldalfret:docs/issue-286-broken-doc-link
Oct 16, 2026
Merged

vastin merged 2 commits into
aws:masterfrom
reginaldalfret:docs/issue-286-broken-doc-link

Conversation

@reginaldalfret

Copy link
Copy Markdown
Contributor

Issue #, if available:
Fixes #286

Description of changes:
In �ws_xray_sdk/core/daemon_config.py, wrap the daemon address examples in inline code literals (`) in the DaemonConfig docstring. This prevents Sphinx from interpreting 'tcp:127.0.0.1:2000' as an external URL scheme when building HTML documentation.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Wrap daemon address examples in inline code literals (`) in DaemonConfig
class docstring so Sphinx does not treat the tcp: notation as an external
hyperlink scheme.

Fixes aws#286

Signed-off-by: reginaldalfret <reginaldalfret@gmail.com>
@reginaldalfret
reginaldalfret requested a review from a team as a code owner October 3, 2026 03:31

@vastin vastin left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM. Thanks for the fix!

@vastin
vastin merged commit c2fad1c into aws:master Oct 16, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Broken link in Python SDK docs (aws_xray_sdk.core package)

2 participants