Skip to content

Drop the language from guide page names - #3113

Merged
ElliotFriend merged 1 commit into
mainfrom
docs-agent/1770-renames
Nov 12, 2026
Merged

ElliotFriend merged 1 commit into
mainfrom
docs-agent/1770-renames

Conversation

@stellar-doxie

@stellar-doxie stellar-doxie Bot commented Nov 11, 2026

Copy link
Copy Markdown
Contributor

🤖 Automated message from the Stellar Triage Bot.

Refs #1770

Working this because @ElliotFriend approved the plan in #1770. This is PR 1 of the stack: renames only, no new code. The JavaScript PR and the Python PR build on this branch.

Renames (old path redirects to the new one):

Old New
archival/create-restoration-footprint-js archival/create-restoration-footprint
archival/extend-persistent-entry-js archival/extend-persistent-entry
archival/restore-contract-js archival/restore-contract
archival/restore-data-js archival/restore-data
transactions/submit-transaction-wait-js transactions/submit-transaction-wait
rpc/generate-ledger-keys-python rpc/generate-ledger-keys
rpc/retrieve-contract-code-js and rpc/retrieve-contract-code-python rpc/retrieve-contract-code
  • The two retrieve-contract-code pages had the same prose and JSON. The new page keeps both code examples as JavaScript and Python tabs. The code is unchanged.
  • The titles drop "using the JavaScript SDK" or "using the Python SDK", since each page gets more languages next.
  • docs.json navigation points to the new paths.
  • config/redirects.json: each old path redirects to the new path. The old .html entries now point straight to the new paths, so there are no redirect chains.
  • Links from other pages now use the new paths, as you asked: 15 links in 13 files. The two links in extend-contract-wasm.mdx became one link to the merged page. No link to an old path is left.

Overlaps #2993 on docs.json, in a different section.

pnpm check passes. pnpm check:links passes the redirect check and reports only the known broken links in .mintlify/skills/.

@mintlify

mintlify Bot commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated
stellar-docs 🟢 Ready View Preview Nov 12, 2026, 6:22 PM

@stellar-doxie

stellar-doxie Bot commented Nov 11, 2026

Copy link
Copy Markdown
Contributor Author

🤖 Automated message from the Stellar Triage Bot.

Reviewing because this is my own PR for #1770.

Verified on the preview: the 7 new pages render, and the old paths and .html paths redirect (308) to them. No link to an old path is left in the repo. The merged retrieve-contract-code page keeps both originals' code unchanged, in JavaScript then Python tabs. All checks pass. Code is unchanged, so no SDK version check applies. Merge this first: #3114 and #3115 build on it. Ready to merge.

@ElliotFriend
ElliotFriend added this pull request to stack #3118 November 12, 2026 16:50
@ElliotFriend

Copy link
Copy Markdown
Contributor

Please rebase the whole stack (#3113, #3114, #3115) onto current main and force-push all three branches. main gained 7 commits since you branched, including #3095 (broken links now fail CI) and docs.json changes.

  • Rebase, don't merge main in, so stack #3118 stays linear.
  • Rerun pnpm check and pnpm check:links on each branch and report any conflicts.
  • Do this before you cut Go A, so the Go branches start from the rebased 1770-python.

@stellar-doxie

stellar-doxie Bot commented Nov 12, 2026

Copy link
Copy Markdown
Contributor Author

🤖 Automated message from the Stellar Triage Bot.

Back on this because @ElliotFriend replied.

I can't do the rebase: this bot never force-pushes. What I checked on this branch:

  • The one commit applies to current main with no conflicts.
  • After it, no link to an old path is left, including in main's 7 new commits.
  • Not run: pnpm check and pnpm check:links (pnpm is not on this runner). CI runs them on the next push.

Decision needed: should I merge main into each branch instead (the stack stops being linear), or will a maintainer rebase and force-push? @kaankacar @ElliotFriend

@stellar-doxie stellar-doxie Bot added bot:needs-decision Bot needs a maintainer decision (listing, scope, policy) and removed bot:ready-to-merge Bot verified and approved; waiting for a maintainer to merge labels Nov 12, 2026
@ElliotFriend

Copy link
Copy Markdown
Contributor

Rebased and force-pushed all three branches onto main myself. Python's merge commit is gone: the JS fix now sits on 1770-javascript only. Fetch before you cut Go A, and base it on docs-agent/1770-python at 9ccf056c.

@stellar-doxie

stellar-doxie Bot commented Nov 12, 2026

Copy link
Copy Markdown
Contributor Author

🤖 Automated message from the Stellar Triage Bot.

Back on this because @ElliotFriend rebased the branch.

Thanks. The rebased commit has the same patch as the one I verified, now on current main. All checks pass, including the new broken-link gate. The preview serves the 7 pages, and old paths redirect (308). Code is unchanged, so no SDK version check applies. Merge this first: #3114 and #3115 build on it. Noted for the Go PRs: base Go A on docs-agent/1770-python at 9ccf056c. Ready to merge.

@stellar-doxie stellar-doxie Bot added bot:ready-to-merge Bot verified and approved; waiting for a maintainer to merge and removed bot:needs-decision Bot needs a maintainer decision (listing, scope, policy) labels Nov 12, 2026
@ElliotFriend
ElliotFriend merged commit 9583694 into main Nov 12, 2026
8 checks passed
@ElliotFriend
ElliotFriend deleted the docs-agent/1770-renames branch November 12, 2026 18:35
ElliotFriend added a commit that referenced this pull request Nov 12, 2026
also needs an upstream fix on the CLI repo.

Refs #3113
ElliotFriend added a commit that referenced this pull request Nov 13, 2026
)

* sync CLI cookbook pages to the docs

* markdown nits in CLI manpage

* mark getting started commands for shell syntax highlighting

* fix some spacing issues on cli plugins list generator

* re-generate cli plugins list page

* fix links for pages that have moved.

also needs an upstream fix on the CLI repo.

Refs #3113

* remove `.mdx` extensions from link definitions

This branch was successfully deployed

1 active deployment
staging — 8a9d9746 Deployed Nov 12, 2026 by mintlify[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bot:ready-to-merge Bot verified and approved; waiting for a maintainer to merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant