Repository navigation
📝 Simplify README MethodTable introductions - #2727
Conversation
Co-authored-by: Codex <[email protected]>
There was a problem hiding this comment.
🟢 Ready to approve
The focused documentation cleanup is complete, preserves relevant information, and leaves all referenced links valid.
This review doesn't count toward merge requirements. Sign up for the private preview to control whether Copilot approvals count.
Pull request overview
Simplifies four MethodTable introductions by removing links duplicated in their tables.
Changes:
- Removes redundant inline links.
- Preserves the unique Result Codes caveat after its table.
- Keeps all table links valid and relative.
File summaries
| File | Description |
|---|---|
docs/platforms/anchor-platform/api-reference/platform/README.mdx |
Simplifies the API types introduction. |
docs/data/apis/horizon/api-reference/errors/result-codes/README.mdx |
Simplifies the result-code types introduction. |
docs/data/apis/horizon/api-reference/errors/README.mdx |
Simplifies the error categories introduction while retaining unique guidance. |
docs/data/apis/horizon/api-reference/errors/http-status-codes/README.mdx |
Simplifies the status-code types introduction. |
Review details
- Files reviewed: 4/4 changed files
- Comments generated: 0
- Review effort level: Balanced
We're testing this review assessment. Please use 👍 or 👎 to tell us if it's correct.
Co-authored-by: Codex <[email protected]>
|
this is a nice instinct, but there might be a problem. i don't think the |
|
Good catch That bug is similar to #2624 (comment), and I think it warrants its own issue since these probably need a fix upstream with the embed button. I don't think it blocks this PR, as we should write the Developer Docs for human Developers first. Agents should be able to figure it out from the folder structure in the interim. |
|
🤖 Automated message from the Stellar Triage Bot. Reviewing because this PR is stale (no update in 4+ weeks).
Ready to merge. External-origin change, so a maintainer merges this. |
|
PR Preview: torn down |
* 🔗 Update Anchor Platform repository links Replace the former java-stellar-anchor-sdk URLs with the current stellar/anchor-platform repository location. Co-authored-by: Codex <[email protected]> * wording Redundant page explanation sentence. (You can see the items right there.) * 🔗 Link Stellar Ecosystem Proposals to glossary Co-authored-by: Codex <[email protected]> * 🧹 Remove unused Anchor Platform link definitions Delete obsolete Markdown reference definitions that are no longer used by the overview page. Co-authored-by: Codex <[email protected]> * 🎨 Normalize documentation formatting * 🐛 Fix Anchor Platform front matter Co-authored-by: Codex <[email protected]> * ↩️ Remove README wording change (#2727) Co-authored-by: Codex <[email protected]> * ♻️ Restore unrelated trailing slashes (#2701) Co-authored-by: Codex <[email protected]> --------- Co-authored-by: Codex <[email protected]>
The three Horizon error landing pages and the Anchor Platform API landing page now end their intro with a colon and let the table list the options. The Result Codes note moves below the errors table. Applied by hand: the export had already replaced MethodTable with a plain table, so the merge conflicted on every hunk. Checks: scope 4 files, every upstream text change present, guard clean, mint validate passed, broken-links at baseline 8, all four pages 200.
The description still carried the sentence #2727 shortened in the body. It now names the two APIs and stops there. Checks: mint validate passed, broken-links at baseline 8, page 200.
Port of b10d4d4 to the Mintlify tree. Refs #2727 Co-Authored-By: Claude Opus 5.5 <[email protected]>
* fix: trim Anchor Platform API description (port #2727) The description still carried the sentence #2727 shortened in the body. It now names the two APIs and stops there. Checks: mint validate passed, broken-links at baseline 8, page 200. (cherry picked from commit 276a839) * style: swap SDS folder and home icons, add icon assets From the designer's SDS pass: box-archive now maps to icons-folder and house to icons-home-05 (sds-icons.css and build-sds-icons.mjs). Adds the 12 SDS icons the new style.css rules reference. The other 11 aren't in the build script's map, so it won't regenerate them. Removes icons-archive and icons-home-line, which nothing references now. Checks: mint validate passed, broken-links at baseline 8, both new icons and /docs/build, /docs/data return 200. (cherry picked from commit 3452cd3) * style: apply the designer's SDS restyle Adds the designer's style.css rules (601 lines, nothing removed): SDS colors and icons for callouts, code blocks, the Copy page button, previous/next links, tabs, and the sidebar and table of contents; sidebar anchors pinned to the bottom; footer without a top rule and pinned to the bottom of short pages; styles for the For agents button and panel. Three comments translated from Korean to English. Every url() resolves to a file in the repo. Checks: mint validate passed, broken-links at baseline 8, /style.css and sample pages return 200. (cherry picked from commit 975cbe8) * style: social links at the bottom of the sidebar, footer without socials Per the designer's layout: the sidebar anchors become Blog, Discord, X, and YouTube ("Community" is now "Discord") and style.css pins them to the sidebar bottom. The footer's social icons are removed, so the footer is just the Mintlify line. LinkedIn is no longer linked. Checks: mint validate passed, broken-links at baseline 8, /docs/build 200 with the YouTube anchor, Home tab and all ported nav entries unchanged. (cherry picked from commit 4e1eaa5) * feat: For agents navbar button and panel The navbar's primary button is now "For agents" (#for-agents) and the Developer Hub button is removed. for-agents.js opens the designer's right-side drawer from any #for-agents link, with Raven MCP and Stellar skills setup per tool. Its styles came in with the SDS restyle; the leftover Developer Hub button rule in style.css now matches nothing. Checks: for-agents.js parses (node --check), mint validate passed, broken-links at baseline 8, /for-agents.js and /docs/build/building-with-ai 200, the navbar renders the #for-agents button. (cherry picked from commit e1d29f0) * fix: logo links to developers.stellar.org The header logo pointed at stellar.org. It now goes to the docs home. Checks: mint validate passed, broken-links at baseline 8, /docs/build 200. (cherry picked from commit 2427a7c) * style: drop unused Developer Hub navbar rules * style: remove Home tab from nav * style: move Community from navbar to sidebar links * style: list Community first in sidebar links * style: no active tab on the home page * style: note that style.css targets Mintlify internals Co-Authored-By: Claude Opus 5.5 <[email protected]> * fix: make the For agents panel keyboard accessible Mark the panel as a modal dialog, keep Tab focus inside it while it's open, keep focus on a pill after switching tools or modes, and return focus to the button that opened it on close. Co-Authored-By: Claude Opus 5.5 <[email protected]> * fix: log For agents copy failures instead of leaving them unhandled Co-Authored-By: Claude Opus 5.5 <[email protected]> --------- Co-authored-by: Elliot <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]>
) Replaces the Docusaurus site with Mintlify's converted tree (base bcec501), with tooling trimmed to prettier, husky, redocly, the OpenRPC build, and the mint CLI. Commits that landed on main after bcec501 were ported by hand. Ported: Refs #2448 Refs #2671 Refs #2672 Refs #2727 Refs #2827 Refs #2828 Refs #2837 Refs #2856 Refs #2857 Refs #2869 Refs #2871 Refs #2878 Refs #2880 Refs #2881 Refs #2885 Refs #2886 Refs #2890 Refs #2892 Refs #2893 Refs #2895 Refs #2900 Refs #2901 Refs #2902 Refs #2903 Refs #2905 Refs #2912 Refs #2913 Refs #2915 Refs #2918 Refs #2922 Merged into the branch: Refs #2936 Refs #2937 Refs #2938 Refs #2940 Co-authored-by: alexistabak-cpu <[email protected]> Co-authored-by: Emir Ayral <[email protected]> Co-authored-by: John Wooten <[email protected]> Co-authored-by: Kaan Kacar <[email protected]> Co-authored-by: Leigh <[email protected]> Co-authored-by: maz <[email protected]> Co-authored-by: Michael Lip <[email protected]> Co-authored-by: Scopuly <[email protected]> Co-authored-by: stellar-triage-bot[bot] <333411864+stellar-triage-bot[bot]@users.noreply.github.com> Co-authored-by: Steph <[email protected]> Co-authored-by: urvisavla <[email protected]> Co-authored-by: water-k-max <[email protected]> Co-authored-by: Wlademyr Mendes <[email protected]> Co-Authored-by: Claude Opus 5.5 <[email protected]>

From #2672 (comment)
There are a few (mostly API) pages that introduce MethodTables which contain functions. In introducing these lists of cards, they repeat the exact information and links in the actual table. This is redundant.