Skip to content

🔗 SDF to Actual Repo Links - #2447

Merged
ElliotFriend merged 8 commits into
stellar:mainfrom
john-stellar:723-pt-14
Jul 16, 2026
Merged

ElliotFriend merged 8 commits into
stellar:mainfrom
john-stellar:723-pt-14

Conversation

@JFWooten4

Copy link
Copy Markdown
Contributor

This continues the link work from #2446 by updating the outdated SDF redirects of various pages to the redirected source changes

Copilot AI review requested due to automatic review settings May 13, 2026 02:03

Copilot AI 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.

Pull request overview

This PR continues the protocol-link cleanup work by replacing legacy stellar.org/protocol/... redirect URLs with direct links to the canonical specs in stellar/stellar-protocol (GitHub), across Anchor Platform schemas/API reference content and a few related docs.

Changes:

  • Updated SEP-12 links in Anchor Platform OpenRPC/OpenAPI schema sources and bundled outputs.
  • Updated SEP-10/SEP-24 links in the Stellar Disbursement Platform wallet readiness guide.
  • Updated various SEP/CAP references in learning/build/indexer docs to point to stellar/stellar-protocol GitHub files.

Reviewed changes

Copilot reviewed 13 out of 13 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
openrpc/src/anchor-platform/schemas/customer.json Updates embedded SEP-12 link in the OpenRPC schema fragment.
openapi/anchor-platform/schemas.yaml Updates SEP-12 link in OpenAPI schema description block.
openapi/anchor-platform/bundled-platform.yaml Updates SEP-12 link in the bundled OpenAPI output.
openapi/anchor-platform/bundled-callbacks.yaml Updates SEP-12 link in the bundled callbacks OpenAPI output.
docs/platforms/stellar-disbursement-platform/admin-guide/making-your-wallet-sdp-ready.mdx Updates SEP-10/SEP-24 reference links to GitHub spec sources.
docs/platforms/anchor-platform/api-reference/platform/transactions/get-transactions.api.mdx Updates SEP-12 link inside the rendered API schema content.
docs/platforms/anchor-platform/api-reference/platform/transactions/get-transaction.api.mdx Updates SEP-12 link inside the rendered API schema content.
docs/platforms/anchor-platform/api-reference/platform/rpc/anchor-platform.openrpc.json Updates SEP-12 links in the published OpenRPC JSON.
docs/platforms/anchor-platform/api-reference/callbacks/post-event.api.mdx Updates SEP-12 link inside the rendered callback schema content.
docs/learn/fundamentals/stellar-data-structures/events.mdx Updates SEP-41 references to GitHub spec section.
docs/data/indexers/build-your-own/processors/token-transfer-processor/README.mdx Replaces CAP/SEP references with direct GitHub spec links and simplifies references section.
docs/build/guides/transactions/pooled-accounts-muxed-accounts-memos.mdx Updates CAP-27 / SEP-23 references to GitHub spec sources.
docs/build/apps/example-application-tutorial/anchor-integration/sep6.mdx Updates SEP-6 spec link to GitHub source section.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@ElliotFriend

Copy link
Copy Markdown
Contributor

not sure what you mean by "outdated SDF redirects." they seem to be working, from what i can tell. do you have an example of some that don't?

@JFWooten4

Copy link
Copy Markdown
Contributor Author

https://stellar.org/protocol/sep-6 is an old form that just immediately redirects to https://github.com/stellar/stellar-protocol/blob/master/ecosystem/sep-0006.md.

This PR changes to the latter style to avoid a needless redirect, since it's not like there's an SDF blog post for each SEP or CAP.

image

So I do agree that they work, but it's like using a Bit.ly link rather than the direct source reference.

@ElliotFriend

Copy link
Copy Markdown
Contributor

yeah, fair point. even though they work, it's probably better to link more directly to the "source of truth" instead. it's a nice shortcut if you know it, but it's probably better in the docs to use the full github URL

@ElliotFriend ElliotFriend 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.

since we're touching some openapi and openrpc specs, can you re-generate the docs from them? it'll be pnpm api and pnpm rpcspec:build (optionally, pnpm rpcspec:validate will build and then validate the rpc specs).

other than that, these changes look good to me!

@ElliotFriend ElliotFriend 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.

thank you!!

@ElliotFriend
ElliotFriend merged commit 9e91494 into stellar:main Jul 16, 2026
5 checks passed
@JFWooten4
JFWooten4 deleted the 723-pt-14 branch July 17, 2026 09:18
kaankacar pushed a commit that referenced this pull request Nov 5, 2026
* fix(openrpc): correct method name, event topic schema, and contractEventsXdr link

Rebuild the specs, which also picks up the SEP-12 link change from #2447
in the Anchor Platform spec.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* feat(openrpc): generate RPC method pages from the specs

Add `pnpm rpcspec:docs`, which rewrites the generated part of each method
page, and `pnpm rpcspec:check`, which CI runs to catch stale specs or pages.
Regenerating fixes the Anchor Platform page descriptions and adds item
descriptions to array fields.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
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.

3 participants