Skip to content

Update rst spec links to markdown #1741

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

Open
wants to merge 1 commit into
base: v2.x
Choose a base branch
from

Conversation

alcaeus
Copy link
Member

@alcaeus alcaeus commented Aug 8, 2025

I noticed that many spec links were still pointing to the RST files, which breaks anchors. This PR changes all links to markdown, except for the ones that reference a specific commit (as the markdown file probably doesn't exist there). We can consider changing those to point to the latest version separately.

@alcaeus alcaeus requested review from jmikola and Copilot August 8, 2025 13:02
@alcaeus alcaeus requested a review from a team as a code owner August 8, 2025 13:02
Copy link
Contributor

@Copilot 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

Updates documentation links throughout the codebase to point to markdown files instead of RST files in the MongoDB specifications repository. This ensures that anchor links work correctly and maintains consistency with the current documentation format.

  • Changed file extensions from .rst to .md in specification URLs
  • Updated anchor links to use markdown format instead of RST format
  • Maintained links that reference specific commits unchanged

Reviewed Changes

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

Show a summary per file
File Description
tools/connect.php Updated SRV records specification link to markdown
tests/UnifiedSpecTests/UnifiedTestRunner.php Updated unified test format specification links to markdown
tests/UnifiedSpecTests/UnifiedTestCase.php Updated unified test format specification link to markdown
tests/UnifiedSpecTests/UnifiedSpecTest.php Updated unified test format specification link to markdown
tests/UnifiedSpecTests/EventObserver.php Updated command monitoring specification links to markdown
tests/SpecTests/TransactionsSpecTest.php Updated transactions specification link to markdown
tests/SpecTests/SearchIndexSpecTest.php Updated search index management specification links to markdown
tests/SpecTests/ResultExpectation.php Updated transactions test format specification link to markdown
tests/SpecTests/FunctionalTestCase.php Updated transactions specification link to markdown
tests/SpecTests/ClientSideEncryptionSpecTest.php Updated client-side encryption specification links to markdown
src/functions.php Updated client-side encryption and CRUD specification links to markdown
src/Operation/Watch.php Updated change streams specification links to markdown
src/Operation/DropEncryptedCollection.php Updated client-side encryption specification link to markdown
src/Operation/CreateEncryptedCollection.php Updated client-side encryption specification links to markdown
src/Operation/CountDocuments.php Updated CRUD specification link to markdown
src/Model/SearchIndexInput.php Updated index management specification link to markdown
src/Model/IndexInput.php Updated enumerate indexes specification link to markdown
src/Model/IndexInfo.php Updated enumerate indexes specification links to markdown
src/Model/CollectionInfo.php Updated enumerate collections specification link to markdown
src/Model/ChangeStreamIterator.php Updated change streams specification link to markdown
src/Database.php Updated client-side encryption specification link to markdown
src/ChangeStream.php Updated change streams specification link to markdown
benchmark/src/DriverBench/MultiDocBench.php Updated benchmarking specification link to markdown
CONTRIBUTING.md Updated specification links in environment variable documentation to markdown

@codecov-commenter
Copy link

codecov-commenter commented Aug 8, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 87.55%. Comparing base (888d383) to head (482eaa0).
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff            @@
##               v2.x    #1741   +/-   ##
=========================================
  Coverage     87.55%   87.55%           
  Complexity     3184     3184           
=========================================
  Files           424      424           
  Lines          6340     6340           
=========================================
  Hits           5551     5551           
  Misses          789      789           
Flag Coverage Δ
6.0-replica_set 85.66% <ø> (ø)
6.0-server 81.67% <ø> (ø)
6.0-sharded_cluster 85.25% <ø> (ø)
8.0-replica_set ?
8.0-server 82.55% <ø> (ø)
8.0-sharded_cluster 87.14% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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.

2 participants