Skip to content

Add fixes to doctest and fix incorrect link#3443

Merged
vfdev-5 merged 1 commit intopytorch:masterfrom
goanpeca:enh/doc-fixes
Sep 4, 2025
Merged

Add fixes to doctest and fix incorrect link#3443
vfdev-5 merged 1 commit intopytorch:masterfrom
goanpeca:enh/doc-fixes

Conversation

@goanpeca
Copy link
Copy Markdown
Collaborator

@goanpeca goanpeca commented Sep 4, 2025

Add fixes to doctest and fix incorrect link

Copilot AI review requested due to automatic review settings September 4, 2025 16:02
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR fixes documentation-related issues by updating doctest output formatting and correcting an outdated URL reference. The changes make the documentation tests more robust and ensure external links point to the correct locations.

  • Update doctest outputs to use ellipsis notation for floating-point values
  • Fix incorrect wandb documentation URL
  • Configure doctest to handle ellipsis and whitespace normalization

Reviewed Changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

File Description
ignite/metrics/maximum_mean_discrepancy.py Updated doctest output to use ellipsis for floating-point precision
ignite/metrics/js_divergence.py Updated doctest output to use ellipsis for floating-point precision
ignite/handlers/wandb_logger.py Fixed outdated wandb documentation URL
docs/source/conf.py Added doctest configuration for ellipsis and whitespace handling

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@github-actions github-actions bot added docs module: metrics Metrics module module: handlers Core Handlers module labels Sep 4, 2025
Copy link
Copy Markdown
Collaborator

@vfdev-5 vfdev-5 left a comment

Choose a reason for hiding this comment

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

Thanks Gonzalo!

@vfdev-5 vfdev-5 merged commit 400973d into pytorch:master Sep 4, 2025
8 of 22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs module: handlers Core Handlers module module: metrics Metrics module

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants